LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: problem is using lvs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: problem is using lvs
From: "Aihua Liu" <liuah@xxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jun 2003 13:5:13 +0800
Hello,
>Hai experts!
>  I am using linux 2.4.18. I have patched it with
>lvs-1.0.4 version. I have then reconfigured the
>kernel.
> Now my kernel supports ipvs.
> Also the lsmod command shows,(after starting some
>service)
>Module                  Size  Used by    Not tainted
>ip_vs_rr                1572   1  (autoclean)
>iptable_filter          2412   0  (autoclean) (unused)
>ip_tables              17592   1  [iptable_filter]
>ip_vs                  86232   2  (autoclean)
>[ip_vs_rr]
>
> Then I have installed the ipvsadm-1.21 version.
> 
> I have then used the configuration,
>-A -t 172.31.51.254:http -s rr -p 360
>-a -t 172.31.51.254:http -r 172.31.51.27:http -m -w 1
>-a -t 172.31.51.254:http -r 172.31.51.26:http -m -w 1
>
>To elaborate,
>  On director,
>     eth0:172.31.51.25(DIP)
>     eth0:1 172.31.51.254(VIP)
>     default gateway: 172.31.52.6
>  On realserver1,
>     eth0:172.31.51.26
>     default gateway:172.31.51.25(DIP)
>  similarly on realserver2.
> 
> When I am trying to use the service(http) on a
>client,
>  it is giving the message:
>    Connection failed
>  (110) connection timed out
>    The remote host or network may be down.
>
>  Some more information is,
>  Iam able to ping from the client(172.31.51.22) to 
>    VIP,DIP,RIP's
>  
>  The /sbin/ipvsadm shows the connections are inactive
>
>   Iam not able to see the web pages
>
>  Please help me!
Have you open ip_forward and closed icmp send_redirects?
Because you VIP, DIP and RIP are at the same network. I 
suggest you use RIP at a different network with VIP, such 
as 172.31.50.*. 


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