Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5 173
cmquerycl Options
Speeding up the Process
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. This is
the default when you use cmquerycl with the -C option.
(Do not use -w local if you need to discover nodes and subnets for a
cross-subnet configuration; see “Full Network Probing”.)
-w none skips network querying. If you have recently checked the
networks, this option will save time.
Full Network Probing
-w full lets you specify full network probing, in which actual
connectivity is verified among all LAN interfaces on all nodes in the
cluster, whether or not they are all on the same subnet.
NOTE This option must be used to discover actual or potential nodes and
subnets in a cross-subnet configuration. See “Obtaining Cross-Subnet
Information” on page 175.
Specifying a Lock LUN
A cluster lock LUN or quorum server is required for two-node clusters. If
you will be using a lock LUN, be sure to specify the -L lock_lun_device
option with the cmquerycl command. If the name of the device is the
same on all nodes, enter the option before the node names, as in the
following example:
cmquerycl -v -L /dev/cciss/c0d0p1 -n lp01 -n lp02 \
-C $SGCONF/lpcluster.config