Hello
I'm experimenting on two node cluster with drbd and lvm on top for vms.
I don't have a fencing device for the time so I'm using fence_manual and fence_ack_manual command to simulate fencing.Everything works as expected .The only difficulty I have is with failover domains. I have 5 HA vms. 3 of them running on node B and 2 running on Node A. When I reset node B and give "fence_ack_manual nodeB" from nodeA, the 3 vms located on nodeB are started on nodeA as expected.But when NodeB comes up, these 3 vms are not relocated back on nodeB as I wish to.I'm posting my cluster.conf:
thank you
I'm experimenting on two node cluster with drbd and lvm on top for vms.
I don't have a fencing device for the time so I'm using fence_manual and fence_ack_manual command to simulate fencing.Everything works as expected .The only difficulty I have is with failover domains. I have 5 HA vms. 3 of them running on node B and 2 running on Node A. When I reset node B and give "fence_ack_manual nodeB" from nodeA, the 3 vms located on nodeB are started on nodeA as expected.But when NodeB comes up, these 3 vms are not relocated back on nodeB as I wish to.I'm posting my cluster.conf:
Code:
<?xml version="1.0"?><cluster config_version="22" name="pvecluster">
<cman expected_votes="1" keyfile="/var/lib/pve-cluster/corosync.authkey" two_node="1"/>
<fencedevices>
<fencedevice agent="fence_manual" name="human"/>
</fencedevices>
<clusternodes>
<clusternode name="proxmox" nodeid="1" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox"/>
</method>
</fence>
</clusternode>
<clusternode name="proxmox2" nodeid="2" votes="1">
<fence>
<method name="single">
<device name="human" nodename="proxmox2"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="ordered" nofailback="0" ordered="0" restricted="1">
<failoverdomainnode name="proxmox" priority="1"/>
<failoverdomainnode name="proxmox2" priority="1"/>
</failoverdomain>
</failoverdomains>
<pvevm domain="ordered" autostart="1" vmid="111" recovery="relocate"/>
<pvevm domain="ordered" autostart="1" vmid="107" recovery="relocate"/>
<pvevm domain="ordered" autostart="1" vmid="108" recovery="relocate"/>
<pvevm domain="ordered" autostart="1" vmid="110" recovery="relocate"/>
<pvevm domain="ordered" autostart="1" vmid="112" recovery="relocate"/>
</rm>
</cluster>
thank you