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
Summary of Database Snapshot Steps
Chapter 5
84
The dbed_vmchecksnap command can also be used to perform the tasks listed in
Table 5-2.
3. Use the dbed_vmsnap command to create snapshot volumes for the database.
4. On the secondary host, use the dbed_vmclonedb command to create a clone database
using the disk group deported from the primary host.
If the primary and secondary hosts specified in the snapplan are different, the
dbed_vmclonedb command imports the disk group that was deported from the
primary host, recovers the snapshot volumes, mounts the file systems, recovers the
database, and brings the database online with a different Oracle SID name than the
primary host. If the secondary host is different, the database name can be same. You
can use the -o recoverdb option to let dbed_vmclonedb perform an automatic
database recovery, or you can use the -o mountdb option to perform your own
point-in-time recovery and bring up the database manually. For a point-in-time
recovery, the snapshot mode must be online.
You can also create a clone on the primary host. Your snapplan settings specify
whether a clone should be created on the primary or secondary host.
5. You can now use the clone database to perform database backup and other off-host
processing work.
6. The clone database can be used to reverse resynchronize the original volume from
the data in the snapshot, or can be discarded by rejoining the snapshot volumes with
the original volumes (that is, by resynchronizing the snapshot volumes) for future
use. depicts the sequence of steps leading up to taking a snapshot using Database
FlashSnap.
Figure 5-3 depicts the sequence of steps leading up to taking a snapshot using Database
FlashSnap.
Table 5-2 dbed_vmchecksnap Command Options
Task Command Option
List all snapplans associated with a specific
ORACLE_SID
dbed_vmchecksnap -o list
Remove the snapplan from the VxDBA
repository
dbed_vmchecksnap -o remove -f
SNAPPLAN
Copy a snapplan from the VxDBA repository
to your local directory
dbed_vmchecksnap -o copy -f
SNAPPLAN