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
Creating a Snapplan (dbed_vmchecksnap)
Chapter 5
90
Before creating a snapplan, make sure the following conditions have been met:
To create a snapplan
1. Change directories to the working directory you want to store your snapplan in.
$ cd /working_directory
2. Create a snapplan with default values using the dbed_vmchecksnap command:
$ /opt/VRTS/bin/dbed_vmchecksnap -S ORACLE_SID \
-H ORACLE_HOME -f SNAPPLAN -o setdefaults -t host_name \
[-p PLEX_TAG]
3. Open the snapplan file in a text editor and modify it as needed.
Table 5-4 Snapplan Requirements
Prerequisites • You must have configured the storage for Database
Flashsnap.You must be the Oracle database administrator.
• The disk group must be version 110 or later. For more
information on disk group versions, see the vxdg(1M) manual
page.
• Be sure that a DCO and DCO volume are associated with the
volume for which you are creating the snapshot.
• Snapshot plexes and their associated DCO logs should be on
different disks than the original plexes, and should be
configured correctly for creating snapshots by the system
administrator.
• Persistent FastResync must be enabled on the existing
database volumes and disks must be assigned for the snapshot
volumes.
• The database must be running in archive log mode. Archive log
mode is set in the Oracle initialization parameter file (init.ora).
• The Oracle database must have at least one mandatory archive
destination.ORACLE_HOME cannot reside on disk which will be
used for snapshot.
Usage Notes • The snapplan must be created on the primary host.
• After creating the snapplan using the dbed_vmchecksnap
command, you can use a text editor to review and update the
file, if necessary.
• It is recommended that you create a local working directory to
store your snapplans in.
•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.