HP Serviceguard Extension for RAC (SGeRAC) manual Building Volume Groups for RAC on Mirrored Disks

Models: Serviceguard Extension for RAC (SGeRAC)

1 155
Download 155 pages 6.14 Kb
Page 41
Image 41

Creating RAC Volume Groups on Disk Arrays

Creating Logical Volumes for RAC on Disk Arrays

The Event Monitoring Service HA Disk Monitor provides the capability 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, refer to the manual Using HA Monitors.

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 www.hp.com/go/ hpux-core-docs —> HP-UX 11i v3.

For LVM version 2.x compatibility requirements see the Serviceguard/SGeRAC/SMS/Serviceguard Mgr Plug-in Compatibility and Feature Matrix at www.hp.com/go/hpux-serviceguard-docs

—> HP Serviceguard Extension for RAC.

NOTE: For more information, see the Serviceguard Version A.11.20 Release Notes at

www.hp.com/go/hpux-serviceguard-docs —> HP Serviceguard Extension for RAC.

NOTE: The Oracle 11gR2 OUI allows only ASM over SLVM, ASM over raw device files, Cluster File System for Clusterware files, and Database files.

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” (page 47).

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 are 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 Storage Infrastructure with LVM 41

Page 41
Image 41
HP Serviceguard Extension for RAC (SGeRAC) manual Building Volume Groups for RAC on Mirrored Disks