Network Adapter Failover in Linux? 19
Brian the Wise asks: "Is there anything avaible for Linux that can compare to the IP Multipathing in Solaris 8? I need it specifically for the active/passive failover of ethernet interfaces. A search around the net has only come up with HA Linux and LVS, but they're both talking about complete machine failover. All I want is for the system to move the IP configuration from one ethernet interface to a dormant one on the same machine when it detects the link going down on a single machine. Is there anything with a proven track record out there?"
Re:AmDissidentVoices: Why Revolution Is Necessary (Score:2)
failoverd (Score:4, Informative)
http://ps-ax.com/failoverd/failoverd-pod.html
and it needs an owner.
Routing protocol (Score:3, Informative)
Depending on the routing daemon and the OS you can even get load balancing between the equal cost routes when both interfaces are up.
Another idea. (Score:4, Informative)
Re:Another idea. (Score:2, Informative)
Re:Another idea. (Score:3, Informative)
So, the in-kernel channel bonding driver _does_ have support for two active paths, and claims to detect path failure and take corrective actions, but I have no experience with it.
APD (Score:3, Interesting)
Physical Interface Status (Score:2, Interesting)
But if you want to do some programming on your own you should look at mii-diag which can monitor your ethernet-card's physical interface and tell you when your link goes down (physically).
Using this as a basis, you could write a very simple eth-phy-daemon which could start a script whenever your physical link goes up/down. Then you could change your network-config with those.
I forgot the URL!!!! (Score:2, Interesting)
Re:Physical Interface Status (Score:1)
That being said it would hurt to detect physical link failure, but I wouldn't rely on it as a single method. Also, realize that if you lose link, you should at the very least experience persistent packet loss. And that's a sure sign of a failure somewhere. (it'd be nice if the kernel could be configured to return Dest. Unreachable messages if link was down, but alas...)
IF Metric? (Score:2)
Basically that means you assign each eth adapter a number (metric). If more than one is set up with a route to your destination, it tries them in order of lowest metric to highest metric. Simply set up the failover adapter with a metric one higher than the standard one and you're set.
Re:IF Metric? (Score:2, Insightful)
however, this method will only work for physical link failures that are detected. (and i dont think linux does much even if it does detect a link failure).
needless to say the vast majority of network failures tend not to be detected link failures.
my suggestion would be to use OSPF for link state and route failure detection and failover.
high end server ethernet cards (Score:2)
intel advanced networking services (Score:2, Informative)
http://support.intel.com/support/network/adapte
Re:intel advanced networking services (Score:1)
Convolo Dataguard v2.0 (Score:1)
VRRPd (Score:1)