Pcornel
Hardware · Out-of-Band Management

Redfish

Cheat sheet · https://pcornel.dk/topic.php?topic=6282

Back to the Topic

Answer

Redfish is the DMTF standard REST API for managing servers and other infrastructure: JSON resources over HTTPS describing systems, chassis, managers, firmware, BIOS settings and events, with actions such as power reset.

Remember

Start at /redfish/v1/ and follow @odata.id links — never hard-code vendor paths. Systems = the host, Chassis = physical enclosure and sensors, Managers = the BMC. Use sessions (X-Auth-Token) for scripts. Vendor extensions live under Oem.

First checks

  • curl -s https://<bmc>/redfish/v1/ — service root (often readable without login).
  • curl -s -u <user> https://<bmc>/redfish/v1/Systems — list systems.
  • .../Systems/<id> → Status, PowerState, BiosVersion.
  • .../UpdateService/FirmwareInventory — firmware versions.

Verify in this order

client → HTTPS → /redfish/v1 service root → collections (Systems, Chassis, Managers, UpdateService, EventService, SessionService) → resources (JSON) → actions (POST) and events

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6282

Confirmation

Confirm action

Continue?