Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5 171
The network interface device files specified are valid LAN device
files.
Other configuration parameters for the cluster and packages are
valid.
If the cluster is online or the cmcheckconf command also verifies that all
the conditions for the specific change in configuration have been met.
Cluster Lock Configuration Messages
The cmquerycl, cmcheckconf and cmapplyconf commands will return
errors if the cluster lock is not correctly configured. If there is no cluster
lock in a cluster with two nodes, the following message is displayed in the
ASCII configuration file:
# Warning: Neither a quorum server nor a lock lun was
specificed.
# A Quorum Server or a lock lun is required for clusters of
only two nodes.
If you attempt to configure both a quorum server and a lock LUN, the
following message appears on standard output when issuing the
cmcheckconf or cmapplyconf command:
Duplicate cluster lock, line 55. Quorum Server already specified.
Distributing the Binary Configuration File
After specifying all cluster parameters, you use the cmapplyconf
command to apply the configuration. This action distributes the binary
configuration file to all the nodes in the cluster. We recommend doing
this separately
before
you configure packages (described in the next
chapter). In this way, you can verify the quorum server, heartbeat
networks, and other cluster-level operations by using the cmviewcl
command on the running cluster. Before distributing the configuration,
ensure that your security files permit copying among the cluster nodes.
See “Preparing Your Systems” at the beginning of this chapter.
The following command distributes the binary configuration file:
# cmapplyconf -v -C $SGCONF/clust1.config