LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Apache isn't request when other is down

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, digolinopage@xxxxxxxxxxxx
Subject: Re: [lvs-users] Apache isn't request when other is down
From: "Michael S. Moody" <michael@xxxxxx>
Date: Tue, 20 Nov 2007 09:36:45 -0800
Dear Rodrigo,

What happens, when the server fails over, if you execute:

ipvsadm -ln
(or use watch to watch it:)
watch -d -n .1 ipvsadm -ln

Does the active conn change for the secondary server?

Also, are you waiting til the persistence expires since you have 
quiescent=yes?

Try setting it to no.

Michael

Rodrigo Tavares wrote:
> Hello,
>
> I'm using the LVS with ldirector, the mode is round
> robin with persistent requests. It's good.
>
> In my test, I use two real servers.
>
> But when one apache in real server is down, the
> request isn't redirect for another real server.
>
> See my ldirector.cnf
>
> checktimeout=3 
> checkinterval=1
> fallback=127.0.0.1:80
> autoreload=yes
> logfile="/var/log/ldirectord.log"
> logfile="local0"
> quiescent=yes
>
> virtual=192.168.100.100:80
>         real=192.168.100.101:80 gate
>         real=192.168.100.102:80 gate
>         fallback=127.0.0.1:80 gate
>         service=http
>         request="index.html"
>         receive="Apache1 - Cluster!"
>         scheduler=rr
>         persistent=20
>         netmask=255.255.255.0
>         protocol=tcp
>
> The Apache Server configuration :
>
> NameVirtualHost 192.168.100.100:80
> NameVirtualHost 192.168.100.101:80
>
> There is a index.html in /var/www/apache2-default.
>
> Any idea ?
>
> Best regards,
>
> Faria
>
>
>
>
>       Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
> armazenamento!
> http://br.mail.yahoo.com/
>
>
>   



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