HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96009, November 2009)
170 of 332
Creating and connecting a replication set with failover
monitoring
The following script will start a Storage Mirroring Recover connection by creating a
replication set called DataFiles on the source alpha and connecting it to the target beta.
This script will also configure and start failover monitoring.
source alpha;
repset create DataFiles;
repset rule add c:\files include, recursive;
repset rule add c:\files\users exclude;
repset rule add d:\data include, recursive;
repset save;
connect DataFiles to beta map exact;
target beta;
monitor create alpha;
monitor move 205.31.4.193 to nic 3 interval 5 timeout 25;
monitor start alpha;