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

To temporarily move the boot disk group, bootdg, from one host to another (for
repair work on the root volume, for example) and then move it back
1
On the original host, identify the disk group ID of the bootdg disk group to
be imported with the following command:
# vxdisk -g bootdg -s list
dgname: rootdg
dgid: 774226267.1025.tweety
In this example, the administrator has chosen to name the boot disk group
as rootdg. The ID of this disk group is 774226267.1025.tweety.
This procedure assumes that all the disks in the boot disk group are accessible
by both hosts.
2
Shut down the original host.
3
On the importing host, import and rename the rootdg disk group with this
command:
# vxdg -tC -n newdg import diskgroup
The -t option indicates a temporary import name, and the -C option clears
import locks. The -n option specifies an alternate name for the rootdg being
imported so that it does not conflict with the existing rootdg. diskgroup is
the disk group ID of the disk group being imported (for example,
774226267.1025.tweety).
If a reboot or crash occurs at this point, the temporarily imported disk group
becomes unimported and requires a reimport.
4
After the necessary work has been done on the imported disk group, deport
it back to its original host with this command:
# vxdg -h hostname deport diskgroup
Here hostname is the name of the system whose rootdg is being returned
(the system name can be confirmed with the command uname -n).
This command removes the imported disk group from the importing host
and returns locks to its original host. The original host can then automatically
import its boot disk group at the next reboot.
215Creating and administering disk groups
Renaming a disk group