Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5162
Configuring 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.
The following is an example of the command as issued from node ftsys9:
# cmquerycl -v -C $SGCONF/clust1.config \
-n ftsys9 -n ftsys10 -q lp-qs
The example creates an ASCII template file in the default cluster
configuration directory $SGCONF. The ASCII file is partially filled in with
the names and characteristics of cluster components on the two nodes
ftsys9
and
ftsys10
. The use of the -q option lets you specify the quorum
server host name, which will be included as the value of the QS_HOST
parameter in the ASCII file.
Edit the filled-in cluster characteristics as needed to define the desired
cluster. It is strongly recommended that you edit the file to send
heartbeat over all possible networks, as shown in the following example.
NOTE In a larger or more complex configuration with many nodes and
networks connected to the cluster, the cmquerycl command may require
several minutes to complete. In order to speed up the configuration
process, you can direct the command to return selected information only
by using the -w option:
-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.For complete details, refer to the man page on cmquerycl.