Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Minimizing your exposure to loss of data

The following topics discuss methods for minimizing the exposure to loss of data when using automatic SnapMirror updates of SnapManager backup sets:

Goal: More frequent mirror updates with minimal Snapshot overhead  Top

As described in SnapMirror replication for SnapManager is asynchronous, changes to the database that occurred on the source volume after the most recent SnapMirror replication update would not be on the destination volume if the source volume were to be lost.

One way to trigger more frequent SnapMirror updates would be to simply use SnapManager to schedule more frequent Snapshot copies of the LUNs containing the transaction logs. Increasing the frequency of SnapManager backup operations, though, increases the difficulty of managing the number of online Snapshot backup sets that are stored online at your primary site. This is described in Maximum number of Snapshot copies per volume.

As an alternative to increasing the frequency of SnapManager backups, you can use SnapDrive to initiate additional, more frequent SnapMirror replication updates. When SnapMirror replication is initiated directly from the SnapDrive command-line, as opposed to using the SnapMirror replication schedule or using SnapManager backups to automatically trigger SnapMirror updates, you can better manage the overhead that is incurred by creating additional Snapshot copies on the primary site.

Supplemental replication using rolling Snapshot copies  Top

When you use SnapDrive to initiate SnapMirror replication, rolling Snapshot copies are used. These Snapshot copies are created for the sole purpose of SnapMirror replication. You can use SnapDrive rolling Snapshots to supplement the automatic mirroring of SnapManager backup Snapshot copies with additional, more frequent SnapMirror replication updates of just the transaction logs. Exposure to data loss is minimized by narrowing the window during which data can be lost (from the time of the most recently completed SnapManager backup and mirrored Snapshot copy to the time of failure).

Advantages of SnapDrive rolling Snapshots

Using SnapDrive rolling Snapshots to augment your SnapMirror replication schedule for SnapManager offers the following advantages over increasing SnapManager backup operations:

For details about rolling Snapshot, see the SnapDrive Installation and Administration Guide for your version of SnapDrive.

Rolling Snapshots of all database files

When all the LUNs utilized by any database file are located in a single storage system volume, replicate all of the database files more frequently. This offers the following additional advantages:

If you augment your SnapManager backup schedule with supplemental SnapMirror replications of all database files, be aware of the following data recovery consideration: if the disaster on the main site has created a suspect database, then the database must be restored from backup, but the transaction log must be backed up using SnapManager before it is restored.

Rolling Snapshots of only the transaction log

In situations where it is not always practical to replicate all database files, replicate only the transaction log more frequently (by replicating the LUN where the logs are stored). This offers the following advantages:

To increase the frequency of the transaction log updates, use the SnapDrive command-line interface tool sdcli to schedule the additional SnapMirror replication updates through Windows Scheduled Tasks, specifying supplemental replication of the LUN where the transaction logs are stored.

If you augment your SnapManager backup schedule with supplemental SnapMirror replications of only the transaction log, be aware of the following data recovery considerations:

Supplemental mirroring of the transaction logs  Top

If you plan to augment your SnapManager backup schedule with supplemental SnapMirror replications of the transaction logs, your backup schedule requires additional planning.

Allow time for the backup to finish

Design your backup schedule so that a SnapMirror replication is not scheduled to start until the SnapManager backup operation has finished. Note that all three types of SnapManager Backup operations can be configured to trigger SnapMirror updates:

At a minimum, be sure to allow enough time for the actual SnapManager backup operation to finish before the SnapMirror update is initiated.

Allow time for the previous replication to finish

Be sure that the interval between SnapMirror replications allows enough time for the previous replication to finish.

Example of a backup and replication schedule

The following table shows an example of a schedule documenting the additional intervals when the volume containing the transaction logs is replicated.

Regularly scheduled SnapManager backup

Supplemental SnapMirror replication of transaction logs

7:00 a.m.

7:30 a.m.

8:30 a.m.

9:30 a.m.

10:30 a.m.

11:30 a.m.

12:30 p.m.

1:00 p.m.

1:30 p.m.

2:30 p.m.

3:30 p.m.

4:30 p.m.

5:30 p.m.

6:30 p.m.

7:30 p.m.

8:30 p.m.

9:30 p.m.

10:00 p.m.

10:30 p.m.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments