Failover on bonding interface
Dear all,
I configure a virtual interface which is on top of a bonding interface (two nic). I find VCS don't trigger any action when I unplug both nic. It's because the bond0 still show UP status even I disconnect the two nic. I would like to know if there is a way that VCS will trigger failover when it find both nics are disconnected?
Thanks.
I would guess your issue is that you are using MultiNIC rather NIC or have set NetworkHosts attribute of NIC resource to a local IP on the host.
If VCS is managing a single virtual interface then you should be using the NIC resource, as oppose to MultiNIC resource.
If you are using NIC resource, then it should fail if you disconnect the 2 NICs. as regardless of the status of the NIC, you won't be able to ping if both interfaces are down and this is how NIC agent tests the resource - it pings the broadcast address, if NetworkHosts attribute is not set, else it pings IP(s) in the NetworkHosts attribute, so if you are still having issues, then populate NetworkHosts attribute with persistent hosts such as gateways and DNS servers.
Mike