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

Building a Metropolitan Cluster Using MetroCluster/SRDF
Setting up M by N Configurations
Chapter 4164
4. Create the logical volumes. (XXXX indicates size in MB)
# lvcreate -L XXXX /dev/vgoraA
# lvcreate -L XXXX /dev/vgoraB
5. Install a VxFS file system on the logical volumes:
# newfs -F vxfs /dev/vgoraA/rlvol1
# newfs -F vxfs /dev/vgoraB/rlvol1
6. Create map files to permit exporting the volume groups to other
systems:
# vgchange -a n vgoraA
# vgchange -a n vgoraB
# vgexport -v -s -p -m /tmp/vgoraA.map vgoraA
# vgexport -v -s -p -m /tmp/vgoraB.map vgoraB
7. Copy the map files to the other nodes in the cluster:
# rcp /tmp/vgoraA.map node2:/tmp/vgoraA.map
# rcp /tmp/vgoraB.map node2:/tmp/vgoraB.map
8. Split the SRDF logical links:
# symrdf -g dgoraA split -v
# symrdf -g dgoraB split -v
On node2, node3, and node4, perform the following steps:
1. Create the volume group directories and special files:
# mkdir /dev/vgoraA
# mkdir /dev/vgoraB
2. Import the volume groups to each system:
# vgimport -v -s -m /tmp/vgoraA.map vgoraA
# vgimport -v -s -m /tmp/vgoraB.map vgoraB
3. After importing volume groups to all the other nodes, establish
SRDF links:
# symrdf -gdgoraA establish -v
# symrdf -gdgoraB establish -v