beautypg.com

Show cli usage online help – HP Virtual Connect Enterprise Manager Software User Manual

Page 90

background image

>vcem –list –details –job JobNumber

If the CLI List Job Details command is successful, the exit code from the CLI is zero, and the following
example output appears (through stdout) on the screen.

>vcem –list –details –job 1

Listing details for specified VCEM Job...

Job Number: 1

Job Type: MDM

Job State: COMPLETED

Job Progress: % Complete, Time, Possible Error Msg, Possible Detailed Error Msg

Job Priority: 5

Job User Name: “MachineUserNameHere”

Job Create Time: 1:58:34 PM

Job Start Time: 1:58:34 PM

Job End Time: 1:58:42 PM

In the preceding example, the job dtate status shows as completed. Valid values for this status are:

Unknown

Pending

Running

Completed

Failed

Canceled

If the CLI List Job Details command has failed, the exit code is some value greater than zero and the
associated error message appears. The following shows some output examples.

Listing details for specified VCEM Job...

ERROR (63) - Specified VCEM Job Number is not an integer

Listing details for specified VCEM Job...

ERROR (64) - Could not list details for job

Internal VCEM Error Code: 5014

Internal VCEM Error Message: No Job is found. Verify that the specified Job ID must be bigger than 0 and valid.

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 (Virtual Connect Enterprise Manager) 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}

90

Command Line Interface usage in VCEM