
58
Chapter 4. BMC Configuration Settings
J4078-01 User Manual
How to enable/disable the enclosure power cycle by your software
Power Supply control element
BYTE/BIT
7
6
5
4
3
2
1
0
0
COMMON CONTROL
SELECT PRDFAIL DISABLE
RST
SWAP
Reserved
1
RQST
IDENT
Reserved
2
POWER CYCLE
REQUEST
POWER CYCLE DELAY
3
POWER OFF DURATION
REQUEST
FAILURE
REQUEST
WARNING
The "POWER CYCLE REQUEST", “POWER CYCLE DELAY” and “POWER OFF DURATION” for
Enclosure are defined in the bit7~6, byte2, bit5~0, byte2 and bit7~2, byte3 of the "Enclosure
control element" in the SES specification. Set “POWER CYCLE REQUEST” as 01b to begin a
power cycle in minutes set by “POWER CYCLE DELAY” (1~60 minutes, 0 for
beginning power cycle immediately) and keep off for minutes set by “POWER OFF
DURATION” (set 1~60 minutes, 0 for 10 seconds and 63 for keeping off). A request to begin
a power cycle while a previous request is still active should override the previous request.
Set
“POWER CYCLE REQUEST” as 10b to cancel any scheduled power cycle.
(A) Show the device for AIC Expander Controller (canister)
$ sg_map -i
/dev/sg2 AIC 12G 4U78swapHub 0c30
(B) Request to begin a power cycle (POWER CYCLE REQUEST = 01b) after 10 minutes
(POWER CYCLE DELAY = 10 = 0Ah) and keep off for 3 minutes (POWER OFF DURATION
=3):
sg_ses --descriptor=EnclosureElement00 --set=2:7:14=0x1283 /dev/sg2