beautypg.com

Poweroff devicebay, Syntax, Parameters – HP Virtual Connect Enterprise Manager Software User Manual

Page 70: Output, Examples

background image

poweroff devicebay

The -poweroff devicebay command sends a power-off request to Virtual Connect Manager
for a given bay.

Syntax

-poweroff devicebay –enclosurename —bayname
[-force|-forceontimeout]

Parameters

Table 29 Parameter descriptions for -poweroff devicebay

Optional

Required

Description

Parameter

x

Specifies the name of the
enclosure that contains the
bay to be powered off.

-enclosurename

x

Specifies the name of the
bay to be powered off.

NOTE:

For a multiblade

server, the bay name must
be the name of the primary
bay.

-bayname

x

Forces a power-off operation
without waiting for the OS

-force

to shut down normally. This
option should be used only
as a last resort because it
can cause data loss on the
server.

x

Attempts a normal power off
operation, but if the server

-forceontimeout

does not power off within
the timeout period (default
is 3600 seconds), it is
forced to power off.

Output

The result of the power-off operation. If –nb is in effect for the command, nothing is returned, and
you can verify the results of the command by polling -show power-status for the enclosure
bay.

Examples

Conduct a normal power-off operation on device bay 2 of an enclosure that has the ID enc0:

vcemcli -poweroff -enclosurename enc0 –bayname 2

Conduct a forced power-off operation on device bay 2 of an enclosure that has the ID enc0:

vcemcli -poweroff –enclosurename enc0 –bayname 2 –force –timeout

300

70

Using VCEM commands

This manual is related to the following products: