1833832 Members
2086 Online
110063 Solutions
New Discussion

Re: UPS SOFTWARE

 
SOLVED
Go to solution
wvsa
Regular Advisor

UPS SOFTWARE

Greetings, we have a UPS that services our entire computer room; looking for software that would reside on our unix servers that would detect when the power source is coming from the ups and shutdown the servers. Please dont laugh to hard at this request, seems impossible to me, but who knows. Thankyou for input.
8 REPLIES 8
Christopher Caldwell
Honored Contributor

Re: UPS SOFTWARE

Have you checked with your UPS vendor? Most of the major vendors make software that reads data from their UPS (older UPSs go through RS232, newer UPSs actually have ethernet connections). The UPS we just has SNMP monitoring, traps and auto-shutdown features.
A. Clay Stephenson
Acclaimed Contributor

Re: UPS SOFTWARE

I did something like that a long time ago. Does your UPS have any kind of interface?
Typically big Liebert's have either an RS232
serial interface or a set of relay contacts.

I could probably dig up the c code for this. The general scheme was to have a daemon trying
to open a tty port that was attached to a set of normally closed relay contacts to detect DTR. When power dropped the contacts closed and the file open succeeded thus triggering a shutdown (after some delay in case power was restored).
If it ain't broke, I can fix that.
Gregory Fruth
Esteemed Contributor

Re: UPS SOFTWARE

Have a look at powstatd.

http://dollar.biz.uiowa.edu/~powstatd
wvsa
Regular Advisor

Re: UPS SOFTWARE

Gregory, could you check that url, it seems to be invalid. Thankyou for your input.
Mark Vollmers
Esteemed Contributor

Re: UPS SOFTWARE

What type of UPS is it? We have a APC battery on ours that is connected to our UNIX and NT servers, and we have a program called Powerchute to tell the server to shut down when on battery for x minutes. I think that the NT also has Powerchute on it (different version) that will only shut it down, but the system monitoring is on the UNIX. For ours, only the server connected through the primary port (unix) can do monitoring and testing. The other servers can only shut down, but the software needs to be on every system.

Mark
"We apologize for the inconvience" -God's last message to all creation, from Douglas Adams "So Long and Thanks for all the Fish"
Tony Willis_1
Frequent Advisor

Re: UPS SOFTWARE

Stay away from HP UPS Manager II.
It does not work properly in the U.S. .
APC PowerChute is specified for HP-UX and other unix and non-unix systems.

You can submit a request to see if PowerChute is compatable with you UPS at www.apcc.com.
"Not Today,Nice Try, Next Time"
Gregory Fruth
Esteemed Contributor

Re: UPS SOFTWARE

Sorry, the correct URL is:

http://dollar.biz.uiowa.edu/powstatd/

Also, the blurb from that page might be of particular interest
to you:

Powstatd can also be configured to allow a master machine to
control several slave machines connected to the same UPS via a
network connection. This allows you to run several machines off
the same UPS, with only one of the machines actually reading the
UPS status over the serial line.

Wilmar Ricio
Occasional Advisor
Solution

Re: UPS SOFTWARE

We're using SiteNet 1 software for Unix and it's working fine.
Website is www.liebert.com.

GoodLuck