Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
427Administering sites and remote mirrors
Configuring site consistency on a disk group
The site name is not removed from the disks. If required, use the vxdisk rmtag command
to remove the site tag as described in “Configuring sites for hosts and disks” on page 426.
Configuring site consistency on a disk group
Having configured site-based allocation on a disk group as described in “Configuring
site-based allocation on a disk group” on page 426, turn on the site consistency
requirement for a disk group by using the
vxdg command:
# vxdg -g diskgroup set siteconsistent=on
Note: 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 427.
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
flags: siteconsistent
To turn off the site consistency requirement for a disk group, use the following command:
# vxdg -g diskgroup set siteconsistent=off
Configuring site consistency on a volume
To set the site consistency requirement when creating a volume, specify the
siteconsistent attribute to the vxassist make command, for example:
# vxassist [-g diskgroup] make volume size \
nmirror=4 siteconsistent={on|off}
By default, a volume inherits the value that is set on its disk group.
Note: By default, creating a site-consistent volume also creates an associated version 20
DCO volume, and enables Persistent FastResync on the volume. This allows faster
recovery of the volume during the reattachment of a site.
To turn on the site consistency requirement for an existing volume, use the following form
of the vxvol command:
# vxvol [-g diskgroup] set siteconsistent=on volume
To turn off the site consistency requirement for a volume, use the following command:
# vxvol [-g diskgroup] set siteconsistent=off volume