White Papers

10
[Product]
; ipmitool -I lanplus -H %IP% -U root -P password fru edit 17 field p 0 123456789012
0: manufacturer = b'Widgets Inc.' (12)
The tool generates the BIN file and displays what fields were added to it, along with the field length. It also displays the IPMItool syntax
(due to --cmd) that can be used to edit each field once the BIN file is programmed on a server. This is useful since the typical use case
is to create a template BIN which can be created once using the FRU tool and then programmed on each server, followed by editing all
server unique fields as a second step. The IPMItool fru edit commands displayed by the FRU tool show how to edit these unique fields
during deployment
Note: Once the fields are programmed onto a server, their lengths cannot be changed. In the above case, the Widgets Inc. can only be replaced by a
string of 12 characters. This will need to be kept in mind when creating a BIN file template. Blank spaces can be used to pad strings to the required
lengths within the INI file, enclosed in quotes.
The resulting BIN file looks as follows:-
This BIN can be programmed onto each server using the IPMItool fru write command or can be injected using Dell EMC ID Module.
Server unique fields will still require additional IPMItool fru edit commands in the factory process.
DEPLOYING THE FRU
Once the BIN file has been generated, it can be programmed onto a server as follows:-
> ipmitool -I lanplus -H %IP% -U root -P password fru write 17 binfile.bin
Fru Size : 1024 bytes
Size to Write : 1024 bytes
Note: The OEM FRU has a FRU ID = 17. The OEM FRU has a maximum size of 1024 bytes and so the FRU tool creates a BIN file of size 1024 bytes,
padded with blank data. This size of 1024 is defined in the INI file so the FRU tool can be reused for FRU development beyond the OEM FRU on
PowerEdge servers if needed.
The portion highlighted in red is to run IPMItool on a remote server. The IP address is the address of the iDRAC. The -U and -P are the
login and password for the iDRAC user with admin access.
If running locally on the target server, it can be replaced with -I wmi on a Windows OS for example. Use IPMItool -I to identify what
interfaces are available.
In order to run IPMI commands remotely, the IPMI over LAN capability needs to be enabled on the iDRAC. This can be done via the
BIOS F2 settings, the iDRAC GUI under iDRAC Network Settings or via the RACADM CLI as below:-
> racadm -r %IP% -u root -p password set iDRAC.IPMILan.Enable Enabled
The portion in red can be omitted if Racadm is being run locally on the target server.
After the OEM FRU data has been programmed, it can be printed out using the IPMItool print command:-
> ipmitool -I lanplus -H %IP% -U root -P password fru print 17
Product Manufacturer : Widgets Inc.
This OEM FRU BIN was configured with only the Product Manufacturer field and it is displayed accordingly. If the FRU ID 17 is omitted
in the command line, all the available FRUs are printed.