Veritas Storage Foundation for Oracle 5.0 Administrator's Guide, HP-UX 11i v3, Second Edition, December 2008
Note: Any mounted Storage Checkpoints need to be unmounted before running
dbed_vmclonedb -o umount.
To shut down the clone database and unmount all snapshot file systems
◆
Use the dbed_vmclonedb command as follows:
$ /opt/VRTS/bin/dbed_vmclonedb \
-o umount,new_sid=new_sid,server_name=svr_name \
-f SNAPPLAN [-r relocate_path]
In this example, the clone database is shut down and file systems are unmounted
for a clone on the same host as the primary database (a single-host configuration).
$ /opt/VRTS/bin/dbed_vmclonedb \
-o umount,new_sid=NEWPROD,server_name=orasvr -f snap1 -r /clone
dbed_vmclonedb started at 2004-04-02 15:11:22
NOTICE: Umounting /clone/prod_db.
NOTICE: Umounting /clone/prod_ar.
dbed_vmclonedb ended at 2004-04-02 15:11:47
In this example, the clone database is shut down, file systems are unmounted,
and the snapshot disk group is deported for a clone on a secondary host (a two-host
configuration).
$ /opt/VRTS/bin/dbed_vmclonedb \
-o umount,new_sid=NEWPROD,server_name=orasvr -f snap2
dbed_vmclonedb started at 2004-04-09 23:09:21
NOTICE: Umounting /clone/arch.
NOTICE: Umounting /clone/prod_db.
dbed_vmclonedb ended at 2004-04-09 23:09:50
Restarting a clone database
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.
273Using Database FlashSnap for backup and off-host processing
Cloning a database (dbed_vmclonedb)