Managing Serviceguard Nineteenth Edition, Reprinted June 2011
if the IP address is switched to the standby LAN and NETWORK_AUTO_FAILBACK cluster
parameter is set to FALSE.
If the primary LAN recovers while the node is halted and you want the IP address to fail back
to the primary LAN, run cmmodnet –e to re-enable the primary LAN interface and trigger
the failback.
Halting a Node and Detaching its Packages
To halt a node and detach its packages, proceed as follows.
1. Make sure that the conditions spelled out under “Rules and Restrictions” (page 267) 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 -n node1 legpak1 legpak2
NOTE: If you do not do this, the cmhaltnode in the next step will fail.
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
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 267) 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. In this example we'll
270 Cluster and Package Maintenance