Home > Linux > Changing the configuration of Redhat Cluster Manager

Changing the configuration of Redhat Cluster Manager

August 20th, 2009 Leave a comment Go to comments

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:

  1. backup current cluster.conf
  2. copy /etc/cluster/cluster.conf to say /tmp/cluster.conf
  3. make the necessary changes to /tmp/cluster.conf
    1. Change also the config_version attribute of the cluster tag at line 2 increasing the value by 1.
  4. run ccs_tool with the update option:  ccs_tool update /tmp/cluster.conf
  5. 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:

  1. On the first node run cman_tool version -r <new config version>.
  2. On the other nodes restart the cman service.
  3. Restart ccsd
  4. Start rgmanager
Categories: Linux
  1. No comments yet.
  1. No trackbacks yet.