Managing HP Serviceguard for Linux, Tenth Edition, September 2012

3. Halt the node with the -d (detach) option:
cmhaltnode -d node1
NOTE: -d and -f are mutually exclusive. See cmhaltnode (1m) for more
information.
To re-attach the packages, restart the node:
cmrunnode -n node1
You cannot halt or detach a node if any package on the given node is in the
halt_aborted state; cmhaltnode will fail. However, you can forcefully halt the node
using cmhaltnode (1m) with the -f option. The node will then be halted irrespective
of the package state.
Halting a Detached Package
To halt a package that is detached on node1, proceed as follows.
1. Log in as superuser on another node that is still running in the cluster.
2. Halt the package; for example:
cmhaltpkg node1 pkg1
Halting the Cluster and Detaching its Packages
1. Make sure that the conditions spelled out under “Rules and Restrictions (page 247)
are met.
2. Halt any packages that do not qualify for Live Application Detach, such as legacy
and system multi-node packages.
For example:
cmhaltpkg legpak1 legpak2 legpak3 smnp1
NOTE: If you do not do this, the cmhaltcl in the next step will fail.
3. Halt the cluster with the -d (detach) option:
cmhaltcl -d
NOTE: -d and -f are mutually exclusive. See cmhaltcl (1m) for more
information.
To re-attach the packages, restart cluster:
cmrunnode node1
Example: Halting the Cluster for Maintenance on the Heartbeat Subnets
Suppose that you need to do networking maintenance that will disrupt all the cluster's
heartbeat subnets, but it is essential that the packages continue to run while you do it.
Halting a Node or the Cluster while Keeping Packages Running 251