beautypg.com

HP 3PAR Application Software Suite for Oracle User Manual

Page 152

background image

4.

Rollback the read-write Virtual Copy to the base volumes from the remote system S336. Promote
the read-write Virtual Copy to its base volume by issuing the rmora_rollback -w command.
a.

The rmora_rollback command with the -w option requires LUNs to be removed for
the base volumes. In this example, the Virtual Copy used to clone the database is
060311173319.

S336# showvlun -t -host pe2950-24 | grep 060311173319| awk '{print " removevlun

-f "$2" "$1" "$3}'

removevlun -f sol0000000_aw_060311173319 4 pe2950-24

removevlun -f sol0000000_rw_060311173319 5 pe2950-24

removevlun -f sol0000001_aw_060311173319 6 pe2950-24

removevlun -f sol0000001_rw_060311173319 7 pe2950-24

removevlun -f sol0000002_aw_060311173319 8 pe2950-24

removevlun -f sol0000002_rw_060311173319 9 pe2950-24

removevlun -f sol0000003_rw_060311173319 10 pe2950-24

b.

Issue the commands from S336 to remove the LUNs used by the cloned database.

c.

Ensure all Remote Copy groups are stopped before issuing the rmora_rollback
command. This command performs the rollback, which promotes the changes from the
read-write Virtual Copy to the base volumes from the remote system S336.

pe2950-24:# rmora_rollback -s ASM11GR21 -p dl160g6-13 -t 060311173319 -v -w

-f

Verifying ssh between the backup server and the HP 3PAR Storage system ...

Initiating rollback process using the Virtual Copy '060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000000_rw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000001_rw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000002_rw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000003_rw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000000_aw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000001_aw_060311173319' ...

Initiating rollback process for Virtual Copy volume

'sol0000002_aw_060311173319' ...

Waiting for rollback process to complete ...

The rollback process for the Virtual Copy volume 'sol0000000_rw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000001_rw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000002_rw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000003_rw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000000_aw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000001_aw_060311173319'

is completed.

The rollback process for the Virtual Copy volume 'sol0000002_aw_060311173319'

is completed.

The rollback process for the Virtual Copy '060311173319' is completed

successfully.

The binary and the ascii control file are located in:

/etc/3par/solutions/dl160g6-13.ora.ASM11GR21/060311173319

152

Case Study: Remote Copy with Recovery Manager for Oracle