Veritas Storage Foundation for Oracle 5.0 Administrator's Guide, HP-UX 11i v3, Second Edition, December 2008

ARCHIVELOG_DEST=/prod_ar
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
SNAPSHOT_PLAN_FOR=database
SNAPSHOT_PLEX_TAG=dbed_flashsnap
SNAPSHOT_VOL_PREFIX=SNAP_
ALLOW_REVERSE_RESYNC=no
SNAPSHOT_MIRROR=1
In this example, a snapplan, snap2, is created for a snapshot image in a two-host
configuration, and default values are set. The primary host is host1, the secondary
host is host2, and the working directory is /export/snap_dir.
$ cd /export/snap_dir
$ /opt/VRTS/bin/dbed_vmchecksnap -S PROD -H /oracle/product/9i \
-f snap2 -o setdefaults -t host2
Snapplan snap2 for PROD.
=====================================================
SNAPSHOT_VERSION=5.0
PRIMARY_HOST=host1
SECONDARY_HOST=host2
PRIMARY_DG=PRODdg
SNAPSHOT_DG=SNAP_PRODdg
ORACLE_SID=PROD
ARCHIVELOG_DEST=/mytest/arch
SNAPSHOT_ARCHIVE_LOG=yes
SNAPSHOT_MODE=online
SNAPSHOT_PLAN_FOR=database
SNAPSHOT_PLEX_TAG=dbed_flashsnap
SNAPSHOT_VOL_PREFIX=SNAP_
ALLOW_REVERSE_RESYNC=no
SNAPSHOT_MIRROR=1
By default, a snapplans SNAPSHOT_PLEX_TAG value is set as dbed_flashsnap. You
can use the -p option to assign a different tag name. Use the -p option when
creating the snapplan with the setdefaults option.
In the following example, the -p option is used with setdefaults to assign my_tag
as the SNAPSHOT_PLEX_TAG value.
# dbed_vmchecksnap -S $ORACLE_SID -H $ORACLE_HOME -o setdefaults \
-p my_tag -f snap1 -t host2
Using Database FlashSnap for backup and off-host processing
Creating a snapplan (dbed_vmchecksnap)
252