Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Creating the Logical Volume Infrastructure
Chapter 5154
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
3. Check whether there are already volume groups defined on this
node. Be sure to give each volume group a unique name.
# vgdisplay
4. Create separate volume groups for each Serviceguard package you
will define. In the following example, the LUNs /dev/cciss/c0d1p1
and /dev/cciss/c0d2p1, which are defined earlier as physical
volumes, are added to volume group vgpkgA and
/dev/cciss/c0d3p1 is added to vgpkgB:
# vgcreate /dev/vgpkgA /dev/cciss/c0d1p1 /dev/cciss/c0d2p1
# vgcreate /dev/vgpkgB /dev/cciss/c0d3p1