LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] about faillover on web server

To: lvs-users <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] about faillover on web server
From: Sebastien WACHTER <sebastien.wachter@xxxxxxxxxx>
Date: Tue, 2 Feb 2010 18:00:22 +0100 (CET)
Hi all, 

hi have 2 web servers 
192.168.0.1 and 192.168.0.2

all works fine , except if one down 

sometime customers can't connect servers 

i have try many configuration.

# Web-Server
virtual=10.0.0.1:80
        real=192.168.0.1:80 gate 1
        real=192.168.0.2:80 gate 1
        fallback=127.0.0.1:80        
        service=http                 
        request=".check"             
        receive="200"                
        scheduler=sh                 
        protocol=tcp                 
        checktype=negotiate          



i check status with ipvsadm 
TCP  10.0.0.1:www sh                                                   
  -> 192.168.0.1:www                    Route   1      4          40        
  -> 192.168.0.2:www                    Route   1      4          35


when i down on server i can see this information 
TCP  10.0.0.1:www sh                                                   
  -> 192.168.0.1:www                    Route   1      9          48        
  -> 192.168.0.2:www                    Route   0      4          11


have you an idea of my problem ? 

thanks

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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