Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-09-2008, 05:34 AM
Junior Member
 
Posts: 6
Default Load Balancing / Mailbox routing

According to several wiki documents, real load balancing (multiple servers can manage the same mailbox with a central datapool) is not possible with Zimbra, since transactions are very IO bound and thus the mailboxes are tied to a certain Zimbra server.

In our existing setup we use nginx, which performs the login for IMAP and POP3, connects to the according backend of the mailbox and is just proxying the further requests and responses during IMAP and POP3 sessions. So far, we could retain this for Zimbra.

But with Zimbra, there is also the AJAX frontend, and I have no idea how to load balance it. To balance the load, the frontend would have to know to which backend to connect. It cannot know this before the login is done. But the login screen is provided by the Zimbra server.

So how can I setup up a central zimbra frontend URL like https://zimbra.my-isp.com which hides the real backends (like zmserver1, zimserver2 etc.) from the customer? This isn't only interesting for the AJAX frontend, but also for WebDav.

Last edited by mlcnm; 10-09-2008 at 05:37 AM..
Reply With Quote
  #2 (permalink)  
Old 10-09-2008, 08:08 AM
Loyal Member
 
Posts: 78
Default

Well, maybe you could build something based on a single sign on system.
You'd already know who is accessing some special page, and redirect from that.

Regards,
__________________
Artturi
Reply With Quote
  #3 (permalink)  
Old 10-09-2008, 12:22 PM
Junior Member
 
Posts: 6
Default

But even providing a single sign on page and redirecting to a URL like server2313.myp-isp.com looks unprofessional. I cannot image that I'm the first one asking for that. I thought there are big installations of Zimbra? What solution does Zimbra provide for this (not very special) case?
Reply With Quote
  #4 (permalink)  
Old 10-09-2008, 10:29 PM
Moderator
 
Posts: 2,207
Default

Quote:
Originally Posted by mlcnm View Post
In our existing setup we use nginx, which performs the login for IMAP and POP3, connects to the according backend of the mailbox and is just proxying the further requests and responses during IMAP and POP3 sessions. So far, we could retain this for Zimbra.
There's a Zimbra-proxy module designed for that.

And guess what ?
zimbra-proxy is actually nginx 8)

Quote:
Originally Posted by mlcnm View Post
So how can I setup up a central zimbra frontend URL like https://zimbra.my-isp.com which hides the real backends (like zmserver1, zimserver2 etc.) from the customer? This isn't only interesting for the AJAX frontend, but also for WebDav.
Have a look at the multi-servers installation documentation and do some search on zimbra-proxy on the forum.

What you want is exactly what zimbra-proxy was designed for : it balances (not load balances) the trafic to the good server depending on the user/password. And it works for the AJAX webUI, HTML webUI, pop3, imap4, Zimbra Mobile, etc.

And you can loadbalance/failover a pair of zimbra-proxy servers if needed.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.