Managing HP Serviceguard A.11.20.00 for Linux, June 2012

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 192) 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
assume that packages pkg1 through pkg5 are unsupported for Live Application Detach, and pkg6
through pkgn are supported.
Proceed as follows:
1. Halt all the unsupported packages:
cmhaltpkg pkg1 pkg2 pkg3 pkg4 pkg5
2. Halt the cluster, detaching the remaining packages:
cmhaltcl -d
3. Upgrade the heartbeat networks as needed.
4. Restart the cluster, automatically re-attaching pkg6 through pkgn and starting any other
packages that have auto_run (page 160) set to yes in their package configuration file:
cmruncl
5. Start the remaining packages; for example:
cmmodpkg -e pkg1 pkg2 pkg3 pkg4 pkg5
Managing Packages and Services
This section describes the following tasks:
Starting a Package (page 196)
Halting a Package (page 196)
Moving a Failover Package (page 197)
Changing Package Switching Behavior (page 197)
Non-root users with the appropriate privileges can perform these tasks. See Controlling Access to
the Cluster (page 143) for information about configuring access.
You can use Serviceguard Manager or the Serviceguard command line to perform these tasks.
Managing Packages and Services 195