[CentOS] Make server reboot by itself instead of dropping to kernel debugger

Digimer lists at alteeve.ca
Fri Aug 23 14:35:40 UTC 2013


On 23/08/13 04:19, Alexander Farber wrote:
> I've ended up doing this (hope it's valid for CentOS 6.4):
>
> # echo 10 > /proc/sys/kernel/panic
> # echo "kernel.panic=10" >> /etc/sysctl.conf

If your servers have a watchdog timer (most with IPMI/iLO/iDRAC/etc do), 
you can enable it. The OS will then have to kick the timer periodically 
to restart it's counter. If the OS panic's, it won't be able to reset 
the timer. Once the timer expires, it reboots.


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?



More information about the CentOS mailing list