beautypg.com

HP XP Command View Advanced Edition Software User Manual

Page 38

background image




Command line interface syntax and parameters



38

Table 3-1

hdvmcli options

Option Argument

Status

Description

-o

or --output

Filename

2

Optional

The file for storing the execution results
Sends output to the specified file, instead of
the console.

NOTE:

When this option is specified, the

command does not send the execution results
to the standard output.

NOTE:

If you specify an existing file, that file

is overwritten.

-f

or --format

3

csv

or xml

Optional

The format in which the execution results are
output.
You can use this option only when you
execute the GetStorageArray command.
The execution results of the
GetStorageArray

command can be output

in the following formats:

csv

: CSV format

2

xml

: XML format

If this option is omitted, the execution results
are output in the standard format.

NOTE:

You cannot specify this option

together with either the -i (or --input)
option or the -b (or --batch) option.

-t

or --messagetrace no argument

Optional

The flag for enabling message tracing
When this option is specified, the command
outputs the requests and responses sent to or
received from the Device Manager server in
XML to the MessageTrace.log file.

-b

or --batch

3

batch-file-name

2

Optional

The commands specified in the batch file are
executed together.
For example usages of this option, see
section

4-11

.

NOTE:

You cannot specify this option

together with either the -i (or --input)
option or the -f (or --format) option.

1

You can create a user ID and a password using the web client. For details about how to use the web client,

see the HP StorageWorks XP Command View Advanced Edition software Device Manager web client user
guide
.

2

Either an absolute path or a relative path can be specified for the file path.

3

If you specify csv with the -f (or --format) option as one of the parameters for the GetStorageArray

command, there are some parameters that you cannot specify. For details about the parameters that you
cannot specify when -f csv is specified, see section

5-4-8

.

The parameters that form the input to a command are specified on 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"