Bookmarks

IPMI — IPMI interface

Intelligent Platform Management Interface

A set of standard commands for managing a server without going through the operating system: power, sensors, event log — all through a separate controller on the board.

Also: IPMI 2.0, platform management

checked 9 Nov

All terms

IPMI works when the main system is unavailable: the server is powered off, hung or not yet installed. Communication goes through the BMC — a microcontroller on the motherboard with its own firmware and network port — so the administrator manages a fleet of servers over a dedicated service network without ever logging into the operating system.

What it does

FunctionWhat it provides
Powerswitch the server on and off, reboot it, force-reset a hung one
Sensorstemperature, fans, voltage, power supply and drive status
Event logrecords of overheating, power failures and hardware faults (System Event Log)
Consolea text console over the network (Serial over LAN)
Inventorymodel and serial numbers of the board, memory and drives (FRU records)

Connecting with ipmitool

The standard utility is ipmitool: it works both locally on the server and over the network. Locally it talks to a kernel driver; over the network it speaks to the BMC using the RMCP+ protocol (IPMI 2.0) on UDP port 623. The version 2 specification was created by Intel, Hewlett-Packard, NEC and Dell; the current edition is revision 1.1, dated 1 October 2013. In June 2020 the same companies announced that the specification would receive no further updates and named Redfish, the DMTF consortium’s REST interface for the same tasks, as a modern alternative; in modern servers BMCs usually support both interfaces.

bashExamples of ipmitool commands: local (the first four) and over the network
ipmitool power status                  # whether the server is onipmitool power cycle                   # hard rebootipmitool sensor list | head            # sensor readingsipmitool sel list                      # event logipmitool -I lanplus -H bmc.example.ru -U admin -a chassis status

Security

The specification allows weak options: authentication with no verification (RAKP-none) and HMAC-MD5 hashes; the stronger HMAC-SHA256 was added later. Moreover, the RAKP protocol exposes password hashes before authentication even starts — passwords can be brute-forced from them. For this reason port 623 is kept in a separate service VLAN, BMC passwords are changed from the factory defaults, and BMCs exposed to the internet are considered a direct vulnerability.

Sources

the term is written from these pages

Verified 9 Nov

Not to be confused with

what it is mixed up with and how it differs

  • BMCserver management controller

    The BMC is the microcontroller on the board itself; IPMI is the set of commands used to talk to it.

  • Redfish

    Redfish is the interface that replaces IPMI: the same management functions, but as REST over HTTPS.

In depth in the references

where the topic is covered in detail