Building Disaster Recovery Serviceguard Solutions Using Metrocluster with Continuous Access EVA P6000 for Linux B.01.00.00

NOTE: While using Cluster Device Special Files (cDSF) feature, the device special file name is
same on all nodes for a source and target VDisk.
Identifying special device files
The following is the sample output of the evainfo command on Linux environment.
Table 3 evainfo command output
# evainfo d /dev/sdj
Controller/Port/ModeCapacityWWNNArrayDevicefile
Ctl-B/FP–4/NonOptimized1024MB6005-08B4-0010-78F1-0002-4000-0143-00005000-1FE1-5007-DBA0/dev/sdj
For more information on using the evainfo tool, see HP P6000 Evainfo Release Notes.
Use HP P6000 Command View to identify the WWN for a Vdisk. The HP P6000 Command View
for the WWN Identifier of the Vdisk is shown in Figure 3.
Figure 3 P6000 Command View for the WWN identifier
Configuring LVM volume group using Metrocluster with Continuous Access EVA
P6000 for Linux
LVM storage can be used in Metrocluster. The following section show how to set up LVM volume
group. Before you create volume groups, you can create parttions on the disks and must enable
activation protection for logicalvolume groups, preventing the volume group from being activated
by more than one node at the same time. For more information on creating partitions and enabling
activation protection for logical volume groups, see Managing HP Serviceguard A.11.20.10 for
Linux available at http://www.hp.com/go/linux-serviceguard-docs.
Creating LVM volume groups
To create volume groups:
1. Create LVM physical volumes on each LUN.
# pvcreate -f /dev/sda1
2. Create the volume group on the source volume.
# vgcreate --addtag $(uname -n) /dev/<vgname> /dev/sda1
3. Create the logical volume. (XXXX indicates size in MB).
# lvcreate -L XXXX /dev/<vgname>
4. Create a file system on the logical volume.
# mke2fs -j /dev/<vgname>/rlvol1
18 Configuring an application in a Metrocluster environment