Managing HP Serviceguard for Linux, Tenth Edition, September 2012

in fact failed while it was detached, Serviceguard will halt it and restart it on another
eligible node.
CAUTION: Serviceguard does not check LVM volume groups and mount points
when re-attaching packages.
The detached state and status could appear to persist across a reboot.
If a node reboots while packages are detached (or detaching, or re-attaching), and
package components are left in an inconsistent state, the appropriate package halt
scripts will run to clean things up when the node comes back up. But cmviewcl
will continue to show the packages as detached. Either cmhaltpkg or
cmrunnonde (1m) will reset the packages' state and status.
If you halt a package and disable it before running cmhaltcl -d to detach other
packages running in the cluster, auto_run will be automatically re-enabled for this
package when the cluster is started again, forcing the package to start.
To prevent this behavior and keep the package halted and disabled after the cluster
restarts, change auto_run to no in the package configuration file (page 206), and
re-apply the package, before running cmhaltcl -d.
If an IP address is switched to the standby LAN because of a failure of on the primary
LAN before a node is halted in detached mode, and if the failure is detected as an
IP-only failure (meaning that the primary LAN was failed at the IP level only) then
the IP address will remain on the standby LAN even after the node is restarted via
cmrunnode. This will also happen 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 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 -n node1 legpak1 legpak2
NOTE: If you do not do this, the cmhaltnode in the next step will fail.
250 Cluster and Package Maintenance