A server converts electricity into computation and heat, in roughly equal measure. A datacenter's job is to deliver the electricity without interruption and remove the heat without pause, for years, while people replace parts inside. Most of the building's cost and engineering is those two things. Here is how they work.
Power: the chain from grid to server
Utility feeds. A serious datacenter takes power from two separate substations over two separate routes into the building, so a fault on one line or one transformer does not matter. Each feed is sized to carry the whole load alone.
Switchgear and transfer switches. Automatic transfer switches detect a feed failing and move the load to the other feed, or to the generators, within milliseconds.
UPS. Uninterruptible power supplies — rooms of batteries (increasingly lithium) with inverters — sit between the grid and the servers. They do two jobs: bridge the seconds between a grid failure and the generators taking over, and condition the power (smooth spikes, sags and frequency drift) so servers see a clean waveform. UPS capacity is measured in minutes of runtime at full load; 5–15 minutes is typical, because the generators are meant to be running well before that.
Generators. Diesel, on site, with fuel for 24–72 hours and contracts for refuelling. They start automatically on grid loss and take over within about ten seconds. Facilities test them under load monthly; a generator that has not been exercised is the classic single point of failure. A Tier III facility has N+1 of them; the tier system is largely a description of this chain's redundancy.
Distribution. From the UPS, power runs to the floor through distribution boards to PDUs in each rack — two per rack, on separate paths (the "A" and "B" feeds). Every server has two power supplies, one on each. Lose an entire path — a UPS, a board, a PDU — and every server keeps running on the other.
Cooling: removing the heat
A rack drawing 8 kW produces 8 kW of heat, roughly the output of three domestic ovens, continuously. Multiply by hundreds of racks.
Hot and cold aisles. Racks are arranged in rows, front to front and back to back. Cold air is delivered to the front-facing aisle — through a raised floor with perforated tiles, or from overhead — and drawn through the servers by their fans, exiting hot into the back-facing aisle. How a rack is laid out follows from this.
Containment. Doors at the ends of an aisle and a roof over it stop hot and cold air mixing, so the cooling system handles hot air at 35–40 °C rather than a lukewarm blend. This single change saves 20–30% of cooling energy, and most modern floors have it.
CRAC/CRAH units and chillers. Air handlers at the edge of the room pull in the hot-aisle air, pass it over coils carrying chilled water, and push cold air back. The chilled water comes from chillers on the roof, which reject the heat to the outside air. In the UK's climate, free cooling — using outside air directly through heat exchangers when it is below about 18 °C — runs most of the year and is why northern Europe is a popular datacenter location.
Temperature. The old rule of "keep it at 18 °C" is gone; ASHRAE's guidance allows server inlet air up to 27 °C, and running warmer saves large amounts of energy with no effect on hardware lifetime. Modern floors feel warm to walk through at the front and hot at the back.
Liquid cooling. For racks above about 30 kW — GPU clusters — air cannot carry the heat away fast enough, and water is piped to the servers directly or to rear-door heat exchangers. Not relevant to web hosting racks yet.
PUE: the efficiency number
Power Usage Effectiveness is total building power divided by the power delivered to IT equipment. A PUE of 2.0 means for every watt the servers use, another watt goes to cooling, UPS losses and lighting. Older facilities run 1.8–2.0; well-designed modern ones 1.2–1.4; the hyperscalers claim 1.1. It matters to you indirectly — a low PUE is a facility that is well run and cheaper to operate, which ends up in pricing and in the odds the generators start.
What goes wrong
Power outages at datacenters are almost never the grid; the grid failing is the scenario the whole design exists for. They are: a transfer switch that failed to transfer, a generator that started but did not take load, a UPS battery string past its life, or a human error during maintenance on the one path that turned out not to be as redundant as the diagram. Which is why the questions to ask a facility are about testing and maintenance history, not about the size of the generators.
VPSPioneer's servers are in a UK facility with dual utility feeds, N+1 UPS and generators tested monthly under load, hot-aisle containment and free cooling for most of the year — and each host server is on both PDU feeds, which is the part that is up to the hosting company rather than the building.