LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: balancing issues & balancing over multiple sites

To: "Matthew S. Crocker" <matthew@xxxxxxxxxxx>
Subject: Re: balancing issues & balancing over multiple sites
Cc: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, Josh Marcus <josh@xxxxxxxxx>
From: Julian Anastasov <ja@xxxxxx>
Date: Wed, 3 Oct 2001 23:08:33 +0000 (GMT)
        Hello,

On Tue, 2 Oct 2001, Matthew S. Crocker wrote:

> TCP  mail.crocker.com:smtp lc
>   -> cw1.crocker.com:smtp           Route   1      132        16
>   -> cw2.crocker.com:smtp           Route   1      131        30
>   -> cw3.crocker.com:smtp           Route   1      131        21

        What to say, it is obvious that LC keeps equal number of
connections to each real server. For LC you should know that when
all real servers have equal number of connections then the order
of real servers is used. It seems the order will be used only when you
have very low traffic, i.e. when each new connection detects real
servers with equal numbers.

> Funny thing is it shows the connections are balanced but it seems the
> qmail server #1 is doing a LOT more work.  I know that possibily only RS
> #1 is getting the spammer connections and the virus e-mails but it should
> average out over time.

        You have to check your stats to see how many connections are
served in a whole day. For example, MRTG. LVS provides stats for each
VS and RS. If some of the real servers respond slowly it is obvious
that LC will be fooled. You can see it by adding one I486 real server :)

> -Matt

Regards

--
Julian Anastasov <ja@xxxxxx>



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