Poweroff devicebay, Syntax, Parameters – HP Insight Management-Software User Manual
Page 57: Output, Examples
poweroff devicebay
The -poweroff devicebay command sends a power-off request to Virtual Connect Manager
for a given bay.
Syntax
-poweroff devicebay –enclosurename
[-force|-forceontimeout]
Parameters
Table 25 Parameter descriptions for -poweroff devicebay
Optional
Required
Description
Parameter
x
The name of the enclosure
containing the bay to be
powered off.
-enclosurename
x
The name of the bay to be
powered off.
NOTE:
For a multi-blade
server the bay name must be
that of the primary bay.
-bayname
x
Forces a power off
operation without waiting for
-force
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.
x
Attempts a normal power
off, but if the server does not
-forceontimeout
shut down 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
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
57