Two-Node High Availability Cluster question

RobFantini

Famous Member
May 24, 2012
2,042
109
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?