Veritas Storage Foundation™ for Oracle 5.0.1 Administrator's Guide

To validate a snapplan
1
Change directories to the working directory your snapplan is stored in:
$ cd /working_directory
2
Validate the snapplan using the dbed_vmchecksnap command:
$ /opt/VRTS/bin/dbed_vmchecksnap -S ORACLE_SID \
-H ORACLE_HOME -f SNAPPLAN -o validate
In an HA environment, you must modify the default snapplan, use the virtual
host name defined for the resource group for the PRIMARY_HOST and/or
SECONDARY_HOST, and run validation. In an Oracle RAC configuration both
primary and secondary hosts need to be set to the host name of the CVM
master node.
In the following example, a snapplan, snap1, is validated for a snapshot image in
a single-host or Oracle RAC cluster configuration. The primary host is host1 and
the working directory is /export/snap_dir.
$ cd /export/snap_dir
$ /opt/VRTS/bin/dbed_vmchecksnap -S PROD -H /oracle/product/9i \
-f snap1 -o validate
The output produced in case of a single disk group environment:
PRIMARY_HOST is host1
SECONDARY_HOST is host1
The version of PRIMARY_DG-PRODdg is 140.
SNAPSHOT_DG is SNAP_PRODdg
SNAPSHOT_MODE is online
The database is running in archivelog mode.
ARCHIVELOG_DEST is /prod_ar
SNAPSHOT_PLAN_FOR is database
SNAPSHOT_ARCHIVE_LOG is yes
ARCHIVELOG_DEST=/prod_ar is mount on /dev/vx/dsk/PRODdg/prod_ar.
Examining Oracle volume and disk layout for snapshot
Using Database FlashSnap for backup and off-host processing
Validating a snapplan (dbed_vmchecksnap)
264