Click to See Complete Forum and Search --> : Automatic Reboot after power failure?
mazeroth
01-03-2003, 02:54 AM
Hey people here's my question. I have a server and I'm looking at all the angles to make sure everything goes right because this server will be used for hosting. My question is, if the power goes out my server will turn off (doh). To solve this problem I can buy a ups that will be able to power the computer for a few minutes which should be enough. BUT, what if the electricity goes out for 1 hour... or more. Then the ups will run out of power and the computer will turn off. Now, when the electricity comes back on, how can I make the server turn back on by itself? And I don't want to spend hundreds of dollars on a fancy ups system. Anyone know a motherboard that can do this? Thanks.
sharth
01-03-2003, 03:01 AM
Only thing that I can think of. Setup the motherboard so that there is no power button. In other words, at every moment, the power is being turned on. However, you would also need to check to see that the computer is not currently on. Do that loop on normal electricity. That way, when power comes back on, the system goes back on, and turns the comp back on.
The only other thing that I can think of would have to do with a wake on lan (wol) implementation of the same idea, which would probably take out alot of the problems.
hlrguy
01-03-2003, 03:08 AM
Hmmm, when the power goes out on my system, when it comes back on, it restarts, starts linux and if required, checks the filesystem. This is true of my last two computers. Is this motherboard specific?. I start normally at runlevel three, so if I had a server hosted, I would make sure that process was in /etc/rc.d/rc3.d and then, it would restart automatically on boot up, power failure or turn on.
hlrguy
mazeroth
01-03-2003, 03:20 AM
The wake on lan would work. The thing is that this server is of site... not accessible whenever I want. So if it goes off I'm not there to turn it back on. That's why I want it to automatically turn back on in the case that it turns off. I just checked this manuel for this motherboard:
MSI KT3 Ultra2 and the BIOS on the Motherboard does what I need. There's an option that says: incase of power failure what should it do, stay off, reboot, or something else. Plus it also has another option that automatically trys to turn the computer on everyday at ceratin specified time.
So I think I'm going to buy this motherboard, does exactly what I need it to do. Thanks for the help though.
mdwatts
01-03-2003, 10:19 AM
You may be able to find something to help in these G4L search results for 'reboot power failure' (http://www.google.com/linux?hl=en&lr=&ie=ISO-8859-1&q=reboot+power+failure&btnG=Google+Search).