Using Serviceguard Extension for RAC, 8th Edition, March 2009
NOTE: When using LVM version 2.x, the volume groups are supported with Serviceguard.
The steps shown in the following section are for configuring the volume groups in Serviceguard
clusters LVM version 1.0.
For more information on using and configuring LVM version 2.x, see the HP-UX 11i Version 3:
HP-UX System Administrator's Guide: Logical Volume Management located at:
http://docs.hp.com -> Core HP-UX 11iv3 -> LVM Volume Manager
For LVM version 2.x compatibility requirements see the Serviceguard/SGeRAC/SMS/Serviceguard
Mgr Plug-in Compatibility and Feature Matrix at http://docs.hp.com -> High Availability ->
Serviceguard -> Support Matrixes
NOTE: For more information, see the Serviceguard Version A.11.19 Release Notes at
http://docs.hp.com -> High Availability -> Serviceguard
Building Volume Groups for RAC on Mirrored 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 so that the disk can be used as a mirror copy, which is connected to each
node on a different bus other than the bus that is used for the other (primary) copy.
Creating Volume Groups and Logical Volumes
If your volume groups have not been set up, use the procedure in the next sections. If you have
already done LVM configuration, skip ahead to the section ““Installing Oracle Real Application
Clusters”.”
Selecting Disks for the Volume Group
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/dsk/*
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.
Creating Physical Volumes
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
Creating a Volume Group with PVG-Strict Mirroring
Use the following steps to build a volume group on the configuration node (ftsys9). Later, the
same volume group will be created on other nodes.
1. First, set up the group directory for vgops:
# mkdir /dev/vg_ops
2. Next, create a control file named group in the directory /dev/vg_ops, as follows:
# mknod /dev/vg_ops/group c 64 0xhh0000
42 Serviceguard Configuration for Oracle 10g or 11gR1 RAC