If the clone database is down as a result of using dbed_vmclonedb -o umount
or rebooting the system, you can restart it with the -o restartdb
option.
Note
This option can only be used when a clone database is created successfully. If the clone database is recovered manually, -o update_status
must be run to update the status before -o restartdb
will work.
$ /opt/VRTS/bin/dbed_vmclonedb -S
ORACLE_SID
-g
snap_dg
\
In this example, the clone database is re-started on the same host as the primary database (a single-host configuration).
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg
\
-o restartdb,new_sid=NEWPROD -f snap1 -r /clone
dbed_vmclonedb started at 2004-04-02 15:14:49
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.
Oracle instance NEWPROD successfully started.
dbed_vmclonedb ended at 2004-04-02 15:15:19
In this example, the clone database is re-started on the secondary host (a two-host configuration).
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD -g SNAP_PRODdg
\
-o restartdb,new_sid=NEWPROD,SFDBvol=SNAP_arch -f snap2
dbed_vmclonedb started at 2003-04-09 23:03:40
/dev/vx/dsk/SNAP_PRODdg/SNAP_arch.
/dev/vx/dsk/SNAP_PRODdg/SNAP_prod_db.
Oracle instance NEWPROD successfully started.
dbed_vmclonedb ended at 2003-04-09 23:04:50