HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

2. Check whether the mainframe host and P9000 mainframe agent have been registered
correctly.
If they have been registered correctly, use the AddHostRefresh command to acquire the
information again. If they have not been registered correctly, register them correctly by using
the procedures described in Registering the mainframe host in Device Manager on page 347
and Registering the P9000 mainframe agent running on the mainframe host in Device
Manager on page 348.
Command format:
hdvmcli AddHostRefresh "objectid=mainframe-host-object-ID"
Example of executing the command:
hdvmcli AddHostRefresh -o "D:\logs\AddHostRefresh.log" "objectid=*****"
*****: The value is encoded by the CLI.
Example of output from executing the command:
RESPONSE:
An instance of Host
objectID=*****
name=toro2
hostID=1
capacityInKB=0
hostType=2
sysplexID=RSDPLEX
statusOfDBUpdating=-1
*****: The value is encoded by the CLI.
Acquiring P9000 mainframe agent information registered in Device Manager
To acquire P9000 mainframe agent information registered in the Device Manager server, use the
GetURLLink command. By executing this command, you can acquire the IP address and port number
of the mainframe host from the url information included in the execution results.
Example of executing the command:
hdvmcli GetURLLink -o "D:\logs\GetURLLink.log" "objectid=*****"
*****: The value is encoded by the CLI.
CLI Reference Guide 351