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

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.
Creating VxVM Disk Groups using Metrocluster with EMC SRDF
If using VERITAS storage, use the following procedure to create disk groups. It is assumed VERITAS
root disk (rootdg) has been created on the system where configuring the storage. The following
section shows how to set up VERITAS disk groups. On one node do the following:
1. Check to make sure the devices are in a synchronized state.
# symrdf -g dgoraA query
# symrdf -g dgoraB query
2. Initialize disks to be used with VxVM by running the vxdisksetup command.
# /etc/vx/bin/vxdisksetup -i c5t0d0
3. Create the disk group to be used by using the vxdg command on the primary system.
# vxdg init logdata c5t0d2 c5t0d3 c5t0d0 c5t0d1
4. Verify the configuration.
# vxdg list
5. Create the logical volume.
# vxassist -g logdata make logfile 2048m
6. Verify the configuration.
# vxprint -g logdata
7. Make the filesystem.
# newfs -F vxfs /dev/vx/rdsk/logdata/logfile
8. Create a directory to mount the volume group.
# mkdir /logs
9. Mount the volume group:
# mount /dev/vx/dsk/logdata/logfile /logs
10. Check if file system exits, then unmount the file system.
# umount /logs
Validating VxVM Disk Groups using Metrocluster with EMC SRDF
The following section shows how to validate VERITAS diskgroups:
1. Deport the disk group on the node where you created the disk group.
# vxdg deport logdata
2. On the node where you created the disk group, enable other cluster nodes to have access to
the disk group.
# vxdctl enable
3. Split the SRDF link to enable R2 Read/Write permission.
# symrdf -g dgoraA split
# symrdf -g dgoraB split
4. Import the disk group.
# vxdg -tfC import logdata
270 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF