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

3
Register a site record to the disk group, for each site.
# vxdg -g diskgroup [-f] addsite sitename
4
Do one of the following:
To tag all disks regardless of the disk group, do the following:
Assign a site name to the disks or enclosures. You can set site tags at the
disk level, or at the enclosure level. If you specify one or more enclosures,
the site tag applies to the disks in that enclosure that are within the disk
group. Enter the following command:
# vxdisk [-g diskgroup] settag site=sitename \
disk disk1... |encl:encl_name encl:encl_name1...
where the disks can be specified either by the disk access name or the disk
media name.
To autotag new disks added to the disk group based on the enclosure to
which they belong, perform the following steps in the order presented.
These steps are limited to disks in a single group.
Set the autotagging policy to on for the disk group, if required.
Automatic tagging is the default setting, so this step is only required
if the autotagging policy was previously disabled. To turn on
autotagging, enter the following command:
# vxdg [-g diskgroup] set autotagging=on
Add site-enclosure mapping information to the diskgroup for each
site-enclosure combination. Enter the following command:
# vxdg [-g diskgroup] settag encl:encl_name1 site=sitename1
As a result of this command, all disks of enclosure encl_name1 in the
specified disk group are tagged with site information.
5
Turn on the site consistency requirement for a disk group:
# vxdg -g diskgroup set siteconsistent=on
473Administering sites and remote mirrors
Configuring a new disk group as a Remote Mirror configuration