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

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
command
Commands that make processing requests to the Device Manager server, such as GetStorageArray
or GetLogicalGroup. The command names specified in this argument are not case-sensitive. The
command is not required when reading the request from an XML file.
options
Options control the behavior of the CLI application. Options are entered in the typical UNIX fashion.
Options are case sensitive. Each option has a single character representation and an alternate word
representation; for the single character, prefix the character with a single dash; for the word, prefix
the word with two dashes. For example: -t or --messagetrace. Some options require an argument,
which follows the option. For example, the -u option is followed by a user ID. For details about the
options that can be used with the Device Manager CLI, see Table 2.
When the same option is specified multiple times, the value specified last is used.
parameters
Parameters that are passed to the server as part of a request. The required and optional parameters
depend on the command requested. Each parameter is represented as a combination of a parameter
name and a parameter value, such as parameter-name = parameter-value. The parameter
name is not case sensitive. If you want to specify a value that includes spaces, enclose the value in
double quotation marks ("), as in hostmode="Windows Extension, Solaris Extension".
Unless otherwise noted in parameter descriptions, parameter values are case sensitive.
There are required parameters and optional parameters. If you omit a required parameter, you cannot
execute the command.
When the same parameter is specified multiple times, the value specified last is used.
Executing commands28