Managing HP Serviceguard A.11.20.10 for Linux, December 2012

Disk /dev/sdc: 64 heads, 32 sectors, 4067 cylinders
Units = cylinders of 2048 * 512 bytes
Device Boot Start End Blocks Id System
/dev/sdc 1 4067 4164592 8e Linux LVM
Command (m for help): w
The partition table has been altered!
3. Repeat this process for each device file that you will use for shared storage.
fdisk /dev/sdd
fdisk /dev/sdf
fdisk /dev/sdg
4. If you will be creating volume groups for internal storage, make sure to create those partitions
as well, and create those volume groups before you define the shared storage.
fdisk /dev/sddb
NOTE: fdisk may not be available for SUSE on all platforms. In this case, using YAST2 to set
up the partitions is acceptable.
5.1.12.3 Enabling Volume Group Activation Protection
As of Serviceguard for Linux A.11.16.07, you can enable activation protection for logical volume
groups, preventing the volume group from being activated by more than one node at the same
time. Activation protection, if used, must be enabled on each cluster node.
Follow these steps to enable activation protection for volume groups on Red Hat and SUSE systems:
IMPORTANT: Perform this procedure on each node.
1. Edit /etc/lvm/lvm.conf and add the following line:
tags { hosttags = 1 }
2. Uncomment the line in /etc/lvm/lvm.conf that begins # volume_list =, and edit it
to include all of the node's "private" volume groups (those not shared with the other cluster
nodes), including the root volume group.
For example if the root volume group is vg00 and the node also uses vg01 and vg02 as
private volume groups, the line should look like this:
volume_list = [ "vg00", "vg01", "vg02" ]
3. Create the file /etc/lvm/lvm_$(uname -n).conf
4. Add the following line to the file you created in step 2:
activation { volume_list=[@node] }
where node is the value of uname -n.
142 Building an HA Cluster Configuration