Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5172
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.
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 110 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
This creates a template file, by default
/etc/cmcluster/clust1.config. In this output file, keywords are
separated from definitions by white space. Comments are permitted, and
must be preceded by a pound sign (#) in the far left column.
NOTE HP strongly recommends that you modify the file so as to send heartbeat
over all possible networks.
The manpage for the cmquerycl command further explains the
parameters that appear in this file. Many are also described in
Chapter 4, “Planning and Documenting an HA Cluster,” on page 93.
Modify your /etc/cmcluster/clust1.config file as needed.