Figure 11 1-1 mapping between SLVM logical and physical volumes for ASM configuration

The SLVM volume groups are marked as shared volume groups and exported across the SGeRAC cluster using standard SGeRAC procedures.

Please note that, for the case in which the SLVM PVs being used by ASM are disk array LUs, the requirements in this section do not place any constraints on the configuration of the LUs. The LUs may be configured with striping, mirroring, and other characteristics at the array level, following guidelines provided by Oracle and the array provider for use by ASM.

Sample Command Sequence for Configuring SLVM Volume Groups

In this section, we provide an example of a command sequence that can be used to prepare SLVM Logical Volumes for use by ASM. The example below demonstrates how volume group is created using new DSF format. HP-UX will automatically use the redundant path for the volume group in the background.

The scenario for our example is that we are preparing a new volume group named vgora_asm. The physical path for the first PV is /dev/rdisk/disk1 and the second PV is /dev/rdisk/ disk2.

1.Create the volume group with the two PVs (choosing hh to be the next hexadecimal number that is available on the system, after the volume groups that are already configured):

#pvcreate -f /dev/rdisk/disk1

#pvcreate -f /dev/rdisk/disk2

#mkdir /dev/vgora_asm

#mknod /dev/vgora_asm/group c 64 0xhh0000

#vgcreate /dev/vgora_asm /dev/disk/disk1

#vgextend /dev/vgora_asm /dev/disk/disk2

2.For each of the two PVs, create a corresponding LV

Create an LV of zero length

Mark the LV as contiguous

SG/SGeRAC Support for ASM on HP-UX 11i v3 75

Page 75
Image 75
HP Serviceguard Extension for RAC (SGeRAC) manual Sample Command Sequence for Configuring Slvm Volume Groups