Network UPS Tools and orderly server shutdowns

UPS Shutdown Guide

When the power goes, everything should finish up and leave in order, before the battery runs out. Guides to Network UPS Tools and automatic server shutdown on UPS hardware.

OPEN WAY OUT 1 2 3 12 MIN LEFT 11 MIN LEFT10 MIN LEFT9 MIN LEFT8 MIN LEFT7 MIN LEFT6 MIN LEFT5 MIN LEFT4 MIN LEFT3 MIN LEFT 2 MIN SPARE CHARGING MAINS ON ON BATTERY UPS OFF MAINS BACK VMs NAS HOST

Still picture shown because your device asks for reduced motion.

Closing time, as a UPS shutdown. An example order with example minutes:

  1. 0:00 The mains fail and the OPEN sign goes dark. The landlord rings the bell: the UPS is on battery with 12 min left at this load.
  2. 2:00 Shutdown starts. The VMs leave first and take 2 min.
  3. 4:00 The NAS follows and takes 2 min.
  4. 6:00 The host goes last and takes 3 min.
  5. 9:00 Everyone is out. The UPS waits 1 min more.
  6. 10:00 The landlord switches off the lights (the UPS cuts its outlets) with 2 min of battery to spare.

Your own order depends on your setup, such as which machine runs the NUT server and which machines rely on others. Plan yours with the closing-time planner.

Last orders

Every guide

On the bar

All guides

Calling time on your servers

Type in your battery runtime, the wait before shutdown starts and how long each machine takes to shut down. The planner draws the timeline and shows whether everything is off before your safety margin.

wait + steps + UPS off delay + margin ≤ runtime?

Open the planner

On tap: topics

All topics