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
To turn on autotagging, use the following command:
# vxdg [-g diskgroup] set autotagging=on
# vxdg [-g diskgroup] settag encl:encl_name site=sitename