beautypg.com

Table 3-1 hdvmcli options, Cli, see, Table 3-1 – HP XP Command View Advanced Edition Software User Manual

Page 37

background image




Command line interface syntax and parameters



37

NOTE:

When you specify options in the properties file, you can omit them on the command line.

For details about how to specify options in the properties file, see section

5-2

.

NOTE:

If you specify a parameter in the command line although the parameter has been specified

in the properties file, the value of the parameter specified in the command line has precedence.

NOTE:

When the same parameter is specified multiple times, the value specified last is used.

Parameters are passed to the server as part of a request. Depending on the command, some are
required and some are optional. If you omit a required parameter, you cannot execute the
command. Each parameter is represented as a combination of name and value, such as
parameter-name

= parameter-value. The parameter name is not case sensitive. . If you want

to specify a value that includes spaces, enclose the value in double quotation marks ("), as in
hostmode="Windows

Extension, Solaris Extension".

NOTE:

If you specify a parameter in the command line when the parameter has been specified in

the properties file, the value of the parameter specified in the command line has precedence.

NOTE:

When the same parameter is specified multiple times, the value specified last is used.

NOTE:

Some parameters cannot be used for some commands. For usable parameters, see

chapter

4

.

Table 3-1

hdvmcli options

Option Argument

Status

Description

-u

or --user

Userid

1

Required A valid user ID for the server

NOTE:

You must register your user ID in

Device Manager before using Device
Manager CLI.

-p

or --password

password

or

@file-path

1, 2

Required The login password for the Device Manager

server, or a file that contains the login
password
A password can either be specified directly, or
a file containing a password can be specified.
The application user needs to have access
permissions for this file. Do not grant access
permissions to common users for this file.

When specifying a file path, include an @ sign
at the beginning of the file path. The text on
the first line of the specified file is read and
used as the password.

-s

or --secure

no argument

Optional

Uses a secure connection (https) to
communicate with the server.

-i

or --input

3

Filename

2

Optional

An XML API request file
Takes input from the specified file, which must
contain the server request as a complete XML
document, and outputs it as an XML-formatted
document.

NOTE:

If you specify this option, the

specification in the file overrides the
equivalent specification on the command line.

NOTE:

You cannot specify this option

together with either the -f (or --format)
option or the -b (or --batch) option.