Managing HP Serviceguard A.11.20.10 for Linux, December 2012

# 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.
5.2.11 Distributing the Binary Configuration File
After specifying all cluster parameters, use the cmapplyconf command to apply the configuration.
This action distributes the binary configuration file to all the nodes in the cluster. HP recommends
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 “Configuring Root-Level Access
(page 130).
The following command distributes the binary configuration file:
cmapplyconf -v -C $SGCONF/clust1.conf
5.3 Managing the Running Cluster
This section describes some approaches to routine management of the cluster. For more information,
see Chapter 7: “Cluster and Package Maintenance” (page 193). You can manage the cluster from
Serviceguard Manager, or by means of Serviceguard commands as described below.
5.3.1 Checking Cluster Operation with Serviceguard Commands
cmviewcl checks the status of the cluster and many of its components. A non-root user with
the role of Monitor can run this command from a cluster node or see status information in
Serviceguard Manager.
cmrunnode is used to start a node. A non-root user with the role of Full Admin, can run this
command from a cluster node or through Serviceguard Manager.
cmhaltnode is used to manually stop a running node. (This command is also used by
shutdown(1m)). A non-root user with the role of Full Admin can run this command from a
cluster node or through Serviceguard Manager.
cmruncl is used to manually start a stopped cluster. A non-root user with Full Admin access
can run this command from a cluster node, or through Serviceguard Manager.
cmhaltcl is used to manually stop a cluster. A non-root user with Full Admin access, can
run this command from a cluster node or through Serviceguard Manager.
You can use these commands to test cluster operation, as in the following:
1. If the cluster is not already running, start it:
cmruncl -v
By default, cmruncl will check the networks. Serviceguard will probe the actual network
configuration with the network information in the cluster configuration. If you do not need this
validation, use cmruncl -v -w none instead, to turn off validation and save time
2. When the cluster has started, make sure that cluster components are operating correctly:
cmviewcl -v
Make sure that all nodes and networks are functioning as expected. For more information,
refer to the chapter on “Cluster and Package Maintenance.
158 Building an HA Cluster Configuration