Thursday, April 9, 2015

Cluster Name Change



Cluster name change

Follow these steps to update the name of the cluster on a single node:
Step 1 - While the node is up, update the cluster name in the database as follows:
cqlsh> UPDATE system.local SET cluster_name = 'ITF Cluster' where key='local';
NOTE: If there are multiple nodes, remember to perform this step on each node as this only updates the node's local system table.
Step 2 - Update the value of cluster_name: in cassandra.yaml.
Step 3 - Prepare for a clean shutdown:
$ nodetool flush
$ nodetool drain
Step 4 - Restart DSE.
Step 5 - If using OpsCenter, restart opscenterd on the OpsCenter server for the name change to be recognised.