LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: UDP load balancing problem

To: Wayne <wayne@xxxxxxxxxxxxxxx>
Subject: Re: UDP load balancing problem
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Joseph Mack <mack@xxxxxxxxxxx>
Date: Mon, 24 Apr 2000 19:12:12 -0400 (EDT)
On Mon, 24 Apr 2000, Wayne wrote:

> We have tested LVS with DNS, which is UDP based, too.

DNS occassionally issues tcp requests too, which might muddy the waters. I
tested LVS on DNS about 6 months ago at moderate load (about 5/sec I
believe) and it behaved well. I don't remember looking for exact balance
and I doubt if I would have regarded a 50% imbalance a problem. I was just
seeing that it worked and didn't lock up etc.

> What we are doing with this test is not for heavy load
> issue, rather to see if LVS can provide a fail-over
> mechanism for the services.  By load balancing the
> servers, we can make two servers backup one, if the
> one failed, the service will not stop.

I image you have your reasons, but if yu have two ntp servers at the same
stratum level and the rest of the machines are slaves, the whole setup
will keep functioning if you pull the plug on one of the two servers. Will
LVS give you anything more than that?
 
> If round-robin does this one request per server, it is
> pretty hard to explain what we saw at the server log,
> which indicating one server getting twice the requests
> than other two in some seconds, and getting a lot less
> at other seconds.  Could you explain why we seeing
> that?

sorry no idea. Will set it up myself and have a look. Probably won't be
able to do it for a few days, but since someone else is interested too...

are both your realservers at the same stratum level? (I can't imagine any
other way of doing it, but thought I'd check)

Are you doing VS-DR or VS-NAT?

Joe

--
Joseph Mack mack@xxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>