beautypg.com

Resynchronize pairs – HP StorageWorks XP Remote Web Console Software User Manual

Page 230

background image

Pending data flag list (string): “D” or “Drain” = drain; “P” or “Purge” = purge; default = D.
For sync pairs you must 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.

“SuspendHrcPair Command” (page 230)

provides an example of the pair macro commands needed

to suspend the specified pair with suspend mode = R-VOL and the default flag of no reports.

Example 14 SuspendHrcPair Command

Start $Script="HRC",$Svr="64002"

// $Dev
SetList $D =_ilDevA, $S = {0x000100,0x000101,0x000102,0x000103}
AddList $D =_ilDevA, $S = {0x000104,0x000105,0x000106,0x000107,0x000108}
// $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 = {0x000900,0x000901,0x000902,0x000903}
// $PendData
SetList $D = _slWorkC, $S = {"Drain", "Purge", "P", "D}

SuspendHrcPair $Dev = _ilDevB, $PendData = _slWorkC, $SusRange = "Volume"

End

Resynchronize Pairs

The ResumeHrcPair command allows you to resynchronize TrueCopy for Mainframe pairs. The
ResumeHrcPair parameters include:

ResumeHrcPair $Dev= M VOL device list
[,$Priority= Priority list]
[,$Fence= Fence level list]
[,$Sync= Sync level list]
[,$OptErrLv= Error level list]
[,$OptRsmRange= Resynchronize range list]
[,$TimeSave= Time-Saving Mode flag]
[,$TimeStamp= Time stamp transfer list]

The Details for the arguments are:

M-VOL device list (numeric): L x 0x10000 + C x 0x100 + VV, where L=LDKC#, C=CU#,
VV=vol# within CU.
When you write M-VOL device list, you can omit LDKC# if the LDKC# is 0. For example, you
can write 0x0102 when LDKC# is 0, CU# is 1, and vol# is 2.

Priority list (numeric): priority of initial copy operation (numeric 0-256); default = current value.

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.

230 TrueCopy for Mainframe Scripting