Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Serviceguard Commands
Appendix A 285
A Serviceguard Commands
The following is an alphabetical list of commands used for ServiceGuard
cluster configuration and maintenance. Man pages for these commands
are available on your system after installation.
Table A-1 Serviceguard Commands
Command Description
cmapplyconf Verify and apply ServiceGuard cluster
configuration and package configuration files.
cmapplyconf verifies the cluster configuration and
package configuration specified in the
cluster_ascii_file and the associated
pkg_ascii_file(s), creates or updates the binary
configuration file, called cmclconfig, and
distributes it to all nodes. This binary configuration
file contains the cluster configuration information
as well as package configuration information for all
packages specified. This file, which is used by the
cluster daemons to manage the entire cluster and
package environment, is kept in the $SGCONF
directory.
If changes to either the cluster configuration or to
any of the package configuration files are needed,
first update the appropriate ASCII file(s) (cluster or
package), then validate the changes using the
cmcheckconf command and then use cmapplyconf
again to verify and redistribute the binary file to all
nodes. The cluster and package configuration can
be modified only when the cluster is down. The
cluster ASCII file only needs to be specified if
configuring the cluster for the first time, or if
adding or deleting nodes to the cluster. The package
ASCII file only needs to be specified if the package
is being added, or if the package configuration is
being modified.