Managing Serviceguard Nineteenth Edition, Reprinted June 2011
NOTE: The procedures that follow describe the command-line method of configuring LVM storage.
There are two other, more automated methods you can use.
• System Management Homepage
You can use the System Management Homepage to create or extend volume groups and
create logical volumes. From the System Management Homepage, choose Disks and File
Systems. Make sure you create mirrored logical volumes with PVG-strict allocation; see“Using
Mirrored Individual Data Disks” (page 169).
When you have created the logical volumes and created or extended the volume groups,
specify the file system that is to be mounted on the volume group, then proceed with“Distributing
Volume Groups to Other Nodes” (page 172).
• cmpreparestg
You can use cmpreparestg (1m) to accomplish the tasks described under “Creating Volume
Groups” (page 169). See “Using Easy Deployment Commands to Configure the Cluster”
(page 153) for more information. If you use cmpreparestg, you do not need to perform the
procedures that follow, but it is a good idea to read them so that you understand what
cmpreparestg does for you. Then proceed to “Making Physical Volume Group Files
Consistent” (page 173).
If you have already done LVM configuration, skip ahead to “Configuring the Cluster ” (page 177).
NOTE: The procedures that follow assume you are using LVM rather than LVM 2.0. For information
about LVM 2.0 specifically, see the white paper LVM 2.0 Volume Groups in HP-UX 11i v3, which
you can find under http://www.hp.com/go/hpux-core-docs.
For more information on using LVM in general, including LVM 2.0, see the Logical Volume
Management volume of the HP-UX System Administrator’s Guide at http://www.hp.com/go/
hpux-core-docs. For more information about the tasks covered in this section, see Chapter 3 of that
guide, and particularly the section on “Common LVM Tasks”.
Using the EMS Disk Monitor
The Event Monitoring Service HA Disk Monitor allows you to monitor the health of LVM disks. If
you intend to use this monitor for your mirrored disks, you should configure them in physical volume
groups. For more information, see Using High Availability Monitors at the address given in the
preface to this manual.
Using Mirrored Individual Data Disks
The procedures that follow use physical volume groups to allow mirroring of individual disks such
that each logical volume is mirrored to a disk on a different I/O bus. This is known as PVG-strict
mirroring.
Before you proceed, make sure your disk hardware is configured in such a way that a disk to be
used as a mirror copy is connected to each node on a different bus from the bus that is used for
the other (primary) copy.
Creating Volume Groups
NOTE: You can create volume groups by means of the cmpreparestg (1m) command. See
“Using Easy Deployment Commands to Configure the Cluster” (page 153) for more information. If
you use cmpreparestg, you can skip this step and proceed to “Making Physical Volume Group
Files Consistent” (page 173).
Obtain a list of the disks on both nodes and identify which device files are used for the same disk
on both. Use the following command on each node to list available disks as they are known to
each system:
Preparing Your Systems 169