Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Creating the Logical Volume Infrastructure
Chapter 5152
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.
Enabling VG Activation Protection
Follow these steps to enable activation protection for volume groups on
RedHat 4, SUSE SLES 9, and SUSE SLES 10 systems:
NOTE Perform these steps on each node.
Step 1. Edit /etc/lvm/lvm.conf and add the following line:
tags { hosttags = 1 }
Step 2. Create the file /etc/lvm/lvm_$(uname -n).conf
Step 3. Add the following line to the file you created in step 2:
activation { volume_list=[“@
node
”] }
where
node
is the value of uname -n.
Step 4. Run vgscan:
# vgscan