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

Use the following commands to reattach a site and recover the disk group:
# vxdg -g diskgroup [-o overridessb] reattachsite sitename
# vxrecover -g diskgroup
It may be necessary to specify the -o overridessb option if a serial split-brain
condition is indicated.
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 need to explicitly change the site name for each host
that belongs to that site.
See Resetting the site name for a host on page 475.
To rename the site
Specify the new site name as follows:
# vxdg [-g diskgroup] renamesite old_sitename new_sitename
Resetting the site name for a host
If you rename a site, you need to explicitly set each host to refer to the new site
name.
To reset a site name for a host
1
Remove the site name from a host:
# vxdctl [-F] unset site
The -F option is required if any imported disk groups are registered to the
site.
2
Set the new site name for the host.
# vxdctl set site=sitename
3
Verify the new site name:
# vxdctl list
475Administering sites and remote mirrors
Changing the site name