Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

To clone the primary database on a secondary host automatically in a two-host
configuration
Use the dbed_vmclonedb command as follows:
$ /opt/VRTS/bin/dbed_vmclonedb -S PROD \
-o recoverdb,new_sid=NEWPROD,server_name=orasvr -f snap2
dbed_vmclonedb started at 2009-05-26 09:29:39
Editing remote_login_passwordfile in initclone1.ora.
All redo-log files found.
Altering instance_name parameter in initclone1.ora.
Altering instance_number parameter in initclone1.ora.
Altering thread parameter in initclone1.ora.
Database CLONE1 (SID=clone1) is running.
dbed_vmclonedb ended at 2009-05-26 09:32:16
Warning: This procedure does not apply to Veritas Storage Foundation for
Oracle RAC.
To clone the primary database manually in a single-host configuration or a RAC
cluster
1
Mount the file systems.
2
Create a clone using the dbed_vmclonedb command.
$ dbed_vmclonedb -S FLAS11r1 -o mountdb \
new_sid=test5cln,server_name=slias19 -f snap1 -r /tmp/test5cln
dbed_vmclonedb started at 2009-04-07 18:16:01
Editing remote_login_passwordfile in inittest5cln.ora.
All redo-log files found.
Altering instance_name parameter in inittest5cln.ora.
Altering instance_number parameter in inittest5cln.ora.
Altering thread parameter in inittest5cln.ora.
Database TEST5CLN (SID=test5cln) is in recovery mode.
If the database test5cln is recovered manually, you must run
dbed_vmclonedb -o update_status to change the snapshot status.
dbed_vmclonedb ended at 2009-04-07 18:17:58
367Veritas Storage Foundation for Oracle Command Line Interface
About the command line interface