Sunday, August 25, 2013

How to simulate linux server crash to test high availability cluster configuration?

How to kill a linux box?

# date ; echo 1 > /proc/sys/kernel/sysrq ; echo b > /proc/sysrq-trigger


This command just inform the kernel that the server crashed. So that the standby node can take over.


No comments:

Post a Comment