Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF

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 you are using Veritas volume manager, use the following procedure to create disk groups. The
following procedure describes how to set up Veritas disk groups. On one node do the following:
1. Verify and ensure that 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 whether the file system exits, then unmount the file system.
# umount /logs
Validating VxVM Disk Groups using Metrocluster with EMC SRDF
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
Configuring volume groups 29