On Tue, Nov 14, 2006 at 10:27:01AM +0800, wlx wrote:
> thanks your repply!yes,the host still accesable by ldirectord,because
> its network and the service(http or squid)are work.
>
> i hope when a host's tunnel is down,it can be detected by the
> ldirectord,then its weight can change to 0,the new connection will not
> sent to it,and the lvs can keep balance(in present.i found when a
> host's tunnel is stopped,the cluster can't work normally,at this
> time if telnet $vip=192.168.100.203 :80 will answer like this
I don't think that is possible without modifying ldirectord.
The problem is that ldirectord tests the health of the real servers
by connecting to them. And as long as it can connect to them,
it thinks that they are healthy.
To me honest I'm not quite sure what the purpose of the tunnel is
in your setup. Could you elaborate?
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
|