Hey all!
I am trying to pin down some solid heuristic's for my two node clusters. Ultimately I would like the node fenced if the DRBD/Cluster network goes down along with the local LAN. The local LAN should be easy utilizing some ping's. The DRBD/cluster network is the one I am having issues with.
<heuristic interval="3" program="ping 10.80.1.8 -c1 -w1" score="1" tko="3"/>
<heuristic interval="3" program="ping 10.80.1.1 -c1 -w1" score="1" tko="3"/>
<heuristic interval="3" program="ip addr | grep eth0 | grep -q UP" score="2" tko="3"/>
Eth0 is my DRBD/cluster network. This is a dedicated network between each node. Meaning that if eth0 is down on node1 it is also down on node2, because there is no switch. Any other ideas or suggestions? I don't think pinging each other will work because if one node is down, then pings will fail on the node which is still up.
I am trying to pin down some solid heuristic's for my two node clusters. Ultimately I would like the node fenced if the DRBD/Cluster network goes down along with the local LAN. The local LAN should be easy utilizing some ping's. The DRBD/cluster network is the one I am having issues with.
<heuristic interval="3" program="ping 10.80.1.8 -c1 -w1" score="1" tko="3"/>
<heuristic interval="3" program="ping 10.80.1.1 -c1 -w1" score="1" tko="3"/>
<heuristic interval="3" program="ip addr | grep eth0 | grep -q UP" score="2" tko="3"/>
Eth0 is my DRBD/cluster network. This is a dedicated network between each node. Meaning that if eth0 is down on node1 it is also down on node2, because there is no switch. Any other ideas or suggestions? I don't think pinging each other will work because if one node is down, then pings will fail on the node which is still up.