LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

fallback directive in ldirectord does not work

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: fallback directive in ldirectord does not work
From: "Stephan Hendl" <Stephan.Hendl@xxxxxxxxxxxxxxxxxx>
Date: Mon, 05 Mar 2007 17:25:27 +0100
Hi all,

just I've tested the fallback-directive of the ldirectord but the packets 
aren't sent to the webserver running on localhost.

IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  VIP:http wlc
  -> localhost:http  Local   1      0          0
  -> server1:http    Masq    0      0          0
  -> server2:http    Masq    0      0          0
  -> server3:http    Masq    0      0          0
  -> server4:http    Masq    0      0          0

The webserver is running and listening and gives files back:

[root~]# netstat -atp | grep http
tcp        0      0 localhost:http              *:*                         
LISTEN      9282/httpd

A telnet like "telnet <VIP> 80" gives "telnet: Unable to connect to remote 
host: Connection refused"

What did I wrong?

Stephan

ps: kernel-2.6.20.1 and netfilter connection tracking support


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