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

Command format (for an IPv4 environment):
hdvmcli AddURLLink "url=http://mainframe-host-IP-address:port-number"
"name=MainframeAgent" "linkedid=mainframe-host-object-ID"
Command format (for an IPv6 environment):
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:
Connecting to P9000 mainframe agent482