[ovs-discuss] OVS bonding: HA + loadbalancing

Abhishek Saxena absaxena at gmail.com
Tue Aug 7 17:52:36 UTC 2012


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> 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
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120807/e99ee3c0/attachment.html>


More information about the discuss mailing list