[Nut-upsuser] NUT support for multi-OS environment

Philippe Marzouk phil at ozigo.org
Mon Aug 4 13:58:14 UTC 2014

On Tue, Jul 29, 2014 at 02:31:51PM +0200, Michael Wagener (Amoebasys) wrote:
> Hi All:
> I am interested at looking at NUT to manage shutdown response to power
> outages more efficiently.
> Presently I have an APC SmartUPS 1500 which connects to a "server" using
> a USB connection, from where I run a shutdown batch file for our server
> environment.
> Currently I have 3 boxes running XCP with a number of servers on them, a
> XenServer box with a number of MS servers on it, along with an internet
> gateway server and a PBX.
> The load on my UPS is around 40% and I have around 10 minutes of
> run-time in which to shut down all of my boxes.  At the moment, because
> some of the server apps are quite heavy, the shutdown time is not
> sufficient because of shutdown time delays, and the batch file being
> sequential, meaning that it executes a command, waits for a response and
> moves on to the next command.
> I would like to be able to issue a shotgun command to my VM boxes, etc.,
> simultaneously, as the UPS run-time will then probably be sufficient.
> I would appreciate comment on whether or not I can achieve this, along
> with any additional guidance that you may feel would be good to have.

This is exactly the kind of scenarios NUT was written for.
You have one host connected to the UPS, the other hosts have the "upsmon"
daemon active and shutdown automatically when the UPS is on low battery.


More information about the Nut-upsuser mailing list