A power cut lasting a few seconds barely registers in most offices. The lights flicker and the kettle stops. For the server or NAS in the corner, those few seconds can mean a crashed array, a corrupted database or a machine that will not start again. A UPS (uninterruptible power supply) is the usual answer. Here is what it does, how to choose one and the mistakes that leave offices unprotected even with a UPS installed.
Why a sudden power loss hurts a server
A server is almost always in the middle of writing something: email databases, accounts files, shared documents, backups. When the power simply disappears:
- Open files and databases can be left half-written. Applications such as Exchange, SQL Server and accounting packages then need repair before they will open, and sometimes lose recent data.
- RAID arrays may be marked inconsistent and start a long verification or rebuild. During that time performance drops and a second weak drive is under extra strain.
- Write cache on the RAID controller or drives can hold data that has not yet reached the disks. Controllers with a healthy cache battery or flash module protect this. Without one, it is lost.
- Old drives and power supplies that were running fine can fail when power comes back. The surge and the cold start are hard on tired components.
A UPS gives the server enough battery power to ride through short cuts. For longer ones, it gives the server time to shut down cleanly.
Choosing the right type
Standby (offline)
The cheapest kind. It switches to battery when the mains fails. That is fine for a desktop PC, but it does little about dips and spikes, and the switchover can upset some server power supplies.
Line-interactive
The usual choice for a small office server or NAS. It corrects mild under- and over-voltage without touching the battery, so the battery lasts longer, and it switches over quickly. Look for “pure sine wave” output. Many server power supplies with active PFC prefer it.
Online (double conversion)
The server always runs from the UPS’s inverter, so it is fully isolated from mains problems. This type costs more, runs warmer and is noisier. It suits larger server rooms, sites with poor power or kit that must not drop even for a moment.
Sizing: VA, watts and runtime
UPS units are rated in VA and in watts. The watt figure is the one to compare against your equipment. To size one:
- List everything that must stay up: the server or NAS, the network switch, the router and the firewall. A server that is running but unreachable is not much use. Monitors and printers usually do not need to be on the UPS.
- Find the real power draw. The server’s management interface (iDRAC, iLO and similar) often shows live watts, or you can use a plug-in power meter. Do not just add up power supply ratings, which are maximums.
- Leave headroom. Running a UPS near its full rating shortens both runtime and battery life. Aim for a comfortable margin.
- Check the maker’s runtime chart for your load. Most small offices only need enough runtime to ride through short cuts and then shut down cleanly, not to keep working for hours.
Automatic shutdown: the part most people skip
A UPS on its own just delays the crash. If nobody is in the office when the power goes, the battery runs flat and the server loses power anyway. The UPS must be able to tell the server to shut down.
- USB connection: most small UPS units connect to one server or NAS by USB. Synology and QNAP NAS units can read this signal directly and shut down safely. Windows servers use the UPS maker’s software.
- Network management card: if several machines share one UPS, or you run virtual machines on a host, a network card lets the UPS signal all of them and send email alerts.
- Shut down in the right order: virtual machines and databases first, then the host, while there is still battery left. Set the shutdown to start early in the outage, not when the battery is nearly empty.
- Test it: during a quiet period, pull the UPS’s mains plug and watch what actually happens. Many offices find out at the first real power cut that the software was never set up.
Looking after the UPS
- Batteries wear out. Sealed lead-acid UPS batteries typically last a few years, and less in a warm cupboard. Most units run self-tests and show a “replace battery” warning. Do not ignore it, because a UPS with a dead battery gives no protection at all.
- Keep it cool and ventilated. Heat is the main thing that shortens battery life.
- Don’t overload it. Space heaters, laser printers and kettles do not belong on a UPS.
- Read the event log now and then. Frequent switches to battery are a sign of a problem with the building’s power that is worth raising with your electrician.
If the power has already gone off
If your server or NAS has already lost power and now shows a degraded or failed array, a missing volume or a database that will not mount, avoid repeated restarts and do not run repair or rebuild commands on a guess. Write down any error messages and check the management interface. If the data matters, get help before anything is written to the disks.
How we can help
Our server repair service handles power-related faults, failed power supplies, RAID problems and servers that will not boot after an outage. If an array or NAS has lost data, our data recovery lab can work on the drives directly. Bring equipment to our Central London repair centre, or we can arrange courier collection anywhere in the UK. The evaluation is free, you get a fixed quote before work starts, and it is no fix, no fee. Call 020 7237 4908 or contact us.