Hi forum,
My cluster is composed by 5 nodes, fence devices and cluster.conf is completely configured. Fence_node works fine on nodes.
I have problem when I unplug directly A/C one node. VMs is not migrated to other node. My cluster.conf:
<?xml version="1.0"?>
<cluster config_version="101" name="cluster">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.1" login="admin" name="node1-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.2" login="admin" name="node2-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.3" login="admin" name="node3-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.4" login="admin" name="node4-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.5" login="admin" name="node5-idrac" passwd="XXXXXXXX"/>
</fencedevices>
<clusternodes>
<clusternode name="pve1" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="off" name="node1-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="off" name="node2-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve3" nodeid="3" votes="1">
<fence>
<method name="1">
<device action="off" name="node3-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve4" nodeid="4" votes="1">
<fence>
<method name="1">
<device action="off" name="node4-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve5" nodeid="5" votes="1">
<fence>
<method name="1">
<device action="off" name="node5-idrac"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="failover" nofailback="0" ordered="0" restricted="0">
<failoverdomainnode name="pve1"/>
</failoverdomain>
</failoverdomains>
<pvevm autostart="1" vmid="2040"/>
<pvevm autostart="1" vmid="2041"/>
<pvevm autostart="1" vmid="2042"/>
<pvevm autostart="1" vmid="2043"/>
<pvevm autostart="1" vmid="2044"/>
<pvevm autostart="1" vmid="2045"/>
<pvevm autostart="1" vmid="2046"/>
<pvevm autostart="1" vmid="2047"/>
<pvevm autostart="1" vmid="2048"/>
<pvevm autostart="1" vmid="2049"/>
<pvevm autostart="1" vmid="2050"/>
<pvevm autostart="1" vmid="2051"/>
<pvevm autostart="1" vmid="2052"/>
<pvevm autostart="1" vmid="2053"/>
<pvevm autostart="1" vmid="2054"/>
<pvevm autostart="1" vmid="2055"/>
<pvevm autostart="1" vmid="2056"/>
<pvevm autostart="1" vmid="2057"/>
<pvevm autostart="1" vmid="2058"/>
<pvevm autostart="1" vmid="2059"/>
<pvevm autostart="1" vmid="2060"/>
<pvevm autostart="1" vmid="2061"/>
<pvevm autostart="1" vmid="2062"/>
<pvevm autostart="1" vmid="2063"/>
<pvevm autostart="1" vmid="2064"/>
<pvevm autostart="1" vmid="2066"/>
<pvevm autostart="1" vmid="2067"/>
<pvevm autostart="1" vmid="2068"/>
<pvevm autostart="1" vmid="2069"/>
<pvevm autostart="1" vmid="2070"/>
<pvevm autostart="1" vmid="2071"/>
<pvevm autostart="1" vmid="2072"/>
<pvevm autostart="1" vmid="2073"/>
<pvevm autostart="1" vmid="2074"/>
<pvevm autostart="1" vmid="2075"/>
<pvevm autostart="1" vmid="2076"/>
<pvevm autostart="1" vmid="2077"/>
<pvevm autostart="1" vmid="2078"/>
<pvevm autostart="1" vmid="2079"/>
<pvevm autostart="1" vmid="2080"/>
<pvevm autostart="1" vmid="2081"/>
<pvevm autostart="1" vmid="2082"/>
<pvevm autostart="1" vmid="2083"/>
<pvevm autostart="1" vmid="2084"/>
<pvevm autostart="1" vmid="2085"/>
<pvevm autostart="1" vmid="2086"/>
<pvevm autostart="1" vmid="2087"/>
<pvevm autostart="1" vmid="2088"/>
<pvevm autostart="1" vmid="2089"/>
<pvevm autostart="1" vmid="2090"/>
<pvevm autostart="1" vmid="2091"/>
<pvevm autostart="1" vmid="2092"/>
<pvevm autostart="1" vmid="2093"/>
<pvevm autostart="1" vmid="2094"/>
<pvevm autostart="1" vmid="2095"/>
<pvevm autostart="1" vmid="2096"/>
<pvevm autostart="1" vmid="2097"/>
<pvevm autostart="1" vmid="2098"/>
</rm>
</cluster>
Regards.
My cluster is composed by 5 nodes, fence devices and cluster.conf is completely configured. Fence_node works fine on nodes.
I have problem when I unplug directly A/C one node. VMs is not migrated to other node. My cluster.conf:
<?xml version="1.0"?>
<cluster config_version="101" name="cluster">
<cman keyfile="/var/lib/pve-cluster/corosync.authkey"/>
<fencedevices>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.1" login="admin" name="node1-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.2" login="admin" name="node2-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.3" login="admin" name="node3-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.4" login="admin" name="node4-idrac" passwd="XXXXXXXX"/>
<fencedevice agent="fence_idrac" ipaddr="10.0.19.5" login="admin" name="node5-idrac" passwd="XXXXXXXX"/>
</fencedevices>
<clusternodes>
<clusternode name="pve1" nodeid="1" votes="1">
<fence>
<method name="1">
<device action="off" name="node1-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve2" nodeid="2" votes="1">
<fence>
<method name="1">
<device action="off" name="node2-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve3" nodeid="3" votes="1">
<fence>
<method name="1">
<device action="off" name="node3-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve4" nodeid="4" votes="1">
<fence>
<method name="1">
<device action="off" name="node4-idrac"/>
</method>
</fence>
</clusternode>
<clusternode name="pve5" nodeid="5" votes="1">
<fence>
<method name="1">
<device action="off" name="node5-idrac"/>
</method>
</fence>
</clusternode>
</clusternodes>
<rm>
<failoverdomains>
<failoverdomain name="failover" nofailback="0" ordered="0" restricted="0">
<failoverdomainnode name="pve1"/>
</failoverdomain>
</failoverdomains>
<pvevm autostart="1" vmid="2040"/>
<pvevm autostart="1" vmid="2041"/>
<pvevm autostart="1" vmid="2042"/>
<pvevm autostart="1" vmid="2043"/>
<pvevm autostart="1" vmid="2044"/>
<pvevm autostart="1" vmid="2045"/>
<pvevm autostart="1" vmid="2046"/>
<pvevm autostart="1" vmid="2047"/>
<pvevm autostart="1" vmid="2048"/>
<pvevm autostart="1" vmid="2049"/>
<pvevm autostart="1" vmid="2050"/>
<pvevm autostart="1" vmid="2051"/>
<pvevm autostart="1" vmid="2052"/>
<pvevm autostart="1" vmid="2053"/>
<pvevm autostart="1" vmid="2054"/>
<pvevm autostart="1" vmid="2055"/>
<pvevm autostart="1" vmid="2056"/>
<pvevm autostart="1" vmid="2057"/>
<pvevm autostart="1" vmid="2058"/>
<pvevm autostart="1" vmid="2059"/>
<pvevm autostart="1" vmid="2060"/>
<pvevm autostart="1" vmid="2061"/>
<pvevm autostart="1" vmid="2062"/>
<pvevm autostart="1" vmid="2063"/>
<pvevm autostart="1" vmid="2064"/>
<pvevm autostart="1" vmid="2066"/>
<pvevm autostart="1" vmid="2067"/>
<pvevm autostart="1" vmid="2068"/>
<pvevm autostart="1" vmid="2069"/>
<pvevm autostart="1" vmid="2070"/>
<pvevm autostart="1" vmid="2071"/>
<pvevm autostart="1" vmid="2072"/>
<pvevm autostart="1" vmid="2073"/>
<pvevm autostart="1" vmid="2074"/>
<pvevm autostart="1" vmid="2075"/>
<pvevm autostart="1" vmid="2076"/>
<pvevm autostart="1" vmid="2077"/>
<pvevm autostart="1" vmid="2078"/>
<pvevm autostart="1" vmid="2079"/>
<pvevm autostart="1" vmid="2080"/>
<pvevm autostart="1" vmid="2081"/>
<pvevm autostart="1" vmid="2082"/>
<pvevm autostart="1" vmid="2083"/>
<pvevm autostart="1" vmid="2084"/>
<pvevm autostart="1" vmid="2085"/>
<pvevm autostart="1" vmid="2086"/>
<pvevm autostart="1" vmid="2087"/>
<pvevm autostart="1" vmid="2088"/>
<pvevm autostart="1" vmid="2089"/>
<pvevm autostart="1" vmid="2090"/>
<pvevm autostart="1" vmid="2091"/>
<pvevm autostart="1" vmid="2092"/>
<pvevm autostart="1" vmid="2093"/>
<pvevm autostart="1" vmid="2094"/>
<pvevm autostart="1" vmid="2095"/>
<pvevm autostart="1" vmid="2096"/>
<pvevm autostart="1" vmid="2097"/>
<pvevm autostart="1" vmid="2098"/>
</rm>
</cluster>
Regards.