3 node HA Cluster, who wins?

q16marvin

Renowned Member
Jul 16, 2013
50
0
71
Hi,

i have a 3 node HA Cluster. Which node will get the kvm, if one node is crashing?


thx!

Erik
 
that is undefinded/random unless you configure failover domains.

ahh okay and how do i use a failover domain?

is this okay:

<?xml version="1.0"?>
<cluster config_version="20" name="PROXMOX">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_ifmib" community="fencing" ipaddr="192.168.200.6" name="hpe2910al" snmp_version="2c"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox1" nodeid="1" votes="1">
<fence>
<method name="fence">
<device action="off" name="hpe2910al" port="17"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" nodeid="2" votes="1">
<fence>
<method name="fence">
<device action="off" name="hpe2910al" port="18"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox3" nodeid="3" votes="1">
<fence>
<method name="fence">
<device action="off" name="hpe2910al" port="19"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox4" nodeid="4" votes="1">
<fence>
<method name="fence">
<device action="off" name="hpe2910al" port="20"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="stservices" nofailback="0" ordered="1" restricted="0">
<failoverdomainnode name="proxmox1" priority="1"/>
<failoverdomainnode name="proxmox2" priority="2"/>
<failoverdomainnode name="proxmox3" priority="3"/>
</failoverdomain>
</failoverdomains>
<pvevm autostart="1" vmid="111" domain="stservices"/>
</rm>
</cluster>
 
Last edited:

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!