Once in a while, a dead node needs to be replaced. This means you just wanted an exact replacement instead of just removal. Here are the steps:
cassandra.yamlappropriately. Similar to the way we did when adding a new node. (Refer to the Adding nodes to a cluster section in this chapter.)
nodetool repairfor each keyspace for integrity.
nodetool removetokenfor the old node.
Let us see this in action. The example ...