HP XP Command View Advanced Edition Software User Manual

Page 283

Advertising
background image




Command line interface commands



283

Notes on executing the AddURLLink command:

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 register the information again. For details on how
to delete the mainframe agent information, see section

4-12-6

.

Action to be taken if an error occurs during the execution of the AddURLLink command:

Use the GetURLLink command to check whether the mainframe agent is registered. If the
mainframe agent is not registered, register it using the AddURLLink command. If the
mainframe agent was registered incorrectly, use the AddURLLink command to correct the
registered information. For details on how to correct the registered mainframe agent
information, see section

4-12-5

.

Command format:

hdvmcli AddURLLink "url=http://

mainframe-host-IP-address:port-number"

"name=MainframeAgent" "linkedid=

mainframe-host-object-ID"

Example of executing the command:

hdvmcli AddURLLink -o "D:\logs\AddURLLink.log"
"url=http://192.168.99.114: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.114:24042

linkedID=*****

*****

: The values are encoded by the CLI.

4-12-2-3 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 subsystem. The acquired information is not included in the command
execution results. Use the web client to check this information.

When you execute the command, specify the objectid parameter.

For this parameter, specify the object ID of the mainframe host that was 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:

1.

Check whether the mainframe agent is operating normally.

If it is not operating normally, check the mainframe agent settings, and restart the mainframe
agent.

2.

Check whether the mainframe host and mainframe agent are registered correctly.

If they are registered correctly, use the AddHostRefresh command to acquire the
information again.

If they are not registered correctly, register them correctly using the procedures described
in

4-12-2-1

, and

4-12-2-2

.

Command format:

Hdvmcli AddHostRefresh "objectid=mainframe-host-object-ID"

Advertising