Managing HP Serviceguard for Linux, Tenth Edition, September 2012

This halts any packages running on the node ftsys9 by executing the halt instructions
in each package's master control script. ftsys9 is halted and the packages start on the
adoptive node, ftsys10.
Halting the Entire Cluster
You can use Serviceguard Manager, or Serviceguard commands as shown below, to
halt a running cluster.
The cmhaltcl command can be used to halt the entire cluster. This command causes
all nodes in a configured cluster to halt their HP Serviceguard daemons. You can use
the -f option to force the cluster to halt even when packages are running. This command
can be issued from any running node. Example:
cmhaltcl -f -v
This halts all the cluster nodes.
Automatically Restarting the Cluster
You can configure your cluster to automatically restart after an event, such as a long-term
power failure, which brought down all nodes in the cluster. This is done by setting
AUTOSTART_CMCLD to 1 in the $SGAUTOSTART file (see “Understanding the Location
of Serviceguard Files” (page 156)).
Halting a Node or the Cluster while Keeping Packages Running
There may be circumstances in which you want to do maintenance that involves halting
a node, or the entire cluster, without halting or failing over the affected packages. Such
maintenance might consist of anything short of rebooting the node or nodes, but a likely
case is networking changes that will disrupt the heartbeat.
New command options in Serviceguard A.11.20 (collectively known as Live Application
Detach (LAD)) allow you to do this kind of maintenance while keeping the packages
running. The packages are no longer monitored by Serviceguard, but the applications
continue to run. Packages in this state are called detached packages.
When you have done the necessary maintenance, you can restart the node or cluster,
and normal monitoring will resume on the packages.
NOTE: Keep in mind that the purpose of the LAD capabilities is to allow you do
maintenance on one or more nodes, or the entire cluster. If you want to do maintenance
on individual packages, or on elements of the cluster configuration that affect only one
package, or a few packages, you should probably use package maintenance mode;
see “Maintaining a Package: Maintenance Mode” (page 255).
246 Cluster and Package Maintenance