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...