Veritas Storage Foundation 5.0 for Oracle RAC Configuration Guide Extracts for HP Serviceguard Storage Management Suite, Second Edition, May 2008

Using FlashSnap for Backup and Recovery
Validating a Snapplan (dbed_vmchecksnap)
Chapter 5
95
Validating a Snapplan (dbed_vmchecksnap)
After creating a snapplan, the next steps are to validate the snapplan parameters and
check whether the snapshot volumes have been configured correctly for creating
snapshots. If validation is successful, the snapplan is copied to the repository. The
snapplan is validated using the dbed_vmchecksnap command with the -o validate
option.
Consider the following prerequisites and notes before validating a snapplan:
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-D ORACLE_SID \
-H ORACLE_HOME -f SNAPPLAN -o validate
NOTE In a 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 the following example, a snapplan, snap1, is validated for a snapshot image in a
single-host configuration. The primary host is host1 and the working directory is
/export/snap_dir.
Table 5-5 Validating Snapplan Requirements
Prerequisites The database must be up and running while executing the
dbed_vmchecksnap command.
Usage Notes The dbed_vmchecksnap command must be run as the Oracle
database administrator.
After validating the snapplan, you have the option of modifying
the snapplan file to meet your storage configuration
requirements.
When using dbed_vmchecksnap to validate the snapplan and
storage, you can save the validation output. The system
administrator can use this information to adjust the storage
setup if the validation fails.
If a snapplan is updated or modified, you must revalidate it. It is
recommended that snapplans are revalidated when changes are
made in the database disk group.
•The dbed_vmchecksnap command can be used on the primary or
secondary host.
•See the dbed_vmchecksnap(1M) manual page for more
information.