load balance vms

hallowknight

New Member
Feb 25, 2025
2
0
1
Hi,
I am wondering how to create a ha web server that can failover to 2 other nodes (going to have 3 servers) that if primary one is near max resources to spread the load to another server.
Planning to have a vm dedicated for db cluster on each server outside the cluster.
How would I deal with portwarding doing this?
 
this question gets asked regularly.

In short- it can be done, but there are a bunch of caveats specific to your application(s). time to start researching this from the application side- you're in the wrong forum ;)
 
this question gets asked regularly.

In short- it can be done, but there are a bunch of caveats specific to your application(s). time to start researching this from the application side- you're in the wrong forum ;)
I was hopping that Proxmox os would be able to deal with the way I want the server within the settings.
 
The closest I havefound was the Cluster Resource Scheduling in the options of the datacenter. Not sure if it is working tough, I assumed it would move the VM's to a node that was not very loaded, I think that is happening ( my 3 node setup is not very busy) eventhough I have fallback selected the vm's don't go back tho their original node. I will tinker some more.
 
So what I just did was set a node for the highest priority, (highest number) it had a few VM's running on it (node 4)
my other node was empty (node 2) , I had two vm's running on another node ( node 1) and pulled the network cable, I figured proxmox would send the vm's to the highest prioroty node (4) but it sent them to the empty not used node (2) ..interesting.