HP XP7 Command View Advanced Edition Mainframe Agent Installation and Configuration Guide (TK981-96005, May 2014)

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.
Refreshing information recognized by the mainframe host
Use the AddHostRefresh command to refresh the mainframe volume information and the logical
DKC serial number of the storage system displayed in the GUI. This command is the only means of
refreshing the information.
When you execute the command, specify the following parameter:
objectid: In the parameter, specify the object ID of the mainframe host output when the mainframe
host was registered using the AddHost command.
Action to be taken if an error occurs during the execution of the AddHostRefresh command:
If an error occurs during the execution of the AddHostRefresh command, perform the following
procedure:
1. Check whether XP7 mainframe agent is operating normally.
If it is not operating normally, check the XP7 mainframe agent settings, and restart XP7
mainframe agent.
2. Check whether the mainframe host and XP7 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 43
and Registering the XP7 mainframe agent running on the mainframe host in Device
Manager on page 44.
Command format:
Setting up XP7 mainframe agent46