User's Guide

# mkdir /dev/vgoraB
# mknod /dev/vgoraA/group c 64 0x01000
# mknod /dev/vgoraB/group c 64 0x02000
3. Create the volume groups. Be careful not to span Symmetrix frames.
# vgcreate /dev/vgoraA /dev/rdsk/c6t0d0
# vgextend /dev/vgoraA /dev/rdsk/c6t0d1
# vgcreate /dev/vgoraB /dev/rdsk/c5t0d2
# vgextend /dev/vgoraB /dev/rdsk/c5t0d3
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. NOTE: If you are using the March 2008 version or later of HP-UX 11i v3, you can skip
step1; vgimport (1m) will create the device file for you.
Create the volume group directories and special files.
# mkdir /dev/vgoraA
# mkdir /dev/vgoraB
# mknod /dev/vgoraA/group c 64 0x01000
# mknod /dev/vgoraB/group c 64 0x02000
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
Building a Metrocluster Solution with EMC SRDF 269