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

NOTE:
The Device Manager CLI only supports ASCII code characters. If a request to the Device Manager
server contains a character other than an ASCII character, an unexpected error might occur because
the request cannot be processed correctly.
When you enter commands from the command line, you need to perform shell escapes in accord-
ance with the platform.
The following describes the Device Manager CLI arguments (URLs, options, and parameters).
URL
The URL that indicates the Device Manager server location in the network. The URL is specified in a
form such as http://localhost:2001/service.
The URL must include the following items:
Communication protocol
When using HTTP: http://
When using HTTPS: https://
Host name for the Device Manager server
When using HTTP: Device Manager server host name or IP address (enclose IPv6 IP addresses
in square brackets ([ ])).
When using HTTPS: The host name specified in the Device Manager server certificate when
the environment was set up.
Port number
When using HTTP: The HTTP port for the Device Manager server (default is 2001)
When using HTTPS: The HTTPS port for the Device Manager server (default is 2443)
If a firewall is set up between the computer on which the Device Manager CLI is running and the
Device Manager server, set the firewall so the Device Manager server port number can be used.
Base address
Device Manager server base address (the default is service, unless the server has been configured
with a non-standard servlet alias)
The following shows an example of executing a command when using HTTPS. This example shows
how to execute the GetServerInfo command with the -s (or --secure) option specified.
In Windows:
hdvmcli.bat -s https://device-manager-server-host-name:2443/service GetServerInfo
In Solaris, AIX, Linux, or HP-UX:
hdvmcli.sh -s https://device-manager-server-host-name:2443/service GetServerInfo
Executing commands28