On Mon, May 28, 2007 at 09:11:45AM +0200, Antonio Guirado Puerta wrote: > We are designing a scalable and redundancy IMAP/POP3 arquitecture. > Users maildirs are in a SAN. There are N IMAP/POP3 servers, each one > with its own SAN partition mounted. IMAP/POP3 sessions are balancing > by a F5 balancer. Using mailhost LDAP attribute and PROXY_HOSTNAME in > the imapd file is possible that a session was sent to right server > where user maildir is. The problem is when a server is down. We would > like to mount its partitition is any of active servers. The issue is > that session always is sent to the inactive server. This could be > solving allowing multiples values in the PROXY_HOSTNAME attribute (p.e > imap1.domain.com, imap2.domain.com). In this case, when > imap2.domain.com server is down, it would be possible mount its > partition in any active server, p.e imap1.domain.com. Modifying the > attribute (PROXY_HOSTNAME= imap1.domain.com, imap2.domain.com ) and > restart the imap server, a session for the inactive server should be > accepted by imap1 server, besides its own sessions. > This solution is similar to QMAIL cluster and let a redundancy > arquitecture, although in a manual way but very effective. > Is there any patch that allow multiples entries or several values to > PROXY_HOSTNAME attribute. Has anyone make something similar?.
Just a suggestion: since you are doing manual failover in this case, why not just add the IP address of the failed machine as an interface alias to one of the other machines in the cluster? That is, if imap1.domain.com fails: 1. Mount imap1.domain.com's SAN storage on imap2.domain.com 2. Add imap1.domain.com's IP address as an alias on imap2.domain.com (using ifconfig) Now all requests which would have hit imap1.domain.com will hit imap2.domain.com. Brian. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Courier-imap mailing list [email protected] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
