I have the next scenario in Corosync + Pacemaker
eth1: 10.10.10.1/30 (Corosync Comunication)
eth1: 10.10.10.2/30 (Corosync Comunication)
The interface eth1 is only use for corosync comunication.
For example I disconnected the network cable from interface eth0 but nothing happens, other example I disconnected the network cable from interface eth2 and I have the same result but I disconnected the network cable from interface eth1 (corosync comunication) and the Floating IP's pass to the other node.
How can I make when disconnecting any interface the resources pass to the other node?
I tested with the following settings
crm configure primitive PING-WAN ocf:pacemaker:ping params host_list="10.143.0.1" multiplier="1000" dampen="1s" op monitor interval="1s" crm configure primitive Failover-WAN ocf:heartbeat:IPaddr2 params ip=10.143.0.23 nic=eth0 op monitor interval=10s meta is-managed=true crm configure primitive Failover-LAN ocf:heartbeat:IPaddr2 params ip=192.168.5.1 nic=eth2 op monitor interval=10s meta is-managed=true crm configure group Cluster Failover-WAN Failover-LAN crm configure location Best_Connectivity Cluster rule pingd: defined pingd
It works for me, when disconnecting the network cable from the eth0 and losing the ping to the destination 10.143.0.1 (Gateway) resources were moved to the other node but my scenario is 3 interfaces so I decided to add a ping test more
crm configure primitive PING-LAN ocf:pacemaker:ping params host_list="192.168.5.4" multiplier="1000" dampen="1s" op monitor interval="1s"
But now it is necessary to lose the connection with the two hosts (10.143.0.1 and 192.168.5.4) so that the resources are moved to the other node.
I'm looking for information but I can not make the following scenario work:
If the node loses connectivity to any host that adds to the ping test, the other resources pass to the other node without the need to lose the connectivity of all ping tests at the same time.