Best way to put 'anti-affinity rules'

prxd44

New Member
Apr 28, 2016
2
0
1
38
Hello,

I actually have a 3 nodes cluster, with 2 vm (load balancers : lb1 and lb2).

My request is: How specify that my two vm (lb1 and lb2) should not be placed on the same node at any instant after reboot (via HA) ?

I suppose i can proceed by the following way but i'm not sure this is the best way :
1) Adding a 4th node to my cluster.
2) Form 2 groups (node 1+node2 / node3+node4).
3) Putting lb1 in group1 and lb2 in group2.

Thanks in advance for shed light me on about this point.
 

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!