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
455
◆ See the dbed_vmchecksnap(1M) online manual page for more information.
◆ If the SNAPSHOT_MODE for the database is set to online, the primary and secondary hosts can be
the same. If the
SNAPSHOT_MODE is set to offline or instant, the primary and secondary
hosts must be different.
Options
▼ To create a snapplan and set the default values for a single host
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=4.0
-S Specifies the ORACLE_SID, which is the name of the Oracle database, for
which a snapshot image will be created.
-H Specifies the Oracle home directory that corresponds to the ORACLE_SID.
-f SNAPPLAN Specifies the local path or the full path of the snapplan that you are creating.
-o setdefaults Creates a default snapplan. This option can be used with the -o validate
option to validate that the configuration is correct. See “Summary of Database
Snapshot Steps” on page 216 for descriptions of the snapplan parameters.
-o validate 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 list Lists all the snapplans associated with a specific $ORACLE_SID.
-o copy Copies the snapplan from the repository to your current local directory.
-o remove Removes the snapplan from the repository and your local directory.
-t SECONDARY_HOST 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.
[-p PLEX_TAG] Specifies the tag name for the plexes used to create the snapshot. If it is not
specified, dbed_flashsnap is used as the default plex tag.