Veritas Storage Foundation™ 5.0.1 for Oracle RAC Installation, Configuration, and Administrator's Guide Extracts for the HP Serviceguard Storage Management Suite on HP-UX 11i v3

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.
In this example, a snapplan, snap1, is created for a snapshot image in a single-host
configuration and default values are set. The host is named host1 and the working
directory is /export/snap_dir.
# cd /export/snap_dir
# /opt/VRTS/bin/dbed_vmchecksnap -S PROD -H /oracle/product/10g
-f snap1 -o setdefaults -t host1
Snapplan snap1 for PROD.
=====================================================
SNAPSHOT_VERSION=5.0
PRIMARY_HOST=host1
SECONDARY_HOST=host1
PRIMARY_DG=PRODdg
SNAPSHOT_DG=SNAP_PRODdg
ORACLE_SID=PROD
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 other 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 /10g -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
Creating a Snapplan (dbed_vmchecksnap) 67