Internal macro commands – HP XP P9500 Storage User Manual

Page 116

Advertising
background image

CT group list (numeric): 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.

SEQCHK flag 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.

The example below shows the SelectHrcDevice command to find the pairs with the parameters
listed in

Table 54 (page 116)

.

Table 54 Select device parameters

Value

Parameter

_ilDevA

Output list

_ilDevB

Device list

_slWorkA

RCU serial number

_ilWorkA

RCU SSID

N

Fence level

Synchronous0

Copy mode

Suspended

Pair status

M

Device attribute

Example 13 SelectHrcDevice command

Start $Script="HRC",$Svr="64002"
// $Dev
SetList $D =_ilDevB, $S =
{0x000F00,0x000F01,0x000F02,0x000F03,0x000F04,0x000F05,0x000F06,
0x000F07}
AddList $D =_ilDevB, $S =
{0x000F10,0x000F11,0x000F12,0x000F13,0x000F14,0x000F15,0x000F16,
0x000F17}
AddList $D =_ilDevB, $S =
{0x000F20,0x000F21,0x000F22,0x000F23,0x000F24,0x000F25,0x000F26,
0x000F27}
AddList $D =_ilDevB, $S =
{0x000F30,0x000F31,0x000F32,0x000F33,0x000F34,0x000F35,0x000F36,
0x000F37}AddList $D =_ilDevB, $S =
{0x000F40,0x000F41,0x000F42,0x000F43,0x000F44,0x000F45,0x000F46,
0x000F47}
AddList $D =_ilDevB, $S =
{0x000F50,0x000F51,0x000F52,0x000F53,0x000F54,0x000F55,0x000F56,
0x000F57}
SelectHrcDevice $DevList = _ilDevA, $Dev = _ilDevB,
$Sync = "Synchronous0", $PairStatus = "Suspend"
DeleteHrcPair $Dev = _ilDevA
End

Internal macro commands

The internal macro commands are the connection agents that allow you to connect the functional
macros together and produce a complete and functioning script. The internal macros are divided
into two groups as shown in

Table 55 (page 117)

, list types and non-list types.

116

Continuous Access Synchronous Z scripting

Advertising