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

3 Executing commands
This chapter describes how to execute Device Manager CLI commands. This chapter also contains a
command list and notes on executing commands.
Command syntax
This section describes the Device Manager CLI command syntax.
In Windows:
In the following example, the Device Manager CLI has been installed in the C:\hdvmcli folder.
C:\hdvmcli>hdvmcli.bat [URL] [command] [options] [parameters]
In Solaris, AIX, Linux, or HP-UX:
# ./hdvmcli.sh [URL] [command] [options] [parameters]
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.
CLI Reference Guide 27