VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Appendix A, VERITAS Storage Foundation for Oracle Command Line Interface
Prerelease 8 September 2005, 8:55am Examples of Using the Command Line Interface
461
Creating, Resynchronizing, or Reverse Resynchronizing a Snapshot
Database Using dbed_vmsnap
You can use the VERITAS Storage Foundation for Oracle dbed_vmsnap command to create a
snapshot image of an Oracle database. The snapshot can be used locally or on another host that is
physically attached to the shared storage. You can also resynchronize the snapshot image back to
the primary database.
Prerequisites
◆ You must be logged in as the Oracle database administrator.
◆ You must create and validate a snapplan using dbed_vmchecksnap before you can create a
snapshot image with dbed_vmsnap.
Usage Notes
◆ The dbed_vmsnap command can only be used on the primary host.
◆ If possible, do not share volumes between Oracle database files and other software.
◆ When creating a snapshot volume, create the snapshot on a separate controller and on separate
disks from the primary volume.
◆ Make sure your archive log destination is separate from your Oracle database volumes.
◆ Do not place any datafiles, including control files, in the $ORACLE_HOME/dbs directory.
◆ Resynchronization speed varies based on the amount of data changed in both the primary and
secondary volumes when the mirror is broken off.
◆ See the dbed_vmsnap(1M) manual page for more information.
Options
-S ORACLE_SID Specifies the ORACLE_SID, which is the name of the Oracle
database, for which a snapshot image will be created.
-f SNAPPLAN Specifies the name of the snapplan you are using.
-o snapshot [-F] | resync Specifies whether to create a snapshot or synchronize the snapshot
image with the current database image. The -F option prepares the
volumes for being snapshot and forces snapshot creation.
-o reverse_resync_begin Begins reverse resynchronization.