VERITAS Storage Foundation 4.1 Oracle Administrator's Guide

Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
464 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
You must be logged in as the Oracle database administrator to use dbed_vmclonedb
command.
Before you can use the dbed_vmclonedb command, you must complete the steps in
Summary of Database Snapshot Steps” on page 216, “Validating a Snapplan
(dbed_vmchecksnap)” on page 229, and “Creating a Snapshot (dbed_vmsnap)” on page 235.
The volume snapshot must contain the entire database.
The system administrator must provide the database administrator with access to the necessary
volumes and mount points.
Before you can use the dbed_vmclonedb command with the -r relocate_path
option (which specifies the initial mount point for the snapshot image), the system
administrator must create the mount point and then change the owner to the Oracle database
administrator.
If SNAPSHOT_MODE is set to offline or instant, a two-host configuration is required
and -r relocate_path is not allowed.
Usage Notes
The dbed_vmclonedb command can be used on the secondary host.
In a single-host configuration, the primary and secondary hosts can be the same.
In a single-host configuration, -r relocate_path is required.
In a two-host configuration, the vxdbavol=vol_name option is required.
Database FlashSnap commands are integrated with Storage Checkpoint functionality. It is
possible to display and mount Storage Checkpoints carried over with snapshot volumes to a
secondary host. However limitations apply. For details, see “Mounting the Snapshot Volumes
and Backing Up” on page 241.
See the dbed_vmclonedb(1M) manual page for more information.