Veritas 5.0.1 Installation Guide, HP-UX 11i v3, First Edition, November 2009

1. Select the disk to be used as your new VxVM root disk.
HP recommends that this disk is internal to the main computer cabinet. If this is currently
an LVM disk, you must remove the disk from LVM control as follows:
Use the vgreduce command to remove the disk from any LVM volume groups to
which it belongs.
Use the lvremove command to remove any LVM volumes that are using the disk.
Use the pvremove command to erase the LVM disk headers
If the disk to be removed is the last disk in the volume group, use the vgremove command
to remove the volume group, and then use the pvremove command to erase the LVM disk
headers.
If the disk is not currently in use by any volume or volume group but has been initialized
by the pvcreate command, you must still use the pvremove command to remove LVM
disk headers.
If you want to mirror the root disk across multiple disks, ensure that all the disks are free
from LVM control.
2. Invoke the vxcp_lvmroot command to clone the LVM root disk to the disks you have
designated to be the new VxVM root disks, while started on the upgraded LVM root disk.
Following is an example vxcp_lvmroot command where c1t0d0 is used for the target
VxVM root disk:
# /etc/vx/bin/vxcp_lvmroot -v c1t0d0
To additionally create a mirror of the root disk on c2t0d0, use the following command:
# /etc/vx/bin/vxcp_lvmroot -v -m c2t0d0 c1t0d0
HP recommends that you use the verbose (-v) option to create the mirror of the root disk.
The process to clone the root disk takes a long time to complete and the -v option provides
a time-stamped progress indication of each copied volume and other major events.
3. Use the setboot command to save the hardware path of the new VxVM root disk in the
system. You can find the disk hardware paths using the following command:
# ioscan -kfnC disk
For information on the setbook command, see setboot(1M)
4. Reboot from the new VxVM root disk. If you have created a mirrored root disk, you need
not explicitly take backup of the root disk. The LVM root disk safely co-exists with your
VxVM root disk and provides a backup boot target.
5. Convert the original LVM root disk (if required) into a mirror of your VxVM root disk by
using the following commands:
# /etc/vx/bin/vxdestroy_lvmroot -v c2t0d0
# /etc/vx/bin/vxrootmir -v c2t0d0
After this operation is complete, the system runs on a completely mirrored VxVM root disk.
6. Use the vxres_lvmroot command to restore the LVM root disk, if required later.
Starting and Enabling the Configuration Daemon
The VxVM configuration daemon (vxconfigd) maintains VxVM disk and disk group
configurations. vxconfigd communicates configuration changes to the kernel and modifies
configuration information stored on disk. Startup scripts usually invoke vxconfigd at system
boot time. The vxconfigd daemon must be running for VxVM to operate properly.
40 Setting up the Veritas 5.0.1 Products