beautypg.com

Minimum required role-based security, Remarks, Prerequisites – HP Virtual Connect Enterprise Manager Software User Manual

Page 71

background image

Conduct a normal power-off operation on device bay 2 of an enclosure that has the ID enc0.
If the timeout occurs, the system is forced to power off.

vcemcli -poweroff –enclosurename enc0 –bayname 2 –forceontimeout

–timeout 300

Conduct a normal power-off operation on a specific multiblade server that occupies bays 1
to 4 of enclosure enc0:

vcemcli -poweroff –enclosurename enc0 –bayname 1

Minimum required role-based security

VCEM Group Limited Operator

Remarks

Most profile operations require bays that contain servers to be powered off, before the operation
begins.

When –nb is specified, this command does not indicate that the power has actually been turned
off. It is only an indication that the request has been successfully passed to Virtual Connect Manager.
When you are using the –nb option, the –show power-status command must be polled to
determine when the bay has successfully been powered off. An error is reported if the bay or
enclosure name is invalid.

Before you initiate the power-off operation, evaluate the current status of the bay. The power status
values are:

ON—Server is present and is powered on (DOS ERRORLEVEL EV = 1).

OFF—Server is present and is powered off (DOS ERRORLEVEL EV = 0).

UNKNOWN—No server is present in the bay (DOS ERRORLEVEL EV = 240).

NOTE:

The -poweroff devicebay command does not generate a job and might take a

significant time to finish. In particular, normal power-off operations wait for the host operating
system to shut down. This requires additional time while processes are shut down before the
operating system can shut down.

When a timeout is specified, this command will block and poll the power status on an interval
defined by pollingInterval until the timeout is reached. A return of success means the
power is successfully turned off. The VCEMCLI waits for a maximum of 3600 seconds (1 hour) by
default when no timeout has been specified for the command.

Prerequisites

The bay must contain a server.

poweroff devicebay

71

This manual is related to the following products: