Ction – HP XP Command View Advanced Edition Software User Manual

Page 285

Advertising
background image




Command line interface commands



285

*****

: The values are encoded by the CLI.

4-12-4 Acquiring mainframe agent information registered in

the Device Manager

To acquire the 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 values are 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=*****

*****

: The values are encoded by the CLI.

4-12-5 Changing mainframe agent information registered in

the Device Manager

To change the mainframe agent information registered in the Device Manager server, use the
AddURLLink

command. You can change the IP address or port number of the mainframe host by

specifying a new IP address or port number in the url parameter in URL format.

NOTE:

In the name parameter, specify MainframeAgent. If the name parameter is specified

incorrectly, the mainframe host is not registered as the mainframe agent information, and
mainframe volume information and the logical DKC serial number of the storage subsystem
cannot be acquired. If you specified the name parameter incorrectly, use the DeleteURLLink
command to delete the mainframe agent information, and then use the AddURLLink command to
correct the registered mainframe agent information.

Example of executing the command:

hdvmcli AddURLLink -o "D:\logs\AddURLLink.log"

"url=http://192.168.99.100:24042" "name=MainframeAgent" "linkedid=

*****

"

*****

: The values are encoded by the CLI.

Example of output from executing the command:

RESPONSE:

An instance of URLLink

objectID=*****

name=MainframeAgent

url=http://192.168.99.100:24042

linkedID=*****

*****

: The values are encoded by the CLI.

Advertising