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

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...
Changing the site name
You can change the site name, or tag, that is used to identify each site in a Remote
Mirror configuration. Renaming the site changes the site record in the disk group.
The site name is also changed for all of the disks and enclosures that are tagged
with the existing site name.
After you rename a site, you may need to explicitly change the site name for each
host that belongs to that site.
See Configuring sites for hosts on page 491.
To rename the site
Specify the new site name as follows:
# vxdg [-g diskgroup] renamesite old_sitename new_sitename
Configuring site-based allocation on a disk group
Site-based allocation requires that each volume has at least one plex at each site
that is registered in the disk group. When you set the site-based allocation
493Administering sites and remote mirrors
Changing the site name