Posts

Showing posts with the label UPS

Setting up UPS link with an ubuntu server

Image
I've bought a new server (build from parts) to replace the old one that has capacitor leak issues and died † And with it, I bought a new UPS (Uninterruptible Power Supply) to replace the old one that non longer work either... I've googled internet to setup this UPS with my linux server (ubuntu server 8.0.4.1) and here is the result of my search and work : When the UPS detect a power outage, it wait some times (configured depending on the capacity of the UPS and the power consumption of the server), and then send a mail with the UPS state just before the shutdown, and then shutdown the server. While waiting some time, if the power is back, the shutdown is cancelled. The UPS state is useful as it shows you the health of your UPS when it goes on battery. If the charge is really low when the server is shutdown, you might want to reduce the time it wait on battery before shutting down the server or replace the battery (or the UPS). If the charge is really close to 100, you might wa...