A passport for used servers
The server boots over PXE, runs hardware tests for two days and ships to the buyer with a signed report that can be re-verified.
Problem #
Everyone who counts money buys used servers: local hosters, small cloud providers, labs, startups running their own hardware. Refurbishers write “tested” in the listing, but what that actually means is usually a mystery to everyone, the seller included. Most of the time the server was powered on, someone saw POST, and it went out the door.
Then the familiar part begins. A DIMM throws correctable errors under load, a disk’s reallocated sector count keeps climbing, a NIC drops link at 25G but works fine at 10G. All of this can be found, but by then it is in the rack, under production load, found by an engineer whose time costs more than the DIMM itself. Your hardware will die, that’s a given; the point is for it not to die right after it goes into the rack.
Why now #
The used market is hot: some companies are leaving public clouds for their own hardware, while hyperscalers and large enterprises regularly decommission entire server generations. Meanwhile the testing tools have existed for years and cost nothing: memtester, stressapptest, fio, smartctl, nvme-cli, ethtool, ipmitool. What is missing is a thin wrapper that runs them the same way on any server and produces a result you can trust.
Why it’s cool #
The unfair advantage here is that the passport can be re-verified. The report is signed, with raw logs and the serial number of every component attached: DIMMs, disks, NICs, BMC. The buyer boots the same image on their side, runs a short profile and compares serials and readings against the passport. If the seller swapped a disk after the test, it shows up immediately.
Essentially, this is conformance for hardware. For the seller the passport is an argument in price negotiations; for the buyer it saves a day or two of acceptance testing per batch.
How to build it #
The architecture is simple, nothing extra:
- Boot image. An immutable Linux that boots over PXE or from a USB stick and writes nothing to the disks, except for destructive profiles behind an explicit flag. Built with a Dockerfile, the same way I used to build images for LTSP. Talos doesn’t fit here: we need arbitrary utilities and access to everything, so we take minimal Debian.
- Agent in Go. Reads the inventory (dmidecode, lshw,
smartctl -x,nvme id-ctrl,ipmitool fru), runs the test profile, collects EDAC counters and the SEL from the BMC before and after. - Profiles.
quick, 30 minutes, for acceptance, andburn-in, 24–48 hours, for the seller. Inside: stressapptest on memory, fio on every disk, SMART long, iperf3 to a test bench server, thermal cycling. - Passport. JSON with the inventory and results plus a human-readable page, signed with the test bench key, with log hashes. Stored in S3; the server gets a QR code with a link.
First working slice in 2–3 weeks: PXE image, inventory, the quick profile, a JSON passport and a passport verify command that compares a live server against its passport. The web storefront and burn-in come in the second phase.
Who has tried #
- MAAS from Canonical: during commissioning it runs smartctl, memtester and fio and blocks deployment on failure. A great tool, but it is for your own fleet, not for handing results to a third party. There is no signed, portable report.
- OpenStack Ironic with inspection collects inventory when a node is enrolled. For pre-sale testing that is far too heavy.
- Refurbishers themselves test with their own internal scripts, but what they hand out is at best a PDF without logs.
There is one difference, but it is fundamental: here the result becomes a document that survives a change of ownership and can be checked without trusting the seller.
First customers #
Mid-sized refurbishers in Europe who need to stand out from those for whom “tested” means “it powered on”. Local hosters who buy batches of 20–50 servers and currently accept them by hand. Colocation facilities that could sell acceptance testing of a customer’s new hardware as a service.
What kills it #
If the large sellers decide the passport doesn’t work in their favor because it exposes the real state of their stock, only the small and honest ones remain, and that is a narrow market. The second risk is the zoo of BMCs and RAID controllers. Half the time will go into HBAs that hide disks from smartctl and BMCs that lie in the SEL. And the third: a test bench signature is worth nothing if the bench belongs to the seller, so over time you will need an independent facility, and that is an operations business, not software.