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

Physical Data Replication for ContinentalClusters Using EMC SRDF
Creating VxVM Disk Groups for Use with ContinentalCluster/SRDF Data Replication
Chapter 7336
Creating VxVM Disk Groups for Use with
ContinentalCluster/SRDF Data Replication
If you are using VERITAS storage, use the following procedure to create
disk groups. It is assumed that you have already created a VERITAS
root disk (rootdg) on the system where you are 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 devgrpA query
2. Initialize disks to be used with VxVM by running the vxdisksetup
command.
# vxdisksetup -i c5t0d0
3. Create the disk group to be used by using the vxdg command. On the
primary system run the following command:
# vxdg init logdata /dev/dsk/c5t0d0
4. Verify the configuration with the following command:
# vxdg list
5. Use the vxassist command to create the logical volume.
# vxassist -g logdata make logfile 2048m
6. Verify the configuration with the following command:
# vxprint -g logdata
7. Make the filesystem with the following command:
# 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