HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96022, November 2010)
$TheRepSet = "DataFiles";
login $TheSource $TheUser $ThePassword $TheDomain;
login $TheTarget $TheUser $ThePassword $TheDomain;
source $TheSource;
$FirstConnection = conid $TheRepSet to $TheTarget map base c:\first_
location;
disconnect $FirstConnection;
$SecondConnection = connect $TheRepSet to $TheTarget map base c:\second_
location, nomirror;
mirror start $SecondConnection different, checksum;
# Script 2 #
$TheSource = "alpha";
$TheTarget = "beta";
$TheUser = "admin";
$ThePassword = "password";
$TheDomain = "domain.com";
$TheRepSet = "DataFiles";
login $TheSource $TheUser $ThePassword $TheDomain;
login $TheTarget $TheUser $ThePassword $TheDomain;
source $TheSource;
$SecondConnection = conid $TheRepSet to $TheTarget map base c:\second_
location;
disconnect $SecondConnection;
$FirstConnection = connect $TheRepSet to $TheTarget map base c:\first_
location, nomirror;
mirror start $FirstConnection different, checksum;