It isn't possible to change the tokens on a node once it is already part of the cluster. Cassandra won't allow you to do it because it will make the data already on disk unreadable. You'll need to either configure new nodes or add a new DC. I've answered an identical question in https://community.datastax.com/questions/12213/ where I've provided steps for the 2 options. I hope to draft a runbook and get it published on the Apache website in the coming days. Cheers!
- Migrating Cassandra from 3.11.11 to 4.0.0 vs num_tokens Jean Tremblay
- Re: Migrating Cassandra from 3.11.11 to 4.0.0 vs num_t... Erick Ramirez
- Re: Migrating Cassandra from 3.11.11 to 4.0.0 vs n... Jean Tremblay
- Re: Migrating Cassandra from 3.11.11 to 4.0.0 ... Anthony Grasso
- Re: Migrating Cassandra from 3.11.11 to 4.0.0 vs n... Elliott Sims