ibm-openbmc / dev

Product Development Project Mgmt and Tracking
16 stars 2 forks source link

Verify power/thermal ipmi support #3594

Closed derekhoward55 closed 1 year ago

derekhoward55 commented 2 years ago

Verify IPMI/DCMI support for psu/power - rainier and everest.

Verify IPMI/DCMI support for ambient temps. Component temps not returned via IPMI.

Verify IPMI support for fans.

derekhoward55 commented 1 year ago

-bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -H rain111bmc -U admin -P XXXXXXXX sensor ... fan0_0 | 11900.000 | RPM | ok | na | na | na | na | na | na fan0_1 | 17700.000 | RPM | ok | na | na | na | na | na | na fan1_0 | 12000.000 | RPM | ok | na | na | na | na | na | na fan1_1 | 17500.000 | RPM | ok | na | na | na | na | na | na fan2_0 | 11900.000 | RPM | ok | na | na | na | na | na | na fan2_1 | 17900.000 | RPM | ok | na | na | na | na | na | na fan3_0 | 11900.000 | RPM | ok | na | na | na | na | na | na fan3_1 | 17700.000 | RPM | ok | na | na | na | na | na | na fan4_0 | 11800.000 | RPM | ok | na | na | na | na | na | na fan4_1 | 18100.000 | RPM | ok | na | na | na | na | na | na fan5_0 | 11700.000 | RPM | ok | na | na | na | na | na | na fan5_1 | 18000.000 | RPM | ok | na | na | na | na | na | na Ambient_0_Temp | 23.000 | degrees C | ok | na | na | 0.000 | 100.000 | na | na Ambient_1_Temp | 23.000 | degrees C | ok | na | na | 0.000 | 100.000 | na | na Ambient_2_Temp | 23.000 | degrees C | ok | na | na | 0.000 | 100.000 | na | na PCIE_0_Temp | 26.000 | degrees C | ok | na | na | na | na | na | na PCIE_1_Temp | 27.000 | degrees C | ok | na | na | na | na | na | na

derekhoward55 commented 1 year ago

-bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -H rain111bmc -U admin -P XXXXXXXX fru ... FRU Device Description : fan0 (ID 73) Product Name : fan0

FRU Device Description : fan1 (ID 74) Product Name : fan1

FRU Device Description : fan2 (ID 75) Product Name : fan2

FRU Device Description : fan3 (ID 76) Product Name : fan3

FRU Device Description : fan4 (ID 77) Product Name : fan4

FRU Device Description : fan5 (ID 78) Product Name : fan5

FRU Device Description : powersupply0 (ID 79) Product Name : powersupply0 Product Part Number : 03FP379 Product Serial : YL30KY1450LP

FRU Device Description : powersupply1 (ID 80) Product Name : powersupply1 Product Part Number : 03FP379 Product Serial : YL30KY1490S9

FRU Device Description : powersupply2 (ID 81) Device not present (Unspecified error)

FRU Device Description : powersupply3 (ID 82) Device not present (Unspecified error)

derekhoward55 commented 1 year ago

-bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -H rain111bmc -U admin -P XXXXXXXX dcmi get_temp_reading

    Entity ID                       Entity Instance    Temp. Readings

Inlet air temperature(40h) 1 +23 C Inlet air temperature(40h) 2 +24 C Inlet air temperature(40h) 3 +23 C CPU temperature sensors(41h) 0 +0 C Baseboard temperature sensors(42h) 1 +27 C Baseboard temperature sensors(42h) 2 +28 C

derekhoward55 commented 1 year ago

Mode 0x01 (System Power Statistics) will contain the current 30s rolling average to meet energystar requirements.

-bash-4.2$ ipmitool -I lanplus -C 17 -N 3 -p 623 -H rain111bmc -U admin -P XXXXXXXX dcmi power reading

Instantaneous power reading:                   560 Watts
Minimum during sampling period:                560 Watts
Maximum during sampling period:                560 Watts
Average power reading over sample period:      560 Watts
IPMI timestamp:                           Thu Jan  1 00:00:00 1970
Sampling period:                          00000000 Seconds.
Power reading state is:                   deactivated
derekhoward55 commented 1 year ago

ipmitool doesn't appear to support Enhanced System Power Statistics, so not able to test that. However no known requirement to support that, and Redfish is the strategic tool we will be supporting, so considering this done.