HP Serviceguard A.11.20- Managing Serviceguard Twentieth Edition, August 2011

packages. Use one cvm_dg for each disk group the package will use, and select the appropriate
cvm_activation_cmd. Package configuration is described in detail in Chapter 6 (Chapter 7
for legacy packages).
All packages (both legacy and modular) that use CVM disk groups also need to declare a
dependency on the SG-CFS-pkg in their package configuration file, specifying
dependency_condition as UP and dependency_location as same_node; for example:
dependency_name SG-CFS-pkg_dep
dependency_condition SG-CFS-pkg = UP
dependency_location same_node
Using DSAU during Configuration
You can use DSAU to centralize and simplify configuration and monitoring tasks. See “What are
the Distributed Systems Administration Utilities?” (page 25).
Managing the Running Cluster
This section describes some approaches to routine management of the cluster. Additional tools
and suggestions are found in Chapter 7, “Cluster and Package Maintenance.
Checking Cluster Operation with Serviceguard Manager
You can check configuration and status information using Serviceguard Manager: from the System
Management Homepage (SMH), choose Tools-> Serviceguard Manager.
Checking Cluster Operation with Serviceguard Commands
Serviceguard also provides several commands for control of the cluster:
cmviewcl checks 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.
On systems that support CFS, the Veritas Cluster File System, cfscluster status gives
information about the cluster;cfsdgadm display gives information about the cluster’s disk
groups.
cmrunnode is used to start Serviceguard on 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.
222 Building an HA Cluster Configuration