Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5 179
Configuring the Cluster
This section describes how to define the basic cluster configuration. This
must be done on a system that is not part of a Serviceguard cluster (that
is, on which Serviceguard is installed but not configured). You can do this
in Serviceguard Manager, or from the command line as described below.
Using Serviceguard Commands to Configure the
Cluster
Use the cmquerycl command to specify a set of nodes to be included in
the cluster and to generate a template for the cluster configuration file.
IMPORTANT See the entry for NODE_NAME under “Cluster Configuration Parameters”
on page 106 for important information about restrictions on the node
name.
Here is an example of the command (enter it all one line):
cmquerycl -v -C $SGCONF/clust1.config -n ftsys9 -n ftsys10
NOTE In a larger or more complex cluster with many nodes, networks or disks,
the cmquerycl command may take several minutes to complete. To speed
up the configuration process, you can direct the command to return
selected information only by using the -k and -w options:
-k eliminates some disk probing, and does not return information about
potential cluster lock volume groups and lock physical volumes.
-w local lets you specify local network probing, in which LAN
connectivity is verified between interfaces within each node only.
-w full lets you specify full network probing, in which actual
connectivity is verified among all LAN interfaces on all nodes in the
cluster. This is the default.
-w none skips network querying. If you have recently checked the
networks. this option will save time.