TL ; DR - I don't care which host the High Availability VMs move to, as long as it doesn't exceed 4 VMs per host. Can this be done?
Full Story -
I am planning out a 4 host cluster (and 1 QDevice) of PVE with HA active using CEPH Storage and plan to run 8 Windows Server VMs across all hosts. I am going to purchase licensing for 4 VMs per host to keep costs down, but I do not want to pin VMs to specific machines or restrict them either; I want them to be able to move to any host to allow for failure in any of the hosts. Is there a way to limit the number of VMs running per host to 4 so that if one host goes down the cluster will pick a host with <4 VMs to move HA capable VMs to? I am trying to stay within the licensing terms of Windows Server.
For instance:
Host 1 = 2 VMs
Host 2 = 2 VMs
Host 3 = 3 VMs
Host 4 = 1 VM
If Host 3 goes down, the cluster will not try and transfer all VMs to Host 1 or Host 2 since that will be >4, but it will split them or move them all to Host 4. Or say 2 hosts go down, I want it to balance the remaining servers to 4 VMs each, not 5 and 3.
Is this viable, or do I have just be mindful of hosts going down and fix any migrations that result in >4 VMs per host?
Full Story -
I am planning out a 4 host cluster (and 1 QDevice) of PVE with HA active using CEPH Storage and plan to run 8 Windows Server VMs across all hosts. I am going to purchase licensing for 4 VMs per host to keep costs down, but I do not want to pin VMs to specific machines or restrict them either; I want them to be able to move to any host to allow for failure in any of the hosts. Is there a way to limit the number of VMs running per host to 4 so that if one host goes down the cluster will pick a host with <4 VMs to move HA capable VMs to? I am trying to stay within the licensing terms of Windows Server.
For instance:
Host 1 = 2 VMs
Host 2 = 2 VMs
Host 3 = 3 VMs
Host 4 = 1 VM
If Host 3 goes down, the cluster will not try and transfer all VMs to Host 1 or Host 2 since that will be >4, but it will split them or move them all to Host 4. Or say 2 hosts go down, I want it to balance the remaining servers to 4 VMs each, not 5 and 3.
Is this viable, or do I have just be mindful of hosts going down and fix any migrations that result in >4 VMs per host?
Last edited: