Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5164
vgs -o +tags vgpkgA
vgchange -a y vgpkgA
The VG Tags column in the output should contain the value of uname -n.
Step 6. Deactivate the volume group and delete the tag:
vgchange -a n vgpkgA
vgchange --deltag $(uname -n) vgpkgA
Building Volume Groups: Example for Smart Array Cluster
Storage (MSA 500 Series)
Use Logical Volume Manager (LVM) on your system to create volume
groups that can be activated by Serviceguard packages. This section
provides an example of creating Volume Groups on LUNs created on
MSA 500 Series storage. For more information on LVM, see the Logical
Volume Manager How To, which you can find at
http://tldp.org/HOWTO/HOWTO-INDEX/howtos.html
Before you start, partition your LUNs and label them with a partition
type of 8e (Linux LVM). Use the type t parameter of the fdisk command
to change from the default of 83 (Linux).
Do the following on one node:
1. Update the LVM configuration and create the /etc/lvmtab file. You
can omit this step if you have previously created volume groups on
this node.
vgscan
NOTE The files /etc/lvmtab and /etc/lvmtab.d may not exist on some
distributions. In that case, ignore references to these files.
2. Create LVM physical volumes on each LUN. For example:
pvcreate -f /dev/cciss/c0d1p1
pvcreate -f /dev/cciss/c0d2p1
pvcreate -f /dev/cciss/c0d3p1