HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

If you specify the mastermodel, remotefamily, or remotepathgroupid parameter,
you also need to specify all other parameters (masterserialnum, mastercontrollerid,
remoteserialnum, remotessid, mastermodel, remotefamily, and remotepath-
groupid). If you do not specify them at the same time, an error will occur.
If you omit all the parameters, the command will obtain the information about all replication
controller pairs.
Parameter values to obtain in advance
masterserialnum, mastercontrollerid, remoteserialnum, remotessid, mastermodel,
remotefamily, and remotepathgroupid
Execute the GetReplicationControllerPair command without specifying any parameters,
and then obtain the values from the execution result. Specify the value of masterSerialNumber
that is displayed as An instance of ReplicationControllerPair in the masterseri-
alnum parameter, the value of masterControllerID in the mastercontrollerid para-
meter, the value of remoteSerialNumber in the remoteserialnum parameter, the value of
remoteSSID in the remotessid parameter, the value of masterArrayType in the master-
model parameter, the value of remoteArrayFamily in the remotefamily parameter, and
the value of remotePathGroupID in the remotepathgroupid parameter.
Command execution example 1
This example obtains controller pair information for the MCU with CU number 10 in the storage system
with serial number 35001 and for the RCU with SSID 65534 in the storage system with serial number
15001.
hdvmcli GetReplicationControllerPair
-o "D:\logs\GetReplicationControllerPair.log" "masterserialnum=35001"
"mastercontrollerid=10" "remoteserialnum=15001" "remotessid=65534"
Command execution result 1
RESPONSE
An instance of ReplicationControllerPair
objectID=*****
masterArrayType=XP128
masterSerialNumber=35001
masterControllerID=10
masterStartDevNum=0
displayMasterStartDevNum=00:00
masterEndDevNum=255
displayMasterEndDevNum=00:FF
remoteArrayType=XP128
remoteSerialNumber=15001
remoteSSID=65534
remoteControllerID=15
remoteStartDevNum=0
displayRemoteStartDevNum=00:00
remoteEndDevNum=255
displayRemoteEndDevNum=00:FF
*****: The value is encoded by the CLI.
Command reference310