[Dovecot] Dovecot and loadbalancer
Hi all,
I've 4 servers with dovecot and ldap authentication behind a
loadbalancer (Alteon).
To connect to dovecot, client need to use a vip of the loadbalancer.
To connect to the ldap server, dovecot need to use the loadbalancer
cause there are several ldap server.
The loadbalancer close a connection without activity during 30mn
Dovecot lauch several authentication process who have a connection to
the ldap server each.
Each client (user) have several imap connection to dovecot.
I've 2 problemes :
If a client (thunderbird for ex.) don't use a connection during
30mn, the loadbalancer delete this connection from his connection
table and the client seem not able to correctly reopen anotherIf a dovecot authentication proccess want to request ldap but
haven't do it in the last 30mn, it fail an say that the
authentification fail.
Somebody have already use dovecot in a redundent environnement ?
Have you an idea to solve these problems
Thanks,
Cyril Feraudet
Cyril Feraudet wrote:
Somebody have already use dovecot in a redundent environnement ?
Yes, I have load balancer on front of several Dovecot IMAP/POP3 proxies.
Have you an idea to solve these problems
Configure your Alteon not to drop idle connections, let Dovecot to kill unused connections so clients are aware that connection has been closed.
-- Tomi Hakala
Thanks Tomi,
Le 26 oct. 05 à 11:27, Tomi Hakala a écrit :
Cyril Feraudet wrote:
Somebody have already use dovecot in a redundent environnement ?
Yes, I have load balancer on front of several Dovecot IMAP/POP3
proxies.Have you an idea to solve these problems
Configure your Alteon not to drop idle connections, let Dovecot to
kill unused connections so clients are aware that connection has been
closed.
How to do that ? I havent see anything about this in conf file.
-- Tomi Hakala
--
Cyril Feraudet
Lab tests show that use of micro$oft causes cancer in lab animals
On Wed, 2005-10-26 at 11:16 +0200, Cyril Feraudet wrote:
- If a dovecot authentication proccess want to request ldap but
haven't do it in the last 30mn, it fail an say that the
authentification fail.
This is hopefully fixed now. If LDAP lookup fails, Dovecot tries to reconnect to LDAP server and try sending the request again.
This is untested however since I still haven't managed to get my LDAP server configured properly, so it might also have just stopped working completely..
participants (3)
-
Cyril Feraudet
-
Timo Sirainen
-
Tomi Hakala