Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

Table A-5
Options for creating a snapplan (continued)
DescriptionOption
Validates each parameter in the snapplan and checks
whether the snapshot volumes have been configured
correctly for creating snapshots, and copies the snapplan
to the repository.
-o validate
Lists all the snapplans associated with a specific
$ORACLE_SID.
-o list
Copies the snapplan from the repository to your current
local directory.
-o copy
Removes the snapplan from the repository.-o remove
Specifies the name of the host to which the snapshot image
will be deported. If it is the same as the primary server, the
snapshot volumes will not be deported. This argument is
required if -o setdefaults is used. It is ignored if
specified for -o validate.
In Oracle RAC, SECONDARY_HOST specifies the host name
for the CVM master node in a single host environment and
the host name of the CVM slave node in an offhost
environment.
-t SECONDARY_HOST
Specifies the tag name for the plexes used to create the
snapshot. This argument is required if -o setdefaults
is used.
-p plex_tag
To create a snapplan and set the default values for a single host or an Oracle RAC
cluster
Use the dbed_vmchecksnap command as follows:
$ /opt/VRTS/bin/dbed_vmchecksnap -S PROD -H /oracle/product/9i \
-f snap1 -o setdefaults -t host1
SNAPSHOT_VERSION=5.0
PRIMARY_HOST=host1
SECONDARY_HOST=host1
PRIMARY_DG=PRODdg
ORACLE_SID=PROD
ARCHIVELOG_DEST=/prod_ar
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
353Veritas Storage Foundation for Oracle Command Line Interface
About the command line interface