Getting pair status, Selecting devices, Getting pair status selecting devices – HP StorageWorks XP Remote Web Console Software User Manual

Page 237

Advertising
background image

Example 17 StartHrcPair Command

:
:
StartHrcPair

Getting Pair Status

The GetHrcStatus macro command allows you to obtain the status of a specific TrueCopy for
Mainframe pair. The GetHrcStatus parameter includes:

GetHrcStatus $Dev= Device

The Detail for the argument is:

Device (numeric constant, non-list-type and numeric-type work variable): VOL = L x
0x10000, C x 0x100 + VV, where L=LDKC#, C=CU#, VV=vol# within the CU.

The GetHrcStatus command obtains the status of the pair from the HP disk array and displays the
status as a reserved variable “_HrcStatus” (see

“Reserved Status Variables” (page 244)

).

“Example

of GetHrcStatus Command” (page 237)

provides an example of the GetHrcStatus command for the

pair with LDEV ID 0x00004a.
When you specify device, 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.

Example 18 Example of GetHrcStatus Command

GetHrcStatus $Dev=0x00004a
_sMsgB=_HrcStatus_Fence
_sMsgC=_HrcStatus_Sync
_sMsgD=_HrcStatus_Sn
_iNumB=_HrcStatus_Ssid
_iNumC=_HrcStatus_DeviceR

Selecting Devices

The SelectHrcDevice command allows you to search for TrueCopy for Mainframe pairs whose
status matches the specified parameters. The SelectHrcDevice parameters include:

SelectHrcDevice $DevList= Output list
,$Dev= Device list
[,$RcuSn= Serial number list]
[,$RcuSsid= SSID number list]
[,$Fence= Fence level list]
[,$Sync= Sync level list]
[,$PairStatus= Pair status list]
[,$DevAttr= Device attribute list]
[,$OptErrLv= Error level list]
[,$CTG= CT group list]
[,$Seqchk= SEQCHK flag list]

The Details for the arguments are:

Output list (list-type and numeric work variable)

The SelectHrcDevice parameters include:

Device list (numeric): list of devices to be searched: L x 0x10000 + C x 0x100 + VV, where
L=LDKC#, C=CU#, VV=vol# within CU. Default = all possible target devices that can be

Operation Macro Commands 237

Advertising
This manual is related to the following products: