Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Cluster and Package Maintenance
Reconfiguring a Cluster
Chapter 7254
1. Use the following command to store a current copy of the existing
cluster configuration in a temporary file in case you need to revert to
it:
cmgetconf -C temp.ascii
2. Specify a new set of nodes to be configured and generate a template
of the new configuration:
cmquerycl -C clconfig.ascii -c cluster1 \
-n ftsys8 -n ftsys9 -n ftsys10
3. Edit clconfig.ascii to check the information about the new node.
4. Verify the new configuration:
cmcheckconf -C clconfig.ascii
5. 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 you so decide, set the
AUTOSTART_CMCLD parameter to 1 in the $SGAUTOSTART file (see
“Understanding the Location of Serviceguard Files” on page 140) to
enable the new node to join the cluster automatically each time it
reboots.
Removing Nodes from the Cluster while the Cluster Is Running
You can use Serviceguard Manager to delete nodes, or Serviceguard
commands as shown below. The following restrictions apply:
The node must be halted. See “Removing Nodes from Participation in
a Running Cluster” on page 245.
If the node you want to delete is unreachable (disconnected from the
LAN, for example), you can delete the node only if there are no
packages which specify the unreachable node. If there are packages
that depend on the unreachable node, halt the cluster; see “Halting
the Entire Cluster” on page 246.
Use the following procedure to delete a node with Serviceguard
commands. In this example, nodes ftsys8, ftsys9 and ftsys10 are
already configured in a running cluster named cluster1, and you are
deleting node ftsys10.