Building Disaster Recovery Serviceguard Solutions Using Metrocluster with 3PAR Remote Copy

1. If the disk group is configured in asynchronous periodic mode, then to reflect disk group
configuration done at the source disk site, you must synchronize the Remote Copy disk group
from the 3PAR storage system of the source disk site.
# cli% syncrcopy <rc_volume_group_name>
2. Run the vxdisksetup command on the primary system to initialize the disks to be used with
VxVM.
# /etc/vx/bin/vxdisksetup -i disk3
3. Create a disk group to be used with the vxdg command on the primary system.
# vxdg init logdata disk3
4. Verify the configuration of the created disk group.
# vxprint g logdata
5. Run the vxassist command to create the logical volume.
# vxassist -g logdata make logfile 2048m
6. Verify the configuration of the created volume.
# vxprint -g logdata
7. Create a filesystem running the following command.
# newfs -F vxfs /dev/vx/rdsk/logdata/logfile
8. Create a directory to mount the created volume.
# mkdir /logs
9. Mount the created volume.
# mount /dev/vx/dsk/logdata/logfile /logs
10. Verify if file system exits, and then unmount the file system.
# umount /logs
11. Deport the disk group.
# vxdg deport logdata
To validate the VERITAS disk groups on nodes in the target disk site:
1. Login to the target disk site's 3PAR storage system. Stop the Remote Copy volume group and
reverse the direction of replication.
cli% setrcopygroup reverse -stopgroups <rc_volume_group_name>
2. Import the disk group on a node in the target disk site.
# vxdg -tfC import logdata
3. Start the logical volume in the disk group.
# vxvol -g logdata startall
4. Create a directory to mount the volume.
# mkdir /logs
5. Mount the volume.
# mount /dev/vx/dsk/logdata/logfile /logs
6. Verify if the file system is present, and then unmount the file system.
# umount /logs
7. Deport the disk group.
# vxdg deport logdata
Configuring LVM volume group and VxVM disk group 21