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

hdvmcli AddURLLink "url=http://IBM-HTTP-Server-IP-address
#
:port-number"
"name=MainframeAgent" "linkedid=mainframe-host-object-ID"
# Enclose the IP address in square brackets ([ and ]).
Example of executing the command (for an IPv4 environment):
hdvmcli AddURLLink -o "D:\logs\AddURLLink.log"
"url=http://192.168.99.114:24042" "name=MainframeAgent" "linkedid=*****"
*****: The value is encoded by the CLI.
Example of output from executing the command:
RESPONSE:
An instance of URLLink
objectID=*****
name=MainframeAgent
url=http://192.168.99.114:24042
linkedID=*****
createdByUser=-1
*****: The values are encoded by the CLI.
Acquiring information recognized by the mainframe host
Use the AddHostRefresh command to acquire mainframe volume information and the logical DKC
serial number of the storage system. The acquired information is not included in the command execution
results. Use the GUI to check this information.
When you execute the command, specify the following parameters:
objectid: In this 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 section 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:
Installation and Configuration Guide 45