/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-10 / FreeBSD, CARP and Pound

[ << ] [ >> ]

[ Apache ab - SSL read failed - closing connection ... ] [ suggestion / Corin Langosch ... ]

FreeBSD, CARP and Pound
"Fabio Mendes" <ff.mendes(at)gmail.com>
2006-10-05 13:47:17 [ FULL ]
Hello guys,

Im using Pound 1.9.1 on FreeBSD 5.4 and all worked fine.

So, I my boss aked to build a second one for redundancy, and I used Pound
2.1 on FreeBSD 6.1 and CARP.

With 2.1 version redundancy doesnt worked, this is especifically about
pound, all other services such SSH were responding correctly.

With 1.9.1 version all works great.

Is there any kind of limitation about pound 2.1 about CARP ?


cheers,

Fabio
Attachments:  
text.html text/html 475 Bytes

Re: [Pound Mailing List] FreeBSD, CARP and Pound
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-10-05 14:24:42 [ FULL ]
Fabio Mendes wrote:[...]
Can you explain what you mean by "redundancy doesnt worked" ?
are you sure that pound is started on both servers ?[...]
[...]

Re: [Pound Mailing List] FreeBSD, CARP and Pound
"Fabio Mendes" <ff.mendes(at)gmail.com>
2006-10-05 16:58:22 [ FULL ]
Yes, of course.

When requested a page, i got no answer.

1.1.1.1 - virtual carp interface
2.2.2.2 - real addr server 1
3.3.3.3 - real addr server 2

When I try :

telnet 1.1.1.1 80
GET HTTP/1.1
Host: www.something.com
\n
\n

*** no answer. ***

telnet 2.2.2.2 80
GET HTTP/1.1
Host: www.something.com
\n
\n

Works fine

telnet 3.3.3.3 80
GET HTTP/1.1
Host: www.something.com
\n
\n

works fine too


But when I try:

telnet 1.1.1.1 22

Works great, this happenend with any other service, except  Pound 2.1.


I just stop 2.1 (in both servers) and start 1.9.1 (both ass well) then all
worked fine.


cheers,

Fabio


2006/10/5, Stefan Lambrev <stefan.lambrev(at)sun-fish.com>:[...]
Attachments:  
text.html text/html 2618 Bytes

Re: [Pound Mailing List] FreeBSD, CARP and Pound
Stefan Lambrev <stefan.lambrev(at)sun-fish.com>
2006-10-05 17:11:59 [ FULL ]
What will say this on both servers ?
netstat -an |grep LISTEN |grep 80

do you see *.80 or 1.1.1.1.80 ? I guess your configuration makes pound 
to bind
port only on 2.2.2.2&3.3.3.3

Fabio Mendes wrote:[...][...][...]
[...]

Re: [Pound Mailing List] FreeBSD, CARP and Pound
"Fabio Mendes" <ff.mendes(at)gmail.com>
2006-10-05 19:31:18 [ FULL ]
The deamon is running on both servers.

I tested other services such ssh or ftp indeed. This services worked fine
which proof that is not CARP related issue.

That happenend especifically with danguardian 2.1.

Im running 1.9.1 version with the same carp configuration and worked very
good.

In fact, still working since that day (almost 2 months ago).


cheers,

Fabio


2006/10/5, Stefan Lambrev <stefan.lambrev(at)sun-fish.com>:[...]
Attachments:  
text.html text/html 4506 Bytes

Re: [Pound Mailing List] FreeBSD, CARP and Pound
Simon Slaytor <sslaytor(at)iom.com>
2006-10-05 20:20:18 [ FULL ]
I can't comment on a FreeBSD platform, but for OpenBSD 3.9 (release) 
running multiple Pre-empted / arp load balanced carp interfaces for 
several instances of pound, each bound to a different CARP interface and 
pointing to unique / shared backends v2.1.3 works like a charm.

Is there any specific reason your using FreeBSD, could you try using 
OpenBSD, I ask because on the OpenBSD list several ex FreeBSD users have 
commented that they moved over due to problems with the CARP port on 
FreeBSD.



Fabio Mendes wrote:[...]

Re: [Pound Mailing List] FreeBSD, CARP and Pound
"Fabio Mendes" <ff.mendes(at)gmail.com>
2006-10-05 20:40:04 [ FULL ]
I will test with 2.1.3 version.

The interesting thing is that happenend with 2.1 version only.

When I shutdown 2.1 daemon and starts 1.9.1 all goes well.

Anyway, thanx for the help


Cheers



2006/10/5, Simon Slaytor <sslaytor(at)iom.com>:[...]
Attachments:  
text.html text/html 2057 Bytes

MailBoxer