HP XC System Software Administration Guide Version 3.2

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
n14: nagios.n16 up running enabled n16
n14: dbserver.n16 up running enabled n16
The cmviewcl command views the status of all Serviceguard clusters that correspond to
the avail1 and avail2 availability sets.
2.4.2 Moving Packages
The following example describes how to relocate packages manually within a Serviceguard
cluster (availability set). You can use the steps shown in this example to failback HP Serviceguard
packages manually after an automatic failover.
1. Nodes n12 and n13 are assigned to an HP Serviceguard cluster. A package named pack1
runs on node n12.
2. Use the cmhaltpkg command to halt the pack1 package on node n12:
# pdsh -w n12 cmhaltpkg pack1
3. After the pack1 package stops, run the package on node n13:
# pdsh -w n13 cmrunpkg -n n11 pack1
Note that the command is issued on node n12 to run the package on n13.
4. Enable automatic failover of the HP Serviceguard package:
# pdsh -w n13 cmmodpkg -e pack1
2.4.3 Reimaging Nodes in the Availability Set
Reimaging a node is the means by which you update software on a node from a central repository,
called a golden master. Chapter 11 (page 139) discusses this topic in detail.
50 Improved Availability