HP Virtual Connect Enterprise Manager 6.3 CLI Guide

poweroff devicebay
The -poweroff devicebay command sends a power-off request to Virtual Connect Manager
for a given bay.
Syntax
-poweroff devicebay enclosurename <enclosurename> bayname <bayname>
[-force|-forceontimeout]
Parameters
Table 27 Parameter descriptions for -poweroff devicebay
OptionalRequiredDescriptionParameter
xThe name of the enclosure
containing the bay to be
powered off.
-enclosurename
xThe name of the bay to be
powered off.
-bayname
xForces a power off
operation without waiting for
the OS to shut down
normally. This option should
only be used as a last resort
because it can cause data
loss on the server.
-force
xAttempts a normal power
off, but if the server does not
shut down within the timeout
period (default is 3600
seconds), it is forced to
power off.
NOTE: For a multi-blade
server the enclosure name
and bay name must be that
of the primary bay.
-forceontimeout
Output
The result of the power off operation. If nb is in effect for the command, nothing is returned and
the results of the command can be checked by polling -show power-status for the enclosure
bay.
Examples
Normal shutdown device bay 2 of an enclosure with ID enc0:
vcemcli -poweroff -enclosurename enc0 bayname 2
Forced power off operation on device bay 2 of an enclosure with ID enc0:
vcemcli -poweroff enclosurename enc0 bayname 2 force timeout
300
poweroff devicebay 63