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

Page 183

Advertising
background image

TrueCopy for z/OS user guide 183

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” (0x00) = never; “S” or “Status” (0x02) = status; “D” or “Data”

(0x01) = data; default = current value. For async pairs you must either specify N (never) or omit this

parameter.

Sync level list (string): “S0” or “Synchronous0” (0x00) = sync, “S2” or “Synchronous2” (0x02) =

async; default = current value.

Error level list (string): “G” or “Group” (0x00) = group; “V” or “Volume” (0x01) = volume; default =

current value. For sync pairs you must omit this parameter.

Resume range list (string): “G” (0x00) = group; “V” (0x01) = volume. For sync pairs you must omit this

parameter.
• When one volume is specified, the default = G. If you want 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

Advertising