[CentOS] Gracefully powering off system in case of power failure

Sat Jul 4 07:37:14 UTC 2015
John R Pierce <pierce at hogranch.com>

On 7/4/2015 12:28 AM, Jatin Davey wrote:
>>
> My server supports ACPI 4.0 standard , Will that be helpful ? 

does `init 0` as a root command cause it to gracefully shut down and 
power off ?      thats all the ACPI support you need.


what brand/model UPS (battery backup) do you have ?    the UPS software, 
apcupsd and/or NUT, needs to listen to the UPS to tell it when the power 
has failed, then it can tell your OS to shutdown after a suitable delay 
(if your UPS is good for 30 minutes, you might not want to shut down 
until the power has failed for 15 minutes, so brief outages don't cause 
a shutdown)



-- 
john r pierce, recycling bits in santa cruz