Site-based allocation requires that each volume has at least one plex at each site that is registered in the disk group. When you set the site-based allocation requirement for a disk group, each volume created has the allsites attribute set to on, by default. The allsites attribute indicates that the volume must have at least one plex on each site that is registered to the disk group. For new volumes, the read policy is set to siteread.
If site-based allocation is not required, or is not possible (as is the case for RAID-5 volumes), specify the allsites=off attribute to the vxassist command.
Before setting site-based allocation on a disk group, be sure to meet the following requirements:
The Site Awareness license must be installed on all the hosts in the Remote Mirror configuration
Each existing volume in the disk group must have at least one plex at each site. If this condition is not met, the command to turn on the site-based allocation fails. If the -f option is specified, the command does not fail, but instead it sets the allsites attribute for the volume to off.
To remove the site-based allocation requirement on a disk group
To remove the site-based allocation requirement from a site, use this command:
# vxdg -g diskgroup [-f] rmsite sitename
The -f option allows the requirement to be removed if the site is detached or offline.
The site name is not removed from the disks. If required, use the vxdisk rmtag command to remove the site tag.
More Information