LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Problem with Direct Routing and Ultramonkey

To: Brian Sheets <bsheets@xxxxxxxxxxxxx>
Subject: Re: Problem with Direct Routing and Ultramonkey
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 12 Jan 2007 11:07:43 +0900
On Tue, Jan 09, 2007 at 11:01:26AM +0000, Brian Sheets wrote:
> I have 3 real servers running postfix and one server running UM in a DR config
> 
> checktimeout=60
> checkinterval=30
> autoreload=no
> logfile="/var/log/ldirectord.log"
> #logfile="local0"
> quiescent=yes
> 
> virtual=172.16.11.47:25
>         real=172.16.11.44:25 gate
>         real=172.16.11.45:25 gate
>         real=172.16.11.46:25 gate
> #       real=172.16.11.48:25 gate
> #       real=172.16.11.50:25 gate
>         protocol=tcp
>         service=smtp
>         checktype=connect
>         scheduler=wlc
> 
> IP Virtual Server version 1.2.0 (size=4096)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  172.16.11.47:25 wlc
>   -> 172.16.11.44:25              Route   1      0          0
>   -> 172.16.11.45:25              Route   1      0          0
>   -> 172.16.11.46:25              Route   1      0          0
> 
> 
> I can make a connection to the VIP on port 25, and sometimes the
> connection lasts for a whole smtp chat, other times it doesn't, and
> then the connection is dropped and subsequent connections are refused.
> 
> I can still telnet to the real server port 25's and an ipvsadm -L -n
> yields the above table.
> 
> the only way I can get the service working again is to stop and start
> heartbeat and then of course it only works for one or part of one
> connection
> 
> Can anyone help

Can you double check that you have handled the arp problem on
the real-servers. This is often the cause of woe on DR setups,
and one errant real-server responding to ARP for the VIP could
well explain this problem.

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


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