HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

NOTE:
You can also set the URL, options, and parameters arguments in the properties file. For
details about the properties file, see Chapter 5 on page 357.
When you enter commands from the command line, you need to perform shell escapes in accord-
ance with the platform.
When you use Windows Vista, execute the Device Manager CLI from a command prompt initiated
as an administrator. If you attempt to execute the Device Manager CLI from a command prompt
not initiated as an administrator, the log file and execution results might not be output to the spe-
cified output location.
Table 2 hdvmcli variable syntax
FunctionVariable
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: http:// or https:// (see Executing Device Manager
CLI commands via HTTPS on page 20 for HTTPS requirements)
Device Manager server host name or IP address (enclose IPv6 IP addresses in square
brackets ([ ])).
Note that, if you use HTTPS to execute the Device Manager CLI, you must specify
the server name set in the Device Manager server certificate as the host name.
Device Manager server port number.
The default Device Manager server port number is 2001 for non-SSL communication
and 2443 for SSL communication. 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.
Device Manager server base address (the default is service, unless the server has
been configured with a non-standard servlet alias)
When the URL is specified in the properties file, you can omit specifying the URL argument
from the command line. For details about how to specify the URL, see Specifying the
URL on page 361.
URL
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.
For details about commands, see Chapter 4 on page 41.
command
Executing Device Manager CLI commands24