HP 3PAR Application Software Suite for Oracle User Manual

Page 120

Advertising
background image

3.

From the backup server, unmount the ASM diskgroups contained in the read-write virtual copy
volumes if ASM is in use.

Example:

SQL> alter diskgroup dgname dismount;

4.

From the backup server, depends on volume groups involved, the deport/export volume group
commands are slightly different, the following are some examples:

- For Symantec VxVM volume group, use the following command to deport the volume group:
# vxdg deport <diskgroup>
Example:
# vxdg import myvxvmdb_datadg

- For HP-UX logical volume groups, use the following command to deactivate and export volume group information

to a temporary file(the tmpfile will be used for later import):

# vgchange -a n <diskgroup_name>

# vgexport -m <tmpfile_name> <diskgroup_name>

Example:
# vgchange -a n lvmtest_datadg

# /vgexport -m /tmp/lvmtest_datadg.map lvmtest_datadg
- For Linux logical volume groups, use the following command to deactivate logical volumes and export volume

groups:

# lvchange -an /dev/rh6lvm-data/lvol0

# lvchange -an /dev/rh6lvm-data/lvol1

# vgexport rh6lvm-datavg

5.

From the HP 3PAR StoreServ Storage system, remove the VLUNs for the read-write virtual copy
volumes.

Example:

cli>removevlun sol0000000_rw_082312134324 101 pilot

6.

Keep the list of the VLUNs which are removed by the removevlun command. The cloned
database virtual volumes need to be exported to the same VLUNs on the backup server, if
needed.

7.

Perform rollback from the database read-write Virtual Copy from the backup server.

Example:

# rmora_rollback -s TEST920 -p pilot -t 042903142921 -w -v

After the above rmora_rollback operation, perform step 8 to step 12 from the database
server as described in section

“Rollback Using a Database Read-Only Virtual Copy” (page

117)

for the primary database. Then, perform following steps:

8.

From the HP 3PAR StoreServ Storage system, if needed, export the read-write virtual copy
volumes back to the backup server with the same VLUNs saved in step 6.

Example:

cli>createvlun sol0000000_rw_082312134324 101 pilot

9.

From the backup server, if needed, import disk groups contained in the read-write virtual copy
volumes and activate logical volumes and import/start volume groups:

- For Symantec VxVM volume groups:
# vxdg import <diskgroup>

# vxvol -g <diskgroup> startall
Example:
# vxdg import myvxvmdb_datadg

120 Using the Recovery Manager Rollback Utility

Advertising