Hello, I received for X-mas an APC UPS system form my computer. I'm looking for how I can integrate it into the system so that the system will shut down either after the UPS power is low enough or a timed event after the power is out will automatically shutdown. Would also like it to be smart enough to stop the shut down process if power is restored before the shutdown starts. Anyone have any recommendation for this setup? Thanks. -- Regards Robert Linux User #296285 http://counter.li.org
2009/12/26 Robert Spangler <mlists at zoominternet.net>> Hello, > > I received for X-mas an APC UPS system form my computer. I'm looking for > how > I can integrate it into the system so that the system will shut down either > after the UPS power is low enough or a timed event after the power is out > will automatically shutdown. Would also like it to be smart enough to stop > the shut down process if power is restored before the shutdown starts. > > Anyone have any recommendation for this setup? Thanks. > > -- > > Regards > Robert > > Linux User #296285 > http://counter.li.org >I currently use apcupsd for this purpose. It is available from rpmforge. Matt -- Mathew S. McCarrell Clarkson University '10 mccarrms at gmail.com mccarrms at clarkson.edu 1-518-314-9214 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20091226/e494ea2d/attachment.html>
Robert Spangler wrote:> > I received for X-mas an APC UPS system form my computer. I'm looking for how > I can integrate it into the system so that the system will shut down either > after the UPS power is low enough or a timed event after the power is out > will automatically shutdown. Would also like it to be smart enough to stop > the shut down process if power is restored before the shutdown starts. > > Anyone have any recommendation for this setup? Thanks. >apcupsd. Works fine... though I will say that we have configured it at work so that it just complains, rather than shuts down - for one thing, multiple servers. That's not your configuration, so the default configuration might work for you. And yes, the configuration file is readable and comprehensible. mark -- "Nuclear physicists speak of five fundamental forces: weak, strong, electromagnetic, gravity, and duct tape." -- American Science and Surplus Catalog
On Sat, Dec 26, 2009 at 10:59:58AM -0500, Robert Spangler wrote:> > I received for X-mas an APC UPS system form my computer. I'm looking for how > I can integrate it into the system so that the system will shut down either > after the UPS power is low enough or a timed event after the power is out > will automatically shutdown. Would also like it to be smart enough to stop > the shut down process if power is restored before the shutdown starts.I use both apcupsd and NUT (networkupstools.org) for this purpose. I think NUT is the more complicated product, but it also works in a multiserver environment (though I never made it that far in my configuration). In any case, the NUT documentation has good suggestions for how to test your configuration, which I used (generically) even when testing apcupsd. I currently use apcupsd in a single-machine environment, and have it configured to shut down on low battery. I tested almost all the scenarios described in the NUT docs, and apcupsd performed fine in all of them. (One thing I didn't test was whether it restored power gracefully if line power was restored after shutdown had already began; if you are concerned about availability you should do this test in addition to the more obvious ones.) --keith -- kkeller at speakeasy.net -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20091226/439a9db4/attachment.sig>
On Sat, 2009-12-26 at 14:26 -0800, Keith Keller wrote:> On Sat, Dec 26, 2009 at 10:59:58AM -0500, Robert Spangler wrote: > > > > I received for X-mas an APC UPS system form my computer. I'm looking for how > > I can integrate it into the system so that the system will shut down either > > after the UPS power is low enough or a timed event after the power is out > > will automatically shutdown. Would also like it to be smart enough to stop > > the shut down process if power is restored before the shutdown starts. > > I use both apcupsd and NUT (networkupstools.org) for this purpose. I > think NUT is the more complicated product, but it also works in a > multiserver environment (though I never made it that far in my > configuration). In any case, the NUT documentation has good suggestions > for how to test your configuration, which I used (generically) even when > testing apcupsd. > > I currently use apcupsd in a single-machine environment, and have it > configured to shut down on low battery. I tested almost all the > scenarios described in the NUT docs, and apcupsd performed fine in all > of them. (One thing I didn't test was whether it restored power > gracefully if line power was restored after shutdown had already began; > if you are concerned about availability you should do this test in > addition to the more obvious ones.)---- apcupsd is both a server and client software so if you have multiple systems plugged into a single APC UPS device, you can set the system with the USB/serial cable up as server and other systems as clients. Craig -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
HI Robert, Either apcupsd or NUT(network ups tools) will work. I've used both and IMO apcupsd often seems to have better support for the newer APC units then NUT does. That said, I do prefer NUT because I've been using their tools for a lot longer. I also run a mixed shop, APC & Liebert UPS's protecting virtualised CentOS & Windows Server 2003 instances, so NUT's been more flexible for me. -- Drew "Nothing in life is to be feared. It is only to be understood." --Marie Curie
> I received for X-mas an APC UPS system form my computer. ?I'm looking for howWARNING! The following is uninformative. I am just impressed that you get such presents for X-mas. That totally beats my two packages of white t-shirts. -- Kristopher Kane