Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Cluster and Package Maintenance
Managing the Cluster and Nodes
Chapter 7 295
Using Serviceguard Manager to Remove a Node from the Cluster
Select the node icon, then right-click to display the action menu. Select
“Halt node <nodename>” The progress window shows messages as the
action takes place. This will include moving any packages on the node to
adoptive nodes, if appropriate. Click OK on the progress window when
the operation is complete.
Using Serviceguard Commands to Remove Nodes from
Operation
Use the cmhaltnode command to halt one or more nodes in a cluster. The
cluster daemon on the specified node stops, and the node is removed from
active participation in the cluster.
To halt a node with a running package, use the -f option. If a package
was running that can be switched to an adoptive node, the switch takes
place and the package starts on the adoptive node. For example, the
following command causes the Serviceguard daemon running on node
ftsys9 in the sample configuration to halt and the package running on
ftsys9 to move to ftsys10:
# cmhaltnode -f -v ftsys9
This halts any packages running on the node ftsys9 by executing the
halt instructions in each package's control script. ftsys9 is halted and
the packages start on the adoptive node, ftsys10.
The use of cmhaltnode is a convenient way of bringing a node down for
system maintenance while keeping its packages available on other
nodes. After maintenance, the package can be returned to its primary
node. See “Moving a Package,” below.
To return a node to the cluster, use cmrunnode.
NOTE It is recommended to run cmhaltnode prior to running the HP-UX
shutdown command, especially for cases where a packaged application
might have trouble during shutdown and not halt cleanly.
Halting the Entire Cluster
You can use Serviceguard Manager, or Serviceguard commands to halt a
running cluster.