Having configured site-based allocation on a disk group, turn on the site consistency requirement for a disk group by using the vxdg
command:
# vxdg -g
diskgroup
set siteconsistent=on
See "Configuring site-based allocation on a disk group" on page 439.
This command does not set the siteconsistent
attribute on existing volumes in the disk group. Although newly created volumes inherit the setting from the disk group, it does not change when the disk group setting is changed.
See "Configuring site consistency on a volume" on page 440.
All the disks in a disk group must be registered to one of the sites before you can set the siteconsistent
attribute on the disk group.
To verify whether site consistency has been enabled for a disk group, use the following command:
# vxdg list
diskgroup
| grep siteconsistent
To turn off the site consistency requirement for a disk group, use the following command:
# vxdg -g
diskgroup
set siteconsistent=off