Simulate node crash

fanfan2a

Member
Nov 11, 2020
9
0
6
125
Hi guys

I'm using two nodes with replication and I would like to simulate a node crash to test if all works well :

I think I should :
- shutdown node B
- set "pvecm expected" to "1" on node A when node B is down
- migrate the VM from B to A

The question is : if if turn node B to up state, what do I have to do to make the cluster work again ?

Thanks
 
To test a server crash (VM or node) when I've setup my HA config on 3 nodes I was using, on the linux server to crash:
echo c > /proc/sysrq-trigger
I think it is more representtaive than a clean shutdown.
 
  • Like
Reactions: fanfan2a
To test a server crash (VM or node) when I've setup my HA config on 3 nodes I was using, on the linux server to crash:
echo c > /proc/sysrq-trigger
I think it is more representtaive than a clean shutdown.
Hi !

Thanks for the reply

Actually, I need to know if the number of expected votes is automatically updated when the node B returns to up state or if I have to reconfigure my cluster ?

anyway, your advice will be useful when I'll have 3 nodes and HA !!