Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux Virtual Server: Users

[lvs-users] active-active by a multipath routes

 

 

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded


windo at p6drad-teel

May 9, 2008, 2:06 AM

Post #1 of 3 (349 views)
Permalink
[lvs-users] active-active by a multipath routes

Hi!

Is anyone running active-active(-active...) LVS setups? Is it saru or
something else?

It's seems it should be possible to do it without saru by having
multipath route-capable router upstream dividing the traffic between all
the directors. If you can manage the routes with OSPF, it should be
possible to have active-active directors using more common protocols and
software with the added benefit of each director only receiving the
packets it ends up handling.

Any thoughts, comments, experiences with anything like this?

Siim

_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users


jmack at wm7d

May 9, 2008, 5:34 AM

Post #2 of 3 (330 views)
Permalink
Re: [lvs-users] active-active by a multipath routes [In reply to]

On Fri, 9 May 2008, Siim Põder wrote:

> Hi!
>
> Is anyone running active-active(-active...) LVS setups? Is
> it saru or something else?

saru was a proof of principle piece of code by Horms a few
years ago. It was done for one kernel and has not been
maintained through the subsequent kernels.

> It's seems it should be possible to do it without saru by
> having multipath route-capable router upstream dividing
> the traffic between all the directors. If you can manage
> the routes with OSPF, it should be possible to have
> active-active directors using more common protocols and
> software with the added benefit of each director only
> receiving the packets it ends up handling.
>
> Any thoughts, comments, experiences with anything like this?

few of us have access to routers to try such experiments. So
it's possible this would work, but few people would be able
to implement it.

I've been to talks where people manually redirected traffic
from busy servers to less busy servers on the other side of
the continent in this way, as load changed during the day,
so presumably some people are doing this all the time
already.

How would you tell the routers to divide the traffic?

Joe

--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


graeme at graemef

May 9, 2008, 6:05 AM

Post #3 of 3 (327 views)
Permalink
Re: [lvs-users] active-active by a multipath routes [In reply to]

On Fri, 2008-05-09 at 12:06 +0300, Siim Põder wrote:
> Is anyone running active-active(-active...) LVS setups?

I'm not (yet) but I may be doing so sometime this year. Current thinking
is (per your email) to run Quagga, Zebra, or ospfd (or something else)
on the directors themselves which will announce the VIPs into the local
network.

The local network devices will then work out the best path for traffic
flowing through them; OSPF is designed around a cost and hop-count model
so having multiple routes originated in different places should mean
"closest network wins" from a client perspective - although this is
untested!

The interesting part is how you make sure the traffic returns to the
clients. In the case of -DR this isn't really a problem, but using -NAT
could be difficult if the realservers can receive, and return, traffic
to either director.

By extension, you could split a cluster into two halves and have each in
a different physical and logical location using this model, but that
adds complexity at the backend if you're sharing file data and/or
databases. What that would give you is, for example, proper geographical
resilience such that if one location loses power, hey? Who cares? We'll
just talk to the other one instead!

And as an added bonus, if you have multiple equal-cost paths to
directors in the same location, OSPF can be made to (crudely, in some
cases) load-balance between them. This gives a bit more even-handed
loading but does add an extra thing to go wrong.

Graeme


_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users[at]LinuxVirtualServer.org
Send requests to lvs-users-request[at]LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Linux Virtual Server users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.