VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
478 VERITAS Storage Foundation for Oracle Administrator’s Guide
To create and recover a clone database on a secondary host
Use the dbed_vmclonedb command as follows:
$ dbed_vmclonedb -S PROD -g SNAP_PRODdg -o \
recoverdb,new_sid=NEWPROD,vxdbavol=SNAP_vxdba01
dbed_vmclonedb started at 2002-03-11 12:36:46
Mounting /prod_db on /dev/vx/dsk/SNAP_PRODdg/SNAP_ORACLE1.
Mounting /prod_ar on /dev/vx/dsk/SNAP_PRODdg/SNAP_prod_ar.
NEWPROD can only be brought up with the same db_name as PROD
Database PROD (SID=NEWPROD) is running.
dbed_vmclonedb ended at 2002-03-11 12:37:43
To start and recover a clone database on the same host
Use the dbed_vmclonedb command as follows:
$ dbed_vmclonedb -S 815 -g SNAP_oradg -o recoverdb,new_sid=NEW_815 \
-r /snapdb
dbed_vmclonedb started at 2002-03-11 12:11:34
Mounting /snapdb/share/oradata1_815 on
/dev/vx/dsk/SNAP_oradg/SNAP_oradata1_815.
Mounting /snapdb/share/oradata2_815 on
/dev/vx/dsk/SNAP_oradg/SNAP_oradata2_815.
Mounting /snapdb/share/oradata3_815 on
/dev/vx/dsk/SNAP_oradg/SNAP_oradata3_815.
Mounting /snapdb/share/archivelog_815 on
/dev/vx/dsk/SNAP_oradg/SNAP_archivelog_815.
Eliding remote_login_passwordfile in initNEW_815.ora.
All redo-log files found.
Database NEW_815 (SID=NEW_815) is running.
dbed_vmclonedb ended at 2002-03-11 12:12:23
To shutdown and unmount a clone database on a secondary host
Use the dbed_vmclonedb command as follows:
$ dbed_vmclonedb -o umount,new_sid=NEWPROD
dbed_vmclonedb started at 2002-03-11 12:40:05
Oracle instance successfully shut down.
Umounting /prod_db.
Umounting /prod_ar.
dbed_vmclonedb ended at 2002-03-11 12:40:16