[prev in list] [next in list] [prev in thread] [next in thread]
List: keepalived-devel
Subject: [Keepalived-devel] IPVS: No such destination
From: Ruben van der Zwan <keepalived () m0z ! net>
Date: 2006-08-31 19:18:25
Message-ID: 44F73601.1070300 () m0z ! net
[Download RAW message or body]
Hi all,
I've tried another machine today, Debian Linux with a 2.6.8 kernel.
I get the exact same error with this config:
global_defs {
router_id lb
}
virtual_server 192.168.1.247 80 {
delay_loop 6
lb_algo wlc
lb_kind DR
protocol TCP
real_server 192.168.1.10 80 {
weight 1
MISC_CHECK {
misc_path "/root/test.sh"
misc_dynamic
}
}
}
test.sh simply does a `exit 0` or any other number I put in the script.
The messages file:
Aug 31 20:11:25 debian Keepalived_healthcheckers: Changing weight from 1
to 57 for active service [192.168.1.10:80] of VS [192.168.1.247:80]
Aug 31 20:11:25 debian Keepalived_healthcheckers: IPVS: No such destination
I've had the same error, on different hardware, different Linux
distro's.. the first time I reported this was back in february.
Please let me know if somebody could take a look at this problem, if
not, I can start looking at other LB/HA software for true
"load"balancing. This is something I actually don't want to because
keepalived does the rest of the job very nicely :)
Thanks for your time!
Regards,
Ruben van der Zwan
Ruben van der Zwan wrote:
> Hi developers,
>
> I still have this error. Picked it up again for another setup, but I
> still have the "IPVS: No such destination" errors.
> Keepalived version is 1.1.12 and the kernel is Linux lb02
> 2.6.17-gentoo-r4 on a Dell PowerEdge SC1425 server.
>
> Is there anyone who can confirm this?
> I did look at the source but my C programming skills aren't sufficient :)
>
> With kind regards,
> Ruben van der Zwan
>
>
> RupS wrote:
>
>> 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.
>>
>>
>> -------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>> files
>> for problems? Stop! Download the new AJAX search engine that makes
>> searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>> _______________________________________________
>> Keepalived-devel mailing list
>> Keepalived-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>>
>>
>
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Keepalived-devel mailing list
> Keepalived-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/keepalived-devel
>
>
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Keepalived-devel mailing list
Keepalived-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic