Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

This command has no effect if a site name has not been set for the host.
See Changing the read policy for mirrored volumes on page 370.
Making an existing disk group site consistent
The site consistency feature requires that a license enabling the site awareness
feature has been purchased for all hosts at all sites that participate in the
configuration.
To make an existing disk group site consistent
1
Ensure that the disk group is updated to at least version 140 by running the
vxdg upgrade command on it:
# vxdg upgrade diskgroup
2
On each host that can access the disk group, define the site name:
# vxdctl set site=sitename
3
Tag all the disks in the disk group with the appropriate site name:
# vxdisk [-g diskgroup] settag site=sitename disk1 disk2
Or, to tag all the disks in a specified enclosure, use the following command:
# vxdisk [-g diskgroup] settag site=sitename
encl:encl_name
4
Use the vxdg move command to move any unsupported RAID-5 volumes to
another disk group. Alternatively, use the vxassist convert commands to
convert the volumes to a supported layout such as mirror or mirror-stripe.
You can use the site and mirror=site storage allocation attribute to ensure
that the plexes are created on the correct storage.
5
Use the vxevac command to ensure that the volumes have at least one plex
at each site. You can use the site and mirror=site storage allocation attribute
to ensure that the plexes are created on the correct storage.
See the vxevac(1m) manual page.
6
Register a site record for each site with the disk group:
# vxdg -g diskgroup addsite sitename
471Administering sites and remote mirrors
Making an existing disk group site consistent