Managing Serviceguard 13th Edition, February 2007

Cluster and Package Maintenance
Managing the Cluster and Nodes
Chapter 7316
NOTE HP recommends that you remove a node from participation in the cluster
(by running cmhaltnode, or Halt Node in Serviceguard Manger) before
running the HP-UX shutdown command, especially in cases in which a
packaged application might have trouble during shutdown and not halt
cleanly.
Using Serviceguard Commands to Remove a Node from
Participation in the Cluster
Use the cmhaltnode command to halt one or more nodes in a cluster. The
cluster daemon on the specified node stops, and the node is removed from
active participation in the cluster.
To halt a node with a running package, use the -f option. If a package
was running that can be switched to an adoptive node, the switch takes
place and the package starts on the adoptive node. For example, the
following command causes the Serviceguard daemon running on node
ftsys9 in the sample configuration to halt and the package running on
ftsys9 to move to an adoptive node The -v (verbose) option prints out
messages:
# cmhaltnode -f -v ftsys9
This halts any packages running on the node ftsys9 by executing the
halt instructions in each package's control script. ftsys9 is halted and
the packages start on their adoptive node.
Halting the Entire Cluster
You can use Serviceguard Manager, or Serviceguard commands as shown
below, to halt a running cluster.
Using Serviceguard Commands to Halt a Cluster
The cmhaltcl command can be used to halt the entire cluster. This
command causes all nodes in a configured cluster to halt their
Serviceguard daemons. You can use the -f option to force the cluster to
halt even when packages are running. This command can be issued from
any running node. Example:
# cmhaltcl -f -v