Byte Technologies guide: UPS Shutdown Software and Network Management: Shutting Servers Down Cleanly

UPS Shutdown Software and Network Management: Shutting Servers Down Cleanly

In this guide
  1. Ways a UPS signals a computer
  2. Vendor tools
  3. Setting the thresholds
  4. Alerts, security and testing
  5. Frequently asked questions
By Byte TechnologiesNovember 23, 20263 min readLinkedInXEmail

A UPS gives minutes, not hours. When the power fails and the battery runs low, someone or something has to shut the servers down before the battery runs out. This guide explains the ways a UPS signals the computers it protects, and how to set the thresholds.

Ways a UPS signals a computer

MethodGood forNotes
USB or serial cableOne computer next to the UPSInstall the UPS software on that computer
Network management card plus shutdown agentSeveral serversThe card sends the signal over the network and an agent on each server shuts it down
SNMPMonitoring systemsReads battery and load, and sends alerts
NUT (Network UPS Tools)Mixed systems, open source setupsOne server talks to the UPS and others are clients

Vendor tools

The UPS makers offer their own software, such as APC PowerChute, Eaton Intelligent Power Manager and CyberPower PowerPanel, with different editions for one computer, for several servers and for virtual hosts. Check which operating systems and hypervisors the edition supports before you buy. See UPS accessories for management cards.

Setting the thresholds

  • Time the longest shutdown, including virtual machines and databases, and add a safety margin.
  • Start shutdown when the remaining runtime falls below that time, or after the UPS has been on battery for a set number of minutes.
  • Shut down virtual machines first and the host last, and the storage after the servers that use it.
  • Set the UPS to restart the equipment when mains power returns, in an order that suits the network.

Alerts, security and testing

Set email or SNMP alerts for power loss, low battery and a failing battery. Change the default password of the management card and keep it on a management network. Run a test of the shutdown process on a schedule, and replace batteries on time. See how to replace a UPS battery and how to size a UPS.

Frequently asked questions

Do I need a network management card?

If you want several servers to shut down from one UPS signal, or want alerts over the network, yes. For one computer, a USB cable and software may be enough.

What is NUT?

Network UPS Tools is an open source project that reads many UPS models and shares their status over the network, so other computers can shut down.

How much runtime should remain when shutdown starts?

At least the time the slowest system needs to shut down cleanly, plus a margin. Time a real shutdown to find it.

Shopping Cart