VERITAS Storage Foundation 4.1 Oracle Administrator's Guide
Examples of Using the Command Line Interface Prerelease 8 September 2005, 8:55am
482 VERITAS Storage Foundation for Oracle Administrator’s Guide
Using Snapplans
A snapplan specifies snapshot scenarios for an Oracle database (such as online or offline, and so
forth). The user specifies the name of the snapplan. You can use the dbed_vmchecksnap -o
setdefaults option to create the snapplan and set the default values of the parameters.
Prerequisites
◆ Before using the dbed_vmsnap command to create the snapshot image, you must use
dbed_vmchecksnap to create and validate the snapplan. Each entry in the snapplan file is a
line in parameter=argument format.
Usage Notes
◆ See the dbed_vmsnapplan(1M) manual page for more information.
When using dbed_vmchecksnap to create (or validate) a snapplan, the following parameters
are set:
Parameter Value
PRIMARY_HOST The name of the host where the primary database resides.
SECONDARY_HOST The name of the host where the database will be imported. If the
primary and secondary hosts are the same, the snapshot volumes
will not be deported.
PRIMARY_DG The name of the VxVM disk group used by the primary database.
SNAPSHOT_DG The name of the disk group containing the snapshot volumes.
The snapshot volumes will be put into this disk group on the
primary host and deported if the primary and secondary hosts are
different. The secondary host will import this disk group to start a
clone database.
ORACLE_SID The Oracle system identifier.
ORACLE_HOME The Oracle home directory.
ARCHIVELOG_DEST The full path of the archive logs.
There are several archive log destinations that can be used for
database recovery if you are multiplexing the archive logs. You
must specify which archive log destination to use.
It is recommended that you have the archive log destination on a
separate volume if SNAPSHOT_ARCHIVE_LOG is yes.