I have a floating IP setup with a pacemaker ipaddr2 resource.
test-IP4 (ocf::heartbeat:IPaddr2): Started node1
The floating IP is set to start on my ib0 interface. The ib0 port is connected to a network switch. When I disable the port on the network switch, the ib0 port goes down. But the resource does not fail. I can ping the the IP address from the same host but other hosts cannot ping it. Why is the resource not failing?
This is what it looks like before I disable the port on the switch.
ib0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 2044 qdisc pfifo_fast state UP group default qlen 256
link/infiniband 80:00:02:08:fe:80:00:00:00:00:00:00:00:02:c9:03:00:18:97:71 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
inet 192.168.2.168/24 brd 192.168.2.255 scope global noprefixroute ib0
valid_lft forever preferred_lft forever
This is what it looks like when I disable the port on the switch.
ib0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 2044 qdisc pfifo_fast state DOWN group default qlen 256
link/infiniband 80:00:02:08:fe:80:00:00:00:00:00:00:00:02:c9:03:00:18:97:71 brd 00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
inet 192.168.2.168/24 brd 192.168.2.255 scope global noprefixroute ib0
valid_lft forever preferred_lft forever