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
Resynchronizing the Snapshot to Your Database
Chapter 5
115
Resynchronizing the Snapshot to Your Database
When you have finished using a clone database or want to refresh it, you can
resynchronize it with the original database. This is also known as refreshing the
snapshot volume or merging the split snapshot image back to the current database
image. After resynchronizing, the snapshot can be retaken for backup or
decision-support purposes.
You can resynchronize the snapshot from the original volume.
NOTE You cannot access Database FlashSnap commands (dbed_vmchecksnap, dbed_vmsnap,
and dbed_vmclonedb) with the SFDB menu utility.
To resynchronize the snapshot image
•Use the dbed_vmsnap command as follows:
$ /opt/VRTS/bin/dbed_vmsnap -S ORACLE_SID -f SNAPPLAN -o resync
In this example, the snapshot image is resynchronized with the primary database.
$ /opt/VRTS/bin/dbed_vmsnap -S PROD -f snap1 -o resync
dbed_vmsnap started at 2006-03-02 16:19:05
The option resync has been completed.
dbed_vmsnap ended at 2006-03-02 16:19:26
Now, you can again start creating snapshots.
Table 5-11 Resynchronize Snapshot Notes
Prerequisites You must be logged in as the Oracle database administrator.
Before you can resynchronize the snapshot image, you must
validate a snapplan and create a snapshot. I
f a clone database has been created, shut it down and unmount
the file systems using the dbed_vmclonedb -o umount
command. This command also deports the disk group if the
primary and secondary hosts are different.
The Oracle database must have at least one mandatory archive
destination.
Usage Notes The dbed_vmsnap command can only be executed on the primary
host.
In a two-host configuration, the dbed_vmsnap command imports
the disk group that was deported from the secondary host and
joins the disk group back to the original disk group. The snapshot
volumes again become plexes of the original volumes. The
snapshot is then resynchronized.
•See the dbed_vmsnap(1M) manual page for more information.