notaloafer
February 5th, 2008, 07:31 PM
After my first failure to shut down with my server when we had our first power outage yesterday I've decided to take a look on how to better configure my UPS =) .
Right now I have to so when a power loss is detected my APC UPS notifies my server that power has been lost. The server waits 7 minutes for power to return and if it doesn't, initiates a full shut down.
My question is how do I get my server to shutdown fully to the point where when power is returned it automatically reboots? Since it is fully shutting down right now when power returns it doesn't automatically restart.
Can someone tell me the different ways of shutting linux down so I can have the daemon UPS management process (APCUPSD) shut it down enough to the point where the process is still running and can tell the server to start back up again when power is returned? Is there another way to do this?
It's occured to me that ubuntu has several different ways of shutting down; not as cut and dry as "Shut Down" in Windows XP is =P . If you can give me a brief overview on how "halt" works and the different options that would be awesome.
Thanks
-Eric
Right now I have to so when a power loss is detected my APC UPS notifies my server that power has been lost. The server waits 7 minutes for power to return and if it doesn't, initiates a full shut down.
My question is how do I get my server to shutdown fully to the point where when power is returned it automatically reboots? Since it is fully shutting down right now when power returns it doesn't automatically restart.
Can someone tell me the different ways of shutting linux down so I can have the daemon UPS management process (APCUPSD) shut it down enough to the point where the process is still running and can tell the server to start back up again when power is returned? Is there another way to do this?
It's occured to me that ubuntu has several different ways of shutting down; not as cut and dry as "Shut Down" in Windows XP is =P . If you can give me a brief overview on how "halt" works and the different options that would be awesome.
Thanks
-Eric