HP XC System Software Administration Guide Version 3.1
NOTE: In the examples in this section, assume the PATH environment variable has been updated for
Serviceguard commands.
2.4.1 Viewing the Serviceguard Cluster Status
View the status of the Serviceguard cluster (that is, the availability set). The Serviceguard cmviewcl
command is a key component of this procedure.
NOTE: The /usr/local/cmcluster/bin directory is the default location of the cmviewcl command.
If you installed Serviceguard in a location other than the default, look in the /etc/cmcluster.conf file
for the location of the Serviceguard bin directory.
1. Log in as superuser (root) on the head node.
2. Use the shownode config hostgroups command to determine which nodes are in each availability
set:
# shownode config hostgroups
hostgroups:
headnode: n16
serviceguard:avail1: n14
n16
serviceguard:avail2: n13
n12
3. Use the Serviceguard cmviewcl command on one node of each availability set to view the status of
the Serviceguard cluster. For example:
# pdsh -w n13,n14 /usr/local/cmcluster/bin/cmviewcl
n13:
n13: CLUSTER STATUS
n13: avail2 up
n13:
n13: NODE STATUS STATE
n13: n12 up running
n13:
n13: PACKAGE STATUS STATE AUTO_RUN NODE
n13: n12 up running enabled n12
n13:
n13: NODE STATUS STATE
n13: n13 up running
n13:
n13: PACKAGE STATUS STATE AUTO_RUN NODE
n13: nat.n13 up running enabled n13
n14:
n14: CLUSTER STATUS
n14: avail1 up
n14:
n14: NODE STATUS STATE
n14: n14 up running
n14:
n14: PACKAGE STATUS STATE AUTO_RUN NODE
n14: nat.n14 up running enabled n14
n14:
n14: NODE STATUS STATE
n14: n16 up running
n14:
n14: PACKAGE STATUS STATE AUTO_RUN NODE
n14: nat.n16 up running enabled n16
n14: lvs.n16 up running enabled n16
2.4 HP Serviceguard Tasks 45