thanks!
now,my lvs/tun+ha+ldirectord work well if i don't run
# /sbin/ifconfig tunl0 192.168.100.203(vip) netmask 255.255.255.255 broadcast
192.168.100.203 down in a host,if i do that then the whole lvs will be disable.
[root@loadbalancer ~]# telnet 192.168.100.203 80
Trying 192.168.100.206...
telnet: connect to address 192.168.100.206: Connection timed out
telnet: Unable to connect to remote host: Connection timed outtelnet
wlx
2006-11-14
发件人: Horms
发送时间: 2006-11-14 11:11:46
收件人: LinuxVirtualServer.org users mailing list.
抄送:
主题: Re: Re: lvs/tun+ha+ldirectord help
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/
_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
|