Two methods for replacing a node with a new node, such as when updating to newer
hardware or performing proactive maintenance.
You must prepare and start the replacement node, integrate it into the cluster, and
then decommission the old node.
Procedure
-
Prepare and start the replacement node, as described in Adding nodes to an
existing cluster.
-
Confirm that the replacement node is alive:
Tarball and Installer No-Services path: installation_location/resources/cassandra/bin
The status should show:
- nodetool ring: Up
- nodetool status: UN
-
Note the Host ID of the original node; it is used
in the next step.
-
Using the Host ID of the original node, decommission the original node from the
cluster using the nodetool decommission
command.
-
Run nodetool cleanup on all the other nodes
in the same datacenter.