Bare-Metal Provisioning
How a machine with no operating system becomes a cluster node: the network boot chain, out-of-band management, discovery and inspection, imaging, and the tool landscape from Ironic and MAAS to Tinkerbell and Metal3.
Overview
Why bare metal is your problem
Every cloud abstraction rests on somebody provisioning bare metal. If you run GPUs, storage, telco edge, or anything where the hypervisor tax or the neighbor noise is unacceptable, that somebody is you.
The problem statement is narrow and unforgiving: turn a machine with no operating system, no agent, and no credentials into a trusted, inventoried, reimageable cluster node, remotely, at rack scale, repeatably.
Seen from a distance, every provisioning system walks a freshly racked machine down the same path.
- The machine sits in the rack with no OS, no agent and no credentials.
- Its BMC, the management controller described in the next section, sets the boot device to the network and powers it on.
- The network boot delivers a ramdisk, a small operating system that runs entirely in memory.
- The ramdisk inspects the hardware and writes an image to the disk.
- The BMC flips the boot device to disk and reboots, and the machine comes up as a trusted, inventoried cluster node.
Key concepts
- PXE, TFTP, and DHCP options 66 and 67
- iPXE chainloading
- UEFI HTTP Boot
- Out-of-band management (IPMI and Redfish)
- Discovery and inspection ramdisk
- Full-disk image versus scripted install
- Provisioning state machine
- Cleaning and secure erase
Interview questions
- Trace the full boot chain from power-on to a running installer, naming every protocol and why each step exists.
- Compare IPMI and Redfish, and explain what you can and cannot do when only one channel is available.
- What does discovery and inspection actually collect, and why do you insist on it rather than a hardware inventory database?
- How do you treat firmware and BIOS settings as version-controlled configuration, and which settings matter for GPU nodes?
- What failure modes exist on bare metal that simply do not exist in cloud, and how do you design for them?
- How does bare metal change capacity planning, and how do you present that to people used to cloud elasticity?
Sign up free to read the full topic
More DevOps topics
Start free on Cariara · Coding problems · System design studio