TransWikia.com

UPS Compatibility with Ubuntu Server

Ask Ubuntu Asked on December 15, 2021

I’m looking into getting battery backup unit to protect my Ubuntu server. How can I find out if it is compatible with Ubuntu (11.04)?

Ideally I’d like to be able to tell the server when there is a power outage so the server can shutdown. I know most of them come with software that works with Windows, but haven’t seen any that mention Linux or Ubuntu.

Are there any good resources for setting up UPS’s with Ubuntu? Any recommendations?

2 Answers

I recommend using Network UPS Tools (NUT) - an open-source library of software and drivers which support a vast variety of UPS devices.

While much of the support in this project relies on unofficial / reverse-engineered compatibility, it seems to be much simpler to install and configure rather than using the proprietary software and drivers provided by the OEM.

The biggest benefit to NUT is that many OEM's force you to purchase a very expensive UPS just to get a device having compatibility with their management software on Linux. Because of this, most entry-level devices will only communicate with the watered-down Windows software they provide. NUT provides this capability to Linux users without needing the official software.

APC and CyberPower are two of the most popular hardware OEMs for UPS. If you browse NUT's website, you'll see a list of all compatible OEMs and models. From what I've seen, many people have reported success with NUT even on models not listed on the website.

One last important thing: Make sure the UPS supports USB (communication, not just charging) or Ethernet. Many entry-level devices may have no means of communication, others will use connections less common (RS-232) in consumer products, and some will require you to purchase a network card to add Ethernet.

Answered by TheKarateKid on December 15, 2021

One of the most popular UPS companies is APC.

To monitor and powerdown my server I have been using apcupsd which has lots of options and a comprehensive userguide for setting it up. It has worked well with my APC Smart-UPS 700VA for many years.

You may find that you need to spend a bit more to get a UPS unit that has a serial/usb cable to communicate power status with the server.

Answered by Cas on December 15, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP