[ovs-discuss] OVS bonding: HA + loadbalancing

Ethan Jackson ethan at nicira.com
Mon Aug 6 18:32:16 UTC 2012


You may consider using LACP to solve this problem.  You can create a
single 4 port LACP bond, and plug it into two different switches.
LACP will automatically choose one of those two switches to be active
and forward to it until it dies.

Ethan



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
>



More information about the discuss mailing list