Designing Disaster Tolerant High Availability Clusters, 10th Edition, March 2003 (B7660-90013)

Building a Metropolitan Cluster Using MetroCluster/SRDF
Setting up 1 by 1 Configurations
Chapter 4156
Verifying the EMC Symmetrix Configuration
When you are finished with all these steps, use the symrdf list
command to get a listing of all devices and their states.
You may want to back up the SymCLI database on each node so that you
do not have to do these configuration steps again if a failure corrupts the
database. The SymCLI database is a binary file in the directory
/var/symapi/db.
Creating and Exporting Volume Groups
Use the following procedure to create volume groups and export them for
access by other nodes. The sample script mk1VGs in the
/opt/cmcluster/toolkit/SGSRDF/Samples directory can be modified
to automate these steps.
1. Define the appropriate Volume Groups on each node that might run
the application package. Use the commands:
# mkdir /dev/vgxx
# mknod /dev/vgxx/group c 64 0xnn0000
where the name /dev/vgxx and the number nn are unique within
the cluster.
2. Create volume groups only on the primary system. Use the vgcreate
and the vgextend command, specifying the appropriate HP-UX
device file names.
3. Use the vgexport command with the -p option to export the VGs on
the primary system without removing the HP-UX device files:
# vgchange -a n vgname
# vgexport -v -s -p -m mapfilename vgname
Make sure that you 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. You need only enter the password interactively.
Importing Volume Groups on Other Nodes
Use the following procedure to import volume groups. The sample script
mk2imports can be modified to automate these steps.