[Keepalived-devel] IPVS: No such destination
Status: Beta
Brought to you by:
acassen
|
From: RupS <kee...@m0...> - 2006-02-10 12:47:48
|
Below a part of the keepalived config file.
virtual_server 123.123.123.123 80 {
delay_loop 6
lb_algo wlc
lb_kind DR
protocol TCP
real_server 123.123.123.124 80 {
MISC_CHECK {
misc_path /tmp/check.pl
misc_timeout 1
misc_dynamic
}
}
}
/tmp/check.pl:
#!/usr/bin/perl
exit 100;
Every once or twice the weight gets adjusted correctly:
Feb 9 16:43:43 loadbalancer2 Keepalived_healthcheckers: Changing weight
from 248 to 198 for inactive service [123.123.123.124:80] of VS
[123.123.123.123:80]
Most of the time the weight isn't adjusted and I see the following error
in the logs:
Feb 9 16:44:13 loadbalancer2 Keepalived_healthcheckers: IPVS: No such
destination
It looks like keepalived is able to adjust the weight when (re)adding a
server to ipvsadm, but is unable to change it?
This is not the only problem, I also get A LOT of these errors:
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP connection
to [123.123.123.124:80] failed !!!
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
service [123.123.123.124:80] from VS [123.123.123.123:80]
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP connection
to [123.123.123.124:80] failed !!!
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
service [123.123.123.124:80] from VS [123.123.123.123:80]
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: TCP connection
to [123.123.123.124:80] failed !!!
Feb 9 16:55:47 loadbalancer2 Keepalived_healthcheckers: Removing
service [123.123.123.124:80] from VS [123.123.123.123:80]
When I run wget in a loop, eg:
while true; do
wget --output-document=/dev/null http://123.123.123.124/
done
I don't see a single hickup or a failing connection...
You guys have any idea why keepalived is doing this?
Kernel version: Linux loadbalancer2 2.6.14-gentoo-r5
Keepalived version: Keepalived v1.1.11 (09/06,2005)
--------------
Moderators: I send this message from a wrong email address first, you
can ignore the message.
|