Designing Disaster Recovery Clusters using Metroclusters and Continentalclusters, Reprinted October 2011 (5900-1881)

Make sure to copy the map files to all of the nodes. The sample script Samples/ftpit shows
a semi-automated way (using ftp) to copy the files. Only enter the password interactively.
8. De-activate the volume group.
# vgchange -a n /dev/vgname
NOTE: With the introduction of mass storage stack’s Native Multi-pathing functionality in HP-UX
11i v3, it is no longer required nor recommended to configure PV links.
Configuring Volume Groups using Native Multi-pathing
Starting with HP-UX 11i v3, Secure Path is no longer supported. Use the Native Multi-pathing
available on HP-UX 11i v3.
Complete the following procedure to configure volume groups using Native Multi-pathing:
1. Create the volume groups on the source volume which uses Native Multi-pathing.
The following commands are an example of how volume groups using Native Multi-pathing
are created for the vdisk identified by WWN
6005-08b4-0010-203d-0000-6000-0017-0000:
# pvcreate -f /dev/rdsk/disk41
# vgcreate /dev/vgname /dev/dsk/disk41
2. Create the logical volumes.
# mkfs vxfs /dev/<vg_name>/lvol1
3. Install a VxFS file system on the logical volumes:
# newfs -F vxfs /dev/vgname/rlvol1
4. De-activate the Volume Groups.
# vgchange -a n /dev/vgname
5. Start the cluster and configure the Volume Groups.
# cmruncl (if cluster is not already up and running)
# vgchange -c y /dev/vgname
6. Test the Volume Groups activation with exclusive option.
# vgchange -a e/dev/vgname
7. Create a back-up conffile that will contain the cluster ID, already having an ID on disks/
luns.
# vgcfgbackup /dev/vgname
8. Use the vgexport command with the-p option to export the Volume Groups on the primary
system without removing the HP-UX device files.
# vgexport -s -p -m mapfile /dev/vgname
Make sure to copy the map files to all of the nodes. The sample script Samples/ftpit shows
a semi-automated way (using ftp) to copy the files. Only enter the password interactively.
9. De-activate the volume group.
# vgchange -a n /dev/vgname
NOTE: While creating a volume group, you can choose either the legacy or agile Device Special
File (DSF) naming convention. To determine the mapping between these DSFs, use the # ioscan
m dsf command.
Preparing a Serviceguard Cluster for Metrocluster Continuous Access EVA 229