Follow the procedure to configure VxVM disk groups for remote mirroring.
See the Storage Foundation Cluster File System High Availability Administrator's Guide for more information on the VxVM commands.
You can also configure VxVM disk groups for remote mirroring using Veritas InfoScale Operations Manager.
To configure VxVM disk groups for campus cluster configuration
# vxdctl set site=sitename
The site name is stored in the /etc/vx/volboot file. Use the following command to display the site names:
# vxdctl list | grep siteid
# vxdisk settag site=sitename encl:enclosure
To tag specific disks, use the following command:
# vxdisk settag site=sitename disk
# vxdisk listtag
# vxdg -s init diskgroup siteA_disk1 siteB_disk2
# vxdg -g diskgroup addsite sitename
# vxdg -g diskgroup set siteconsistent=on
# vxassist -g diskgroup make volume size nmirror=1/2
With the Site Awareness license installed on all hosts, the volume that you create has the following characteristics by default:
The allsites attribute is set to on; the volumes have at least one plex at each site.
The volumes are automatically mirrored across sites.
The read policy rdpol is set to siteread.
The volumes inherit the site consistency value that is set on the disk group.