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

3 Executing Device Manager CLI commands
This chapter explains how to execute Device Manager CLI commands. This chapter also contains a
command list and notes on executing commands.
Device Manager CLI command syntax
The Device Manager CLI provides a simple way to submit requests to the Device Manager server and
examine responses from the server. The application is run from the command line. Each execution of
the application sends one request to the server and receives a response to that request.
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.
To execute the Device Manager CLI, move to the folder or directory in which the Device Manager
CLI is installed, then execute hdvmcli.bat or hdvmcli.sh. The general format for command line
values is shown below.
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]
URL: see Table 2.
command and parameters: see Table 2.
options: see Table 3.
CLI Reference Guide 23