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
| Function | What it provides |
|---|---|
| Power | switch the server on and off, reboot it, force-reset a hung one |
| Sensors | temperature, fans, voltage, power supply and drive status |
| Event log | records of overheating, power failures and hardware faults (System Event Log) |
| Console | a text console over the network (Serial over LAN) |
| Inventory | model 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.
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 statusSecurity
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- Intel — IPMI v2.0 specification, revision 1.1 (2013)intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmi-second-gen-interface-spec-v2-rev1-1.pdf(opens in a new tab)
- DMTF — Intelligent Platform Management Interface (сообщение промоутеров IPMI, 2020)dmtf.org/standards/ipmi(opens in a new tab)
Verified 9 Nov