Changing the configuration of Redhat Cluster Manager
The Redhat cluster manager uses a cluster configuration system (man ccs) which can be managed by the ccs_tool tool.
To change the configuration file /etc/cluster/cluster.conf you have to follow the steps outlined below on the first node of your cluster:
- backup current cluster.conf
- copy /etc/cluster/cluster.conf to say /tmp/cluster.conf
- make the necessary changes to /tmp/cluster.conf
- Change also the config_version attribute of the cluster tag at line 2 increasing the value by 1.
- run ccs_tool with the update option: ccs_tool update /tmp/cluster.conf
- if you’re using cman then run: cman_tool version -r <new config version>
If you don’t do item 5. and you’re using cman then your nodes will not be able to rejoin the cluster. To recover do the following:
- On the first node run cman_tool version -r <new config version>.
- On the other nodes restart the cman service.
- Restart ccsd
- Start rgmanager
Categories: Linux