LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: balancing issues & balancing over multiple sites

To: Josh Marcus <josh@xxxxxxxxx>
Subject: Re: balancing issues & balancing over multiple sites
Cc: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Tue, 2 Oct 2001 22:00:39 +0000 (GMT)
        Hello,

On Tue, 2 Oct 2001, Josh Marcus wrote:

> Hello--
>
> I'm using LVS to serve a few thousand domains, but I can't quite
> figure out how to get the behavior I need.  Here are my two
> problems:
>
> 1) No matter what the weights, lvs (under wlc) always seems to
>    send packets along to the first realserver (as listed in ipvsadm).

        In some cases this is the right thing to do

> This is a serious problem for me, because ...
>
> 2) I don't see how I can setup LVS to load balance all of the domains
>    as if they were all a single ip.  In my ideal world, I would have a
>    single entry *:80 that would forward all of our ips at port 80 to
>    our set of realservers, and load balance all requests coming in.  The
>    way LVS is working for us now, the vast majority of all of our requests

        May be here is the problem, what is "our ips"? If these boxes
send enough requests to keep each connection reused then it is possible
only one RS to be used (look in the HOWTO why flood tests from clients
near the cluster make strange results, i.e. only one RS used or
conn/sec rate equal to 0). But you have to understand some details, how
LVS works because the problem can be enough complex.

>    are going to the server that is for some reason being listed first.
>    Only sites with heavy traffic get pushed along to the other servers.
>
> Any advice?  We're running version 0.9.12 -- the kernel module might be 
> 0.9.15.

        The first advice is to upgrade, of course :) This is a LVS from
more than one year. In any case, if you want more help you have to
show all details from your setup and settings. WLC is the mainly used
method, I can't believe that it could be broken.

> --j


Regards

--
Julian Anastasov <ja@xxxxxx>



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