Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Cluster and Package Maintenance
Reconfiguring a Cluster
Chapter 7 255
NOTE If you want to remove a node from the cluster, run the cmapplyconf
command from another node in the same cluster. If you try to issue the
command on the node you want removed, you will get an error message.
Step 1. Use the following command to store a current copy of the existing cluster
configuration in a temporary file:
cmgetconf -c cluster1 temp.ascii
Step 2. Specify the new set of nodes to be configured (omitting ftsys10) and
generate a template of the new configuration:
cmquerycl -C clconfig.ascii -c cluster1 -n ftsys8 -n ftsys9
Step 3. Edit the file clconfig.ascii to check the information about the nodes
that remain in the cluster.
Step 4. Halt the node you are going to remove (ftsys10 in this example):
cmhaltnode -f -v ftsys10
Step 5. Verify the new configuration:
cmcheckconf -C clconfig.ascii
Step 6. From ftsys8 or ftsys9, apply the changes to the configuration and
distribute the new binary configuration file to all cluster nodes.:
cmapplyconf -C clconfig.ascii
NOTE If you are trying to remove an unreachable node on which many
packages are configured to run, you may see the following message:
The configuration change is too large to process while the
cluster is running.
Split the configuration change into multiple requests or halt
the cluster.
In this situation, you must halt the cluster to remove the node.