Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We've got a Fideltronik UPS and a Windows-based server to be kept up by the UPS and shut down on prolonged power failure. The problem is the server should restart on power return... and if power returns before the batteries run out, it won't restart.

Thing is, the server can be driven to shut down (through RS232 and a monitoring application) when desired. Setting it to power on on external power return will work if the UPS was powered down after running empty, and then power returns. But if the computer shuts down before the UPS runs off and then power returns, only a signal over RS232 will be sent (to a computer that is switched off), and the power will not be cycled, thus the computer will not boot.

One idea was be to somehow force the UPS to cycle power upon recovering it - problem is cycling the power before it did shut down. Another might be detecting power return on the line and sending a power-up/power-cycle signal over a separate line to the computer - except if we use the "power on" pins, we don't want the event to be sent while Windows is running. One more - sending "power off" signal out to the UPS right before the computer finishes shutdown (or somehow shortly after??).

This is an electronics workshop, so developing a simple circuit to help is a viable solution, and we can find power return state in the RS232 line - it isn't really used for RS232 protocol, just as 4 GPIO pins, CTS high = power is on.

share|improve this question
    
Higher-end UPSes can be configured to do a shutdown/powerdown cycle. Ours is set so 1 minute w/o power starts the process, 10 minutes later (no matter what) it disconnects power to the load. After the cycle, when power is restored it puts power to load again. –  Chris S Oct 4 '11 at 13:39
    
So to sum up, you want the UPS to shut down if it sends a signal to the server to shut down and turn the UPS back on to force the computer to detect the power coming back up and turn itself back on, yes? –  Bart Silverstrim Oct 4 '11 at 13:40
1  
My initial thought is, how often is this happening to you that you have this particular issue and can't have someone turn the server back on? I'd be looking for backup power sources/generator to kick in and keep the data area running if this were a regular problem. –  Bart Silverstrim Oct 4 '11 at 13:41
1  
Take a look at discussion at serverfault.com/questions/313630/… –  PaweĊ‚ Brodacki Oct 4 '11 at 13:45
1  
@SF - Um... O_o –  Bart Silverstrim Oct 5 '11 at 10:38

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.