
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
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
#symrdf
2.Initialize disks to be used with VxVM by running the vxdisksetup command.
#/etc/vx/bin/vxdisksetup
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
6.Verify the configuration.
#vxprint
7.Make the filesystem.
#newfs
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
#symrdf
4.Import the disk group.
#vxdg
270 Building Disaster Recovery Serviceguard Solutions Using Metrocluster with EMC SRDF