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 list the site tags for a disk group

To remove a site tag from an enclosure or a disk group