LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

LocalNode woes

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: LocalNode woes
From: "Hoka \"ME\" Tichenci" <melkin@xxxxxxx>
Date: Wed, 24 May 2006 15:43:25 -0700
I have the following configuration file for Apache, accessing it on 192.168.0.21 works fine. Sysctl is empty, vip is .30, rip is .21.

sharky ~ # cat /etc/apache2/httpd.conf | grep -v \# | grep Listen
Listen 192.168.0.21:80
Listen 127.0.0.1:80

ipvsadm -Ln shows:
IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.30:80 rr
 -> 192.168.0.21:80              Local   1      0          0

Telnet to 192.168.0.21:80 works fine, but telnet 192.168.0.30:80 doesn't work (connection refused). After telnetting a few times ipvsadm will show InActConn with the number of attempts, so its picking it up there at least. Changing it to 127.0.0.1:80 also gives similar results.

Using Gentoo, kernel 2.6.15-r1, clustering with other machines works just fine using direct-routing.

Any ideas?

Thanks for your time,
-Hoka

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