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

To configure automatic site tagging for a disk group
1
Set the autotagging policy to on for the disk group. Automatic tagging is the
default setting, so this step is only required if the autotagging policy was
previously disabled.
To turn on autotagging, use the following command:
# vxdg [-g diskgroup] set autotagging=on
2
Assign the site name to an enclosure within the disk group, using the following
command:
# vxdg [-g diskgroup] settag encl:encl_name site=sitename
To list the site tags for a disk group
To list the site tags for a disk group, use the following command:
# vxdg -o tag=site listtag diskgroup
To remove a site tag from an enclosure or a disk group
To remove a site tag from a disk group, use the following command:
# vxdg [-g diskgroup] rmtag [encl:encl_name] site=sitename
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.
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:
477Administering sites and remote mirrors
Administering the Remote Mirror configuration