Re: Make server reboot by itself instead of dropping to kernel debugger

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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?
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux