Adding a node and then decommissioning the old node
You must prepare and start the replacement node, integrate it into the cluster, and then decommission the old node:
-
Prepare and start the replacement node, as described in Adding nodes to an existing cluster.
If not using vnodes, see Adding single-token nodes to a cluster.
You must install the same version (major, minor, and patch) of DSE on all nodes in the cluster.
-
Confirm that the replacement node is in
UN(Up/Normal) status and state:-
Run
nodetool ringif not using vnodes. -
Run
nodetool statusif using vnodes.
-
-
Note the
Host IDof the original node, which is output by thenodetool ringornodetool statuscommand. -
Using the original node’s
Host IDto decommission the original node from the cluster using thenodetool decommissioncommand. -
Run
nodetool cleanupon all the other nodes in the same datacenter.Failure to run
nodetool cleanupafter adding a node may result in data inconsistencies including resurrection of previously deleted data.