Guidelines for Protecting Data using HP StorageWorks Storage Mirroring with Volume Shadow Copy Service (VSS) (T2558-96332, March 2009)
Figure 3 SAMPLE_POSTSNAPSHOT.TXT
.
4. Create a batch file to run this script using the following
POSTSNAPSHOT.BAT
sample batch file.
Figure 4 SAMPLE_POSTSNAPSHOT.BAT
.
5. Run presnapshot.bat before starting your snapshot and run postsnapshot.bat after the
snapshot is complete.
NOTE:
’ You can also incorporate these two scripts into an automated script that can be scheduled to
run at the desired time through Windows Task Scheduler.
’ Depending on the length of time required to complete your snapshot, Storage Mirroring may
not be able to queue all of the replication data. If the queue has reached the maximum size
limit, Storage Mirroring will automatically disconnect the connections and attempt to reconnect
them. This is called an auto-disconnect. If you are experiencing frequent auto-disconnects
because the queues have reached the maximum limit while the snapshot is processing, you
can:
’ Increase the amount of disk space on the volume where the Storage Mirroring queue is
located or move the extended queue to a larger volume
’ Disable auto-reconnect and reconnect manually or in a post-snapshot DTCL script (It may
also be desirable to script a DTCL disconnect command in a pre-snapshot script and re-
connect in the post-snapshot script)
’ Create a DTCL script to disconnect Storage Mirroring before the snapshot and reconnect
and remirror after the snapshot is complete
See the HP StorageWorks Storage Mirroring Users Gui de for additional information.
Guidelines for Protecting Data using HP StorageWorks Storage Mirroring with Volume Shadow Copy
Service (VSS) 19