Simulate node crash

fanfan2a

Member
Nov 11, 2020
9
0
6
124
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 !!
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!