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

If an error occurs during the execution of the AddHostRefresh command, perform the following
procedure:
1. Check whether P9000 mainframe agent is operating normally.
If it is not operating normally, check the P9000 mainframe agent settings, and restart P9000
mainframe agent.
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 480
and Registering the P9000 mainframe agent running on the mainframe host in Device
Manager on page 481.
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
managedBy=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.
Connecting to P9000 mainframe agent484