Veritas Volume Manager 5.0.1 Administrator's Guide, HP-UX 11i v3, First Edition, November 2009

Configuring automatic site tagging for a disk group
Configure automatic site tagging if you want disks or LUNs to inherit the tag from
the enclosure. After you turn on automatic site tagging for a disk group, assign
the site names to the enclosures in the disk group. Any disks or LUNs added to
that disk group inherit the tag from the enclosure to which they belong.
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 display the setting for automatic site tagging for a disk group
To determine whether automatic site tagging is on for a disk group, use the
following command:
# vxprint -g diskgroup -F"%autotagging" diskgroup
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=sitename 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 tagging for disks or enclosures
To set up a Remote Mirror configuration, specify to which site each storage device
in the disk group belongs. Assign a site tag to one or more disks or enclosures. If
the disk or enclosure does not belong to a disk group, you must use this method
to assign a site tag.
Administering sites and remote mirrors
Configuring sites for storage
492