LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Apache isn't request when other is down
From: Rodrigo Tavares <digolinopage@xxxxxxxxxxxx>
Date: Tue, 20 Nov 2007 08:16:47 -0300 (ART)
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>