Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Using FlashSnap for Backup and Recovery
Cloning a Database (dbed_vmclonedb)
Chapter 5
111
NOTE When cloning a database on a secondary host, ensure that PRIMARY_HOST and
SECONDARY_HOST parameters in the snapplan file are different.
When the -o recoverdb option is used with dbed_vmclonedb, the clone database is
recovered automatically using all available archive logs. If the -o recoverdb option is
not used, you can perform point-in-time recovery manually.
In the following example, a clone of the primary database is automatically created on
the same host as the primary database.
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg \
-o recoverdb,new_sid=NEWPROD -f snap1 -r /clone
dbed_vmclonedb started at 2006-03-02 14:42:10
Mounting /clone/prod_db on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_db.
Mounting /clone/prod_ar on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_ar.
All redo-log files found.
Altering instance_name paramter in initpune.ora.
Altering instance_number paramter in initpune.ora.
Altering thread paramter in initpune.ora.
Starting automatic database recovery.
Database NEWPROD (SID=NEWPROD) is running.
dbed_vmclonedb ended at 2006-03-02 14:43:05
In the following example, a clone of the primary database is automatically created on
a secondary host.
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg \
-o recoverdb,new_sid=NEWPROD,vxdbavol=SNAP_arch -f snap2
dbed_vmclonedb started at 2006-03-09 23:03:40
Mounting /clone/arch on /dev/vx/dsk/SNAP_PRODdg/SNAP_arch.
Mounting /clone/prod_db on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_db.
All redo-log files found.
Altering instance_name paramter in initpune.ora.
Altering instance_number paramter in initpune.ora.
Altering thread paramter in initpune.ora.
Starting automatic database recovery.
Database NEWPROD (SID=NEWPROD) is running.
relocate_path Represents the name of the initial mount point for the snapshot
image.
Table 5-10 dbed_vmclonedb command options (Continued)