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.
Before setting site-based allocation on a disk group, be sure to meet the following requirements:
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 turn on the site-based allocation requirement on a disk group
To remove the site-based allocation requirement on a disk group
# vxdg -g diskgroup [-f] rmsite sitename