Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Cluster and Package Maintenance
Reconfiguring a Running Cluster
Chapter 7250
Deleting Nodes from the Configuration While the
Cluster is Running
Use the following procedure to delete a node. For this example, nodes
ftsys8, ftsys9 and ftsys10 are already configured in a running cluster
named cluster1, and you are deleting node ftsys10.
1. Halt the node, which you are planning to remove by using the
following command:
# cmhaltnode -f ftsys10
2. Use the following command to store a current copy of the existing
cluster configuration in a temporary file:
# cmgetconf -c cluster1 temp.ascii
3. 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
4. Edit the file clconfig.ascii to check the information about the
nodes that remain in the cluster.
5. Verify the new configuration:
# cmcheckconf -C clconfig.ascii
6. Apply the changes to the configuration and send the new binary
configuration file to all cluster nodes:
# cmapplyconf -C clconfig.ascii
Use cmrunnode to start the new node, and, if desired, set the
AUTOSTART_CMCLD parameter to 1 in the $SGAUTOSTART file to enable the
new node to join the cluster automatically each time it reboots.