LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: fallback directive in ldirectord does not work

To: Stephan Hendl <Stephan.Hendl@xxxxxxxxxxxxxxxxxx>
Subject: Re: fallback directive in ldirectord does not work
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 16 Mar 2007 17:55:23 +0900
On Tue, Mar 06, 2007 at 01:28:50PM +0100, Stephan Hendl wrote:
> additional information:
> 
> The command "ipvsadm -Lcn" shows reasonable values:
> 
> [root~]# ipvsadm -Lcn
> IPVS connection entries
> pro expire state       source             virtual            destination
> TCP 00:40  SYN_RECV    194.76.232.147:50297 194.76.232.133:80  127.0.0.1:80
> TCP 00:13  SYN_RECV    194.76.232.167:19410 194.76.232.133:80  127.0.0.1:80
> TCP 00:40  SYN_RECV    194.76.232.147:50281 194.76.232.133:80  127.0.0.1:80
> TCP 00:40  SYN_RECV    194.76.232.147:50291 194.76.232.133:80  127.0.0.1:80
> 
> but no packet is going to 127.0.0.1:80 as tcpdump shows.

This seems to indicate that ldirectord and LVS are indeed working
correctly. I believe that you need your http to be listening
on VIP:80 (or *:80), rather than localhost:80.

-- 
Horms
  H: http://www.vergenet.net/~horms/
  W: http://www.valinux.co.jp/en/


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