HP-UX HB v13.00 Ch-15 - Serviceguard
HP-UX Handbook – Rev 13.00 Page 90 (of 108)
Chapter 15 Serviceguard
October 29, 2013
cmquerycl will not print out the re-formation time for a volume group that currently belongs to a
cluster. If you want cmquerycl to print the re-formation time for a volume group, run vgchange -
c n <vg name> to clear the cluster ID from the volume group. After you are done, do not forget
to run vgchange -c y vgname to re-write the cluster ID back to the volume group; for example:
vgchange -c y /dev/vglock
If your configuration requires you to configure a second cluster lock, enter the following
parameters in the cluster configuration file:
SECOND_CLUSTER_LOCK_VG /dev/volume-group
SECOND_CLUSTER_LOCK_PV /dev/dsk/block-special-file
where the /dev/volume-group is the name of the second volume group and block-special-file is
the physical volume name of a lock disk in the chosen volume group. These lines should be
added for each node; for example:
SECOND_CLUSTER_LOCK_VG /dev/vglock
SECOND_CLUSTER_LOCK_PV /dev/dsk/c4t0d0
or ( if using agile addressing;):
SECOND_CLUSTER_LOCK_VG /dev/vglock
SECOND_CLUSTER_LOCK_PV /dev/disk/disk100
Showing Cluster Lock Disk Status
With the Serviceguard version 11.17 comes new functionality to the cmviewcl command. It
shows the status of the cluster lock volume group.
root@Node1:/etc/cmcluster/sw# cmviewcl -v
CLUSTER STATUS
swrecovery up
NODE STATUS STATE
Node1 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vgspare /dev/dsk/c5t8d0 down
…
NODE STATUS STATE
Node2 up running
Cluster_Lock_LVM:
VOLUME_GROUP PHYSICAL_VOLUME STATUS
/dev/vgspare /dev/dsk/c2t8d0 down