Show cli usage online help, Cli exit and error codes – HP Virtual Connect Enterprise Manager Software User Manual

Page 127

Advertising
background image

Show CLI usage online help

This CLI command can be used to display brief usage help on the screen.

>vcem -help

Several CLI option keywords provide for abbreviated alternatives – that is, {-failover | -fo}.

VCEM CLI Usage:

- Perform VC Profile Failover on specified VC Domain Bay Server

>vcem {-failover | -fo} {-bay "EnclosureName:BayNumber" | -host "BayServerHostName" | -ip "BayServerIPAddress"}

- Listing details for specified VCEM Job

>vcem {-list | -ls} {-details | -dt} -job "jobNumber"

- Show CLI Help

>vcem {-help | -h}

CLI exit and error codes

The CLI returns a numeric value that either indicates success or a particular error or failure. The
CLI also displays an associated error message (through stdout). A zero returned value indicates
success. A return value greater than zero indicates an error or failure. The following list shows all
possible exit and error codes and messages that might be returned by the VCEM CLI.

VCEM CLI syntax error codes/messages

Error message

Code

ERROR–Invalid command line syntax

1

ERROR–Invalid command line option

2

ERROR–Argument not allowed for this option

3

ERROR–Only one required argument allowed for this option

4

ERROR–Missing a required argument for this option

5

ERROR–Missing operational option

6

ERROR–Missing command line option(s)

7

ERROR–Invalid command line argument

8

ERROR–Duplicate options not allowed

9

ERROR–Option not allowed

10

VCEM CLI User Authorization and Login error codes/messages

Error Message

Code

ERROR–Could not locate VCEM SOAP Service

15

ERROR–Could not login to VCEM

16

- Systems Insight Manager must be running

- VCEM must be installed

- User must be in OS Administrator group

- User must be valid SIM user

- User must have adequate VCEM authorization

Show CLI usage online help

127

Advertising
This manual is related to the following products: