If you halt a package and disable it before running cmhaltcl -dto 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 235), 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 –eto 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 280) 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: -dand -fare 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 280) 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

Managing the Cluster and Nodes 283

Page 283
Image 283
HP Serviceguard manual Halting a Node and Detaching its Packages, Halting a Detached Package