[ovs-discuss] OVS bonding: HA + loadbalancing

Frido Roose fr.roose at gmail.com
Wed Aug 8 20:06:24 UTC 2012


I think the difference here is that vPC, Multi-chassis Etherchannel, ... allows load-balancing over all paths (over both switches), right? 
While this surely provides HA, it comes with a cost for the Nexus-like switches that it requires.

I was thinking about load-balancing over the same switch, while having redundant standby links over another switch.

The suggestion Ethan made about configuring an LACP config over both switches looks interesting and I'll definitely try it when I have the opportunity.

Thanks for the ideas! 

-- 
Frido Roose


On Tuesday 7 August 2012 at 19:52, Abhishek Saxena wrote:

> What you are asking for seems to be a vPC (virtual port channel, aka MLAG) between switch 1 and switch2.
> 
> Thanks.
> 
> On Mon, Aug 6, 2012 at 8:02 AM, Frido Roose <fr.roose at gmail.com (mailto:fr.roose at gmail.com)> wrote:
> > Hello,
> > 
> > Is it possible to create an active-backup bond on top of a balance-slb bond in openvswitch?
> > 
> > This is the situation:
> > 1 bridge: br0
> > eth0 => physical switch1
> > eth1 => physical switch1 (same switch or stack)
> > eth2 => physical switch2
> > eth3 => physical switch2 (same or stack)
> > 
> > ______ __________
> > | eth0 |------------| |
> > ------ | |
> > (slb bond0) | switch1 |----
> > ______ | (active) |
> > | eth1 |------------| |
> > ------ ----------
> > 
> > ______ __________
> > | eth2 |------------| |
> > ------ | |
> > (slb bond1) | switch2 |----
> > ______ | (passive)|
> > | eth3 |------------| |
> > ------ ----------
> > 
> > 
> > bond2 would then be an active-backup bond with a port on br0 and having bond0 and bond1 as its interfaces
> > 
> > The idea is that one could create a balance-slb bond0 using eth0 and eth1 and another bond1 with eth2 and eth3 on a different switch.
> > If you could create another bond2 on top of bond0 and bond1, a failover could happen to the other switch, while still having load balancing.
> > Of course, bond2 would then have to be able to detect if bond0 is down and reroute traffic over bond1.
> > 
> > The goal is simple: having HA while not being limited by the 1Gbit bandwidth of a single interface as this would be a KVM host with several high-bandwidth guests.
> > With the above setup, 2Gbit would be available in a failover setup - if possible at all.
> > 
> > Or is this a situation that requires STP to find the right path? Like having bond0 and bond1 as described above, and have STP enabled to determine which path to use.
> > 
> > A push in the right direction would be great...
> > Frido Roose
> > 
> > 
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org (mailto:discuss at openvswitch.org)
> > http://openvswitch.org/mailman/listinfo/discuss
> 






More information about the discuss mailing list