Managing Serviceguard 13th Edition, February 2007

Cluster and Package Maintenance
Reconfiguring a Cluster
Chapter 7328
Changes to the package configuration are described in a later section.
You can use Serviceguard Manager to add nodes to a running cluster, or
use Serviceguard commands as shown below.
Using Serviceguard Commands to Add Nodes to the
Configuration While the Cluster is Running
Use the following procedure to add a node with HP-UX commands. For
this example, nodes ftsys8 and ftsys9 are already configured in a running
cluster named cluster1, and you are adding node ftsys10.
1. Use the following command to store a current copy of the existing
cluster configuration in a temporary file:
# cmgetconf -c cluster1 temp.ascii
2. Specify a new set of nodes to be configured and generate a template
of the new configuration. Specify the node name (39 bytes or less)
without its full domain name; for example, specify ftsys8 and not
ftsys8.cup.hp.com:
# cmquerycl -C clconfig.ascii -c cluster1 \
-n ftsys8 -n ftsys9 -n ftsys10
3. Edit the file 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 desired, set the
AUTOSTART_CMCLD parameter to 1 in the /etc/rc.config.d/cmcluster
file to enable the new node to join the cluster automatically each time it
reboots.