HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)

168 of 332
Scripting examples
Below are links to sample Storage Mirroring Recover scripts. Most of the sample scripts
must be modified. They cannot be used as-is. Modify them to fit your environment. If you
need basic assistance with script modifications, contact Technical Support. Assistance
with advanced scripting will be referred to Professional Services.
Creating and connecting a replication set
Creating and connecting a replication set with failover monitoring
Restoring a replication set
Using variables to create and connect a replication set and run verification
Controlling a mirror using flow control
Using variables to pause a target
Using variables to resume a target
Creating a backup or snapshot of the target by inserting a task command during
replication
Creating a backup of the target by rotating connections