HP-UX HB v13.00 Ch-15 - Serviceguard

HP-UX Handbook Rev 13.00 Page 37 (of 108)
Chapter 15 Serviceguard
October 29, 2013
Node_Switching_Parameters:
NODE_TYPE STATUS SWITCHING NAME
Primary up enabled Node1 (current)
Alternate up disabled Node2
NODE STATUS STATE
Node2 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vgspare /dev/dsk/c2t8d0 down
Network_Parameters:
INTERFACE STATUS PATH NAME
PRIMARY up 0/1/2/0 lan0
STANDBY up 0/1/2/1 lan1
For Informations about the different states of a cluster, a node, or a package, please refer to
Managing Serviceguard, Chapter 8: Cluster and Package Maintenance. The document is
downloadable from http://www.hp.com/go/hpux-SG-docs
Halting the Cluster
To halt a Serviceguard cluster use the command cmhaltcl. This causes all nodes in the cluster to
stop their cluster daemons, halting any packages and related applications in the process unless
those packages are detached. This command will halt all the daemons on all currently running
systems.
root@Node1:/# cmhaltcl -v
Disabling all packages from starting on nodes to be halted.
Disabling all packages from running on Node1.
Disabling all packages from running on Node2.
Package sw-pkg is already disabled on node Node2
Warning: Do not modify or enable packages until the halt operation is
completed.
This operation may take some time.
Waiting for nodes to halt .... done
Successfully halted all nodes specified.
Halt operation complete.
The -f option forces cluster shutdown even if packages are running.
root@Node1:/# cmhaltcl -f
Disabling all packages from starting on nodes to be halted.
Warning: Do not modify or enable packages until the halt operation is
completed.
Disabling automatic failover for failover packages to be halted.
Halting package sw-pkg
Successfully halted package sw-pkg
This operation may take some time.
Waiting for nodes to halt .... done