beautypg.com

Resynchronize pairs – HP XP P9500 Storage User Manual

Page 112

background image

Example 8 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}
End

Resynchronize pairs

The ResumeHrcPair command allows you to resynchronize 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” ; default = S0.

Error level list (string): To maintain interchangeability with the script made with the model
before XP12000 Disk Array/XP10000 Disk Array, this parameter has been left. Do not use
this parameter with P9500.

Resynchronize range list (string): To maintain interchangeability with the script made with the
model before XP12000 Disk Array/XP10000 Disk Array, this parameter has been left. Do
not use this parameter with P9500.

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.

Time stamp transfer list (string): “Enable” = The host I/O timestamp is transferred from M-VOL
to R-VOL; “Disable” = The host I/O timestamp is not transferred from M-VOL to R-VOL; default
= current value. For the async pairs you must omit this parameter.

112

Continuous Access Synchronous Z scripting