Release pairs – HP XP P9500 Storage User Manual

Page 110

Advertising
background image

Example 5 CreateHrcPair command (Part 1)

Start $Script="HRC",$Svr="64002"// $Dev
SetList $D =_ilDevA, $S =
{0x000100,0x000101,0x000102,0x000103,0x000104,0x000105,0x000106,
0x000107}
AddList $D =_ilDevA, $S =
{0x000108,0x000109,0x00010A,0x00010B,0x00010C,0x00010D,0x00010E,
0x00010F}
// $Rdev
SetList $D =_ilDevB, $S =
{0x001F00,0x001F01,0x001F02,0x001F03,0x001F04,0x001F05,0x001F06,
0x001F07}
AddList $D =_ilDevB, $S = {0x001F08,0x001F09,0x001F0A,0x001F0B,0x001F0C,0x001F0D,0x001F0E,
0x001F0F}
// $Priority
SetList $D =_ilWorkA, $S = {1,2,3,4,16.32}
// $Fence
SetList $D =_slWorkB, $S = {"D","S","S","N"}
CreateHrcPair $Dev = _ilDevA, $RcuSn = "12345", $RcuSsid = 4,
$Rdev = _ilDevB, $Priority = _ilWorkA, $Fence = _slWorkB,
$TimeStamp = "Enable"StartHrcPair
(Continued on the next page)

Example 6 CreateHrcPair command (Part 2)

(Continued from the previous page)
// $Dev
SetList $D =_ilDevA, $S = {0x000B80,0x000B81,0x000B82}
AddList $D =_ilDevA, $S = {0x000C2A,0x000C2B,0x000C2C}
// $Rdev
SetList $D =_ilDevB, $S = {0x001045,0x001047,0x00105E}
AddList $D =_ilDevB, $S = {0x001130,0x001139,0x00113D}
// $RcuSn
SetList $D =_slWorkD, $S =
{"32072","32072","32072","28439","28439","28439"}
// $RcuSsidSetList $D =_ilWorkC, $S = {33,33,33,0xA74C,0xA74C,0xA74C}
// $CTG
SetList $D =_ilWorkB, $S = {0x7F,0x7F,0x7F,10,10,10}
CreateHrcPair $Dev = _ilDevA, $RcuSn = _slWorkD,
$RcuSsid = _ilWorkC, $Rdev = _ilDevB
StartHrcPair
End

Release pairs

The DeleteHrcPair command allows you to release pairs. The DeleteHrcPair parameters
include:

DeleteHrcPair∆$Dev= Device list

[,$DelMode= Release mode list]

[,$DelRange= Release range list]

[,$TimeSave= Time-Saving Mode flag]

The details for the arguments are:

Device list (numeric): L x 0x10000 + C x 0x100 + VV, where L=LDKC#, C=CU#, VV=vol#
within the CU.
When you write 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.

Release mode list (numeric): 0 (0x00) = normal, 1 (0x01) = release by force; default = 0.
You must specify 0 (normal) when releasing two or more async pairs.

110

Continuous Access Synchronous Z scripting

Advertising