HP Application Recovery Manager software A.06.10 Administrator's guide (March 2008)

1. Reduce the mirrors using the lvreduce command. Only the mirror copy that
was backed up should remain.
Example
If the VG01 volume group contains a logical volume lvol1, which contains the
disks /dev/dsk/c12t0d0 and /dev/dsk/c12t0d1 (belonging to PVG-2),
and /dev/dsk/c15t0d0 and /dev/dsk/c15t0d1 (belonging to PVG-1),
reduce the volume to contain only disks from PVG-2:
lvreduce -m 0 /dev/vg01/lvol1 /dev/dsk/c15t0d0
lvreduce -m 0 /dev/vg01/lvol2 /dev/dsk/c15t0d1
You can also check the output using the lvdisplay command.
2. Perform instant recovery using the Application Recovery Manager GUI or CLI.
For instructions, see Instant recovery procedure on page 48.
NOTE:
If the Check the data configuration consistency option is selected, instant
recovery will fail, as the configuration of the volume group has changed.
Therefore, disable this option before instant recovery.
3. Extend the mirror to include PVG-1 in the logical volume. The mirror is created
again to include both volume groups.
Example
To extend the logical volume to contain two mirrors as in the original setup,
execute:
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c15t0d0
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c15t0d1
This way, lvol1 contains the disks /dev/dsk/c15t0d0 and lvol2 contains
the disks /dev/dsk/c15t0d1 as a mirrored copy.
Instant recovery in a cluster
For information on instant recovery with an application or filesystem running on
MC/ServiceGuard or Microsoft Cluster Serve, see Cluster configurations on page
99 for instructions.
Restore56