Managing Serviceguard Seventeenth Edition, First Reprint December 2009
Availability -> Event Monitoring Service and HA Monitors ->
Installation and User’s Guide).
Creating Volume Groups for Mirrored Individual Data Disks
The procedure described in this section uses physical volume groups for mirroring of
individual disks to ensure that each logical volume is mirrored to a disk on a different
I/O bus. This kind of arrangement is known as PVG-strict mirroring. It is assumed
that your disk hardware is already 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.
For more information on using LVM, refer to the Logical Volume Management volume
of the HP-UX System Administrator’s Guide.
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.
When you have created the logical volumes and created or extended the volume groups,
specify the filesystem that is to be mounted on the volume group, then skip ahead to
the section “Deactivating the Volume Group”.
To configure the volume groups from the command line, proceed as follows.
If your volume groups have not been set up, use the procedures that follow. If you
have already done LVM configuration, skip ahead to the section “Configuring the
Cluster.”
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:
lssf /dev/d*/*
In the following examples, we use /dev/rdsk/c1t2d0 and /dev/rdsk/c0t2d0,
which happen to be the device names for the same disks on both ftsys9 and ftsys10.
In the event that the device file names are different on the different nodes, make a
careful note of the correspondences.
NOTE: Under agile addressing, the physical devices in these examples would have
names such as /dev/rdisk/disk1 and /dev/rdisk/disk2. See “About Device
File Names (Device Special Files)” (page 106).
On the configuration node (ftsys9), use the pvcreate command to define disks as
physical volumes. This only needs to be done on the configuration node. Use the
following commands to create two physical volumes for the sample configuration:
pvcreate -f /dev/rdsk/c1t2d0
pvcreate -f /dev/rdsk/c0t2d0
Preparing Your Systems 211