Resume pairs – HP StorageWorks XP Remote Web Console Software User Manual
Page 199
Hitachi TrueCopy for z/OS user guide 199
Example: SuspendHrcPair Command
Resume pairs
The ResumeHrcPair command resumes TC390 pairs. The ResumeHrcPair parameters include:
•
M-VOL device list (numeric): C x 0x100 + VV, where C=CU#, VV=vol# within CU.
•
Priority list (numeric): priority of initial copy operation (numeric 0-256); default = 32.
•
Fence level list (string): “N” or “Never” = never, “S” or “Status” = status, “D” or “Data” = data, default
= current value. For async pairs you must either specify N (never) or omit this parameter.
•
Sync level list (string): “S0” or “Synchronous0” = sync, “S2” or “Synchronous2” = async; default =
current value.
•
Error level list (string): “G” or “Group” = group; “V” or “Volume” = volume; default = current value. For
sync pairs you must omit this parameter.
•
Resume range list (string): “G” = group; “V” = volume. For sync pairs you must omit this parameter.
• When one volume is specified, the default = G. To resume only one async pair, you must specify V.
• When two or more volumes are specified, the default = V. When two or more volumes are
specified, you must either specify V or omit this parameter.
•
Time-Saving Mode flag: “Yes” = The Use Time-Saving Mode option is enabled; “No” = The Use
Time-Saving Mode option is disabled; default = “Yes”. This parameter is a non-list type and only one
value can be specified.
The following provides an example of the pair macro commands needed to resume the specified pair in
synchronous mode with fence level = never and priority = 1.
NOTE:
After resuming pairs, you must run the StartHrcPair command to begin remote copy activity
.
Start $Script="HRC",$Svr="CU-Name"
// $Dev
SetList $D =_ilDevA, $S = {0x0100,0x0101,0x0102,0x0103}
AddList $D =_ilDevA, $S = {0x0104,0x0105,0x0106,0x0107,0x0108}
// $SusReport
SetList $D = _ilWorkA, $S = {0, 1, 0}
// $SusMode
SetList $D = _slWorkA, $S = {"R-Vol","M", "R", "M-Vol"}
SuspendHrcPair $Dev = _ilDevA, $SusMode = _slWorkA, $SusReport = _ilWorkA
// $Dev
SetList $D =_ilDevB, $S = {0x0900,0x0901,0x0902,0x0903}
// $PendData
SetList $D = _slWorkC, $S = {"Drain", "Purge", "P", "D}
SuspendHrcPair $Dev = _ilDevB, $PendData = _slWorkC, $SusRange = "Volume"
End