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

Building an HA Cluster Configuration
Configuring the Cluster
Chapter 5228
NOTE Using the -k option means that cmapplyconf only checks disk
connectivity to the LVM disks that are identified in the ASCII file.
Omitting the -k option (the default behavior) means that
cmapplyconf tests the connectivity of all LVM disks on all nodes.
Using -k can result in significantly faster operation of the command.
Deactivate the cluster lock volume group.
# vgchange -a n /dev/vglock
The cmapplyconf command creates a binary version of the cluster
configuration file and distributes it to all nodes in the cluster. This action
ensures that the contents of the file are consistent across all nodes. Note
that the cmapplyconf command does not distribute the ASCII
configuration file.
CAUTION The cluster lock volume group must be activated exactly one node before
it applying, and it must be deactivated after the configuration is applied.
The apply will not complete unless the lock volume group is active on one
node, but not more than one node.
Be sure to deactivate the cluster lock volume group on the configuration
node after cmapplyconf is executed.
Storing Volume Group and Cluster Lock Configuration Data
After configuring the cluster, create a backup copy of the LVM volume
group configuration by using the vgcfgbackup command for each volume
group you have created. If a disk in a volume group must be replaced,
you can then restore the disk's metadata by using the vgcfgrestore
command. The procedure is described under “Replacing Disks” in the
“Troubleshooting” chapter.
Be sure to use vgcfgbackup for all volume groups, including the cluster
lock volume group.