Redundant Power and UPS
Level 3 · Parts that keep it running
Why servers have two power supplies on two power lines. What a UPS battery does in a power cut, and why it only lasts minutes.
Course contentsLesson 6 of 8
Level 1 · What a server is
Level 2 · Shapes and racks
Level 3 · Parts that keep it running
Level 4 · Remote control and where servers live
After this lesson you can
- Explain what two power supplies protect
- Say what a UPS does in a power cut
- Plan for a cut longer than the battery
10 mincovers 2 glossary entries
Worth reading first: ECC Memory and Hot Swapping
How a server stays on when the power fails
A server has two layers of power cover. Redundant power supplies are two supplies in one server. Each is strong enough to run it alone. A UPS is a battery box that keeps the servers on when the mains power cuts out. Its battery lasts only minutes.
With two supplies, a dead supply does not stop the server. The other takes the full load at once, with no pause. The dead one can then be hot swapped. Each supply is often plugged into a different power line, so the server also survives a cut on one line.
A UPS sits between the wall and the servers. When the power drops, its battery takes over with no gap, so nothing restarts. A small one gives a few servers 5 to 15 minutes. That is enough to ride out a flicker, or to shut down cleanly.
Minutes are not hours. For a long cut, a data center starts a diesel generator, which takes over from the batteries within a minute or so. Fuel kept on site can run it for a day or more. The battery only has to bridge that short gap.
Each layer guards against a different fault. Two supplies cover a dead supply or a cut on one line. A UPS covers a cut on the whole building. A generator covers a cut that lasts all afternoon. Small offices often have only the first two.
UPS batteries wear out. Most need new cells every three to five years. A UPS that has never been tested may hold for ten seconds instead of ten minutes. Its own screen or software can run a test and show how long it would really last.
People often plug both supplies of a server into the same power strip. That looks redundant and is not. When that strip or its line fails, both supplies go dark at the same moment. Run each supply to a different strip, on a different line.
Worked example
A storm hits a small office
Lucy's office has one server on a UPS rated for 12 minutes. A storm cuts the power. The server keeps running on the battery.
After 5 minutes the power is still out, and the UPS tells the server to shut down. It closes every file cleanly and switches off. When the power returns, it starts again with nothing lost.
The words for this lesson2
Check yourself
What does a UPS do in a long power cut?
Finished this lesson?
Marking it complete also marks its 2 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.