HP P9000 Command View Advanced Edition Suite Software 7.2 CLI Reference Guide

If you execute a command other than the Help function by specifying a login user ID but not
specifying the login password for the option or property, a message appears prompting you to
enter the login password.
#4
If you specify csv with the -f (or --format) option as one of the parameters for the GetStor-
ageArray command, there are some parameters that you cannot specify. For details about the
parameters that you cannot specify when -f csv is specified, see Outputting execution results
in CSV format on page 383.
The parameters that form the input to a command are specified from the command line as name/value
pairs. The parameter name is specified first, then the equal sign and the parameter value, as follows:
ipaddress=192.168.2.2
Whenever a parameter value requires one or more space characters, double quotes can be used to
enclose the parameter value, as follows:
description="Our Newest Array"
Each command might have required parameters, optional parameters, or both, and you can specify
any parameter in the application's properties file. If a parameter is specified both from the command
line and in the properties file, the value from the command line is used.
Return values
The Device Manager CLI returns an execution result value at the end of each process. The following
table lists and describes the CLI return values.
Table 4 hdvmcli return values
DescriptionReturn values
The CLI ended normally.
0
The CLI found errors within the process (for example, a parameter error).
1
The CLI found errors in the Device Manager server.
2
Help
This section describes the various types of Device Manager CLI Help and how to display them. Unless
otherwise specified, for the examples, Windows is used and the Device Manager CLI is installed in
the C:\hdvm folder.
Basic Help
Basic Help contains the format for Device Manager CLI commands, a list of commands, and a list
of options.
To display basic Help, execute the Device Manager CLI without any arguments.
In Windows:
C:\hdvm> hdvmcli.bat
CLI Reference Guide 27