[ovs-discuss] OVS bonding: HA + loadbalancing

Frido Roose fr.roose at gmail.com
Mon Aug 6 15:02:43 UTC 2012


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


More information about the discuss mailing list