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

Physical Data Replication for ContinentalClusters Using Continuous Access XP
Creating VxVM Disk Groups for Use with ContinentalCluster/CA Data Replication
Chapter 6296
Creating VxVM Disk Groups for Use with
ContinentalCluster/CA 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. Create the device pair to be used by the package:
# paircreate -g devgrpA -f never -vl -c 15
2. Check to make sure the devices are in the PAIR state:
# pairdisplay -g devgrpA
3. Initialize disks to be used with VxVM by running the vxdisksetup
command. Run the following command only on the primary system:
# vxdisksetup -i c5t0d0
4. Create the disk group to be used by using vxdg command. Run the
following command only on the primary system:
# vxdg init logdata /dev/dsk/c5t0d0
5. Verify the configuration with the following command:
# vxdg list
6. Use the vxassist command to create the logical volume.
# vxassist -g logdata make logfile 2048m
7. Verify the configuration with the following command:
# vxprint -g logdata
8. Make the filesystem with the following command:
# newfs -F vxfs /dev/vx/rdsk/logdata/logfile
9. Create a directory to mount the volume group.
# mkdir /logs
10. Mount the volume group.
# mount /dev/vx/dsk/logdata/logfile /logs