VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
476 VERITAS Storage Foundation for Oracle Administrator’s Guide
Creating or Shutting Down a Clone Database Using dbed_vmclonedb
You can use the VERITAS Storage Foundation for Oracle dbed_vmclonedb command to create
or shutdown a clone database on either the primary or secondary host using snapshot volumes from
the primary host.
Prerequisites
When cloning a database on the primary host, the system administrator must create the initial
mount point prefix for the snapshot image (using the -r relocate_path option) and
change the owner of the mount point to the database administrator. If the -r
relocate_path option is not specified when creating the clone database on a secondary
host, all corresponding file system mount points from the primary host need to be created and
their owner changed to the database administrator.
Usage Notes
The dbed_vmclonedb command can be used on the primary or secondary host.
The dbed_vmclonedb command must be run by the Oracle database administrator.
See the dbed_vmclonedb(1M) manual page for more information.
Options
-S Specifies the ORACLE_SID, which is the name of the
Oracle database, for which a snapshot image will be
created.
-g Indicates the name of the disk group that contains all
snapshot volumes.
-o mount|mountdb|recoverdb Specifies what to do with the snapshot image. The -o
mount option mounts the file systems to do a
backup. The -o mountdb option starts the database
to allow manual database recovery. the -o
recoverdb option automatically recovers the
database.
-o umount Specifies what to do with the snapshot image. The -o
umount option unmounts all snapshot files. The -o
deport option deports the snapshot disk group.