Change pair options – HP StorageWorks XP Remote Web Console Software User Manual

Page 184

Advertising
background image

184 TrueCopy for the XP128/XP1024/XP10000/XP12000

Example: ResumeHrcPair Command

Change Pair Options

Use the ChangeHrcOption command to change the pair options for TC390 pairs. The ChangeHrcOption

parameters include:

M-VOL device list (numeric): C x 0x100 + VV, where C=CU#, VV=vol# within CU.

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 or omit this

parameter.

CFW flag list (numeric): 0 = copy CFW data to R-VOL; 1 = only M-VOL; default = current value.

DFW flag list (numeric): DFW flag list is only left to maintain the compatibility of the format. The

specification is not available.

Error level list (string): “G” (0x00) = group; “V” (0x01) = volume; default = current value. 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 change the pair options for the

pair with LDEV ID 0x4a as follows: set fence level option to Never and set CFW option to M-VOL only.

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

// $Dev

SetList $D =_ilDevA, $S = {0x0100,0x0101,0x0102,259}

// $Priority

SetList $D =_ilWorkC, $S = {24,32,0x13,8}

ResumeHrcPair $Dev = _ilDevA, $Priority = _ilWorkC

StartHrcPair

// $Dev

SetList $D =_ilDevB, $S = {0x0200,0x0201,0x0202,0x0203}

AddList $D =_ilDevB, $S = {0x0904,0x0905,0x0906,0x0907}

ResumeHrcPair $Dev = _ilDevB, $OptRsmRange = "Volume"

StartHrcPair

End

Advertising