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

Administering the Remote Mirror configuration
After the Remote Mirror site is configured, refer to the following sections for
additional tasks to maintain the configuration.
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.
To tag disks or enclosures with a site name
Assign a site name to one or more disks or enclosures, using 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 display the disks or enclosures registered to a site
To check which disks or enclosures are registered to a site, use the following
command:
# vxdisk [-g diskgroup] listtag
To remove the site tag from a disk or enclosure
To remove the site tag from a disk or enclosure, use the following command:
# vxdisk rmtag site=sitename \
disk disk1...|encl:encl_name encl:encl_name1...
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.
Administering sites and remote mirrors
Administering the Remote Mirror configuration
476