12-9 deleting a mainframe host – HP XP Command View Advanced Edition Software User Manual
Page 287

Command line interface commands
287
NOTE:
When you change the host name, specify the host name that was set in the initialization
parameter for the mainframe agent. If you specify a host name that differs from the host name set
during mainframe agent environment setup, you cannot acquire information from the mainframe
agent.
NOTE:
The ModifyHost command cannot be used to modify the hosttype parameter
information. To modify the hosttype parameter information, use the DeleteHost command to
delete the target mainframe host, and then reregister the mainframe host.
Example of executing the command:
hdvmcli ModifyHost -o "D:\logs\ModifyHost.log" "objectid=
*****
" "hostname=snow"
*****
: The values are encoded by the CLI.
Example of output from executing the command:
RESPONSE:
An instance of Host
objectID=*****
name=snow
capacityInKB=0
hostType=2
sysplexID=RSDPLEX
*****
: The values are encoded by the CLI.
4-12-9 Deleting a mainframe host
To delete a mainframe host registered in the Device Manager server, use the DeleteHost
command.
NOTE:
If you delete a mainframe host, the mainframe agent information registered in Device
Manager is also deleted, and the mainframe volume information and the logical DKC serial
number of the storage subsystem displayed in the web client are no longer displayed.
Example of executing the command:
hdvmcli DeleteHost -o "D:\logs\ DeleteHost.log" "objectid=
*****
"
*****
: The values are encoded by the CLI.
Example of output from executing the command:
RESPONSE:
(Command completed; no data returned)