Two-Node High Availability Cluster question

RobFantini

Famous Member
May 24, 2012
2,009
102
133
Boston,Mass
We have a 2 node ha cluster using drbd for shared storage.

There are 6 KVM's on drbd storage.

We'd like to make it so all the KVM's are running on only one of the hosts. So the other node would just be a hot standby host.

Does anyone have a suggestion on how to accomplish that?
 
You could group the VM´s together. Just place this code inside /etc/cluster/cluster.conf.new (e.g. before </cluster>) and change name and replace the ip part with more pvevm tags. After this, you have to accept changes in WebGui.
<rm>
<service autostart="1" exclusive="1" name="ha_gateway" recovery="relocate">
<ip address="10.0.1.254"/>
<pvevm autostart="1" vmid="112"/>
</service>
</rm>
 
Thank you for that information... I have a question

would that make it so the kvm's only are allowed on the ip address specified?
 

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!