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

Page 182

Advertising
background image

182 TrueCopy for the XP128/XP1024/XP10000/XP12000

Example: DeleteHrcPair Command

Suspend Pairs

The SuspendHrcPair command suspends TC390 pairs. The SuspendHrcPair parameters include:

Device list (numeric): C x 0x100 + VV, where C=CU#, VV=vol# within the CU.

Suspend mode list (string): “M” or “M-Vol” (0x00) = M-VOL failure, “R” or “R-Vol” (0x01) = R-VOL;

default = R-VOL. You must specify R or omit this parameter when suspending async pairs.

Flag list (numeric): suspend report flag: 0 = reports; 1 = no reports; default = 1.

Suspend range list (string): “G” or “Group” (0x04) = group; “V” or “Volume” (0x00) = volume. For

sync pairs you must omit this parameter.
• When one volume is specified, the default = G. If you want to suspend 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.

Pending data flag list (string): “D” or “Drain” (0x00) = drain; “P” or “Purge” (0x08) = 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.

The following 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.

Start $Script="HRC",$Svr="CU-Name"

// $Dev

SetList $D =_ilDevA, $S = {0x0800,0x0901,0x0A02}

AddList $D =_ilDevA, $S = {0x0B03,0x0C04,0x0D05,0x0E06}

// $DelMode

SetList $D = _ilWorkA, $S = {0, 1, 0}

DeleteHrcPair $Dev = _ilDevA, $DelMode = _ilWorkA

DeleteHrcPair $Dev = 0x124C, $DelRange = "Group"

End

Advertising