How to read a specific FRU in IPMI?

You can use ipmitool for reading the specfic FRU details. In this case we wanted to locate a FRU named UCS-M2-HWRAID in Cisco servers.

[Mon Jan 20 20:50:30 root@C240-WZP281799EK:~]$ipmitool -I bmc sdr list fru
FRU_RAM | Log FRU @00h 07.0 | ok
FRU_FP | Log FRU @01h 0c.3 | ok
FRU_MB | Log FRU @02h 07.1 | ok
FRU_TPM | Log FRU @03h 11.1 | ok
FRU_PSU1 | Log FRU @04h 0a.1 | ok
FRU_PSU2 | Log FRU @05h 0a.2 | ok
FRU_VIC_SLOT1 | Log FRU @06h 0b.7 | ok
FRU_VIC_SLOT2 | Log FRU @07h 0b.8 | ok
FRU_VIC_SLOT4 | Log FRU @08h 0b.9 | ok
FRU_VIC_SLOT5 | Log FRU @09h 0b.a | ok
FRU_MLOM | Log FRU @0Ah 0b.3 | ok
FRU_HD_BP | Log FRU @0Bh 0f.0 | ok
FRU_MINI_STORAGE | Log FRU @0Ch 33.1 | ok
FRU_MRAID1 | Log FRU @0Dh 33.2 | ok
FRU_MRAID2 | Log FRU @0Eh 33.3 | ok
FRU_MID_BP | Log FRU @0Fh 0f.4 | ok

FRU device ID formt he above command is 0xC. read directly the FRU.

[Mon Jan 20 20:52:57 root@C240-WZP281799EK:~]$ipmitool -I bmc fru print 0xc
Board Mfg : Cisco Systems Inc
Board Product : UCS-M2-HWRAID
Board Serial : FCH2747790W
Board Part Number : 73-19532-07
Board Extra : A05V02
Board Extra : 0000000000

add -vvv to find how IPMItool is forming the command

ipmitool usage
IPMITool Usage

Specification to find the command details.

Intel IPMI v2 Specification

commands used are Read FRU Data and Get SDR Command

Refer these sections to form and decode the commands
43.8 SDR Type 11h – FRU Device Locator Record
33.5 Reading the SDR Repository

 

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.