Results 1 to 4 of 4

Thread: Load Balancing / Mailbox routing

  1. #1
    mlcnm is offline Junior Member
    Join Date
    Oct 2008
    Posts
    6
    Rep Power
    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.

  2. #2
    Artturi is offline Loyal Member
    Join Date
    Dec 2006
    Location
    Paris
    Posts
    78
    Rep Power
    8

    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

  3. #3
    mlcnm is offline Junior Member
    Join Date
    Oct 2008
    Posts
    6
    Rep Power
    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?

  4. #4
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Location
    Beaucaire, France
    Posts
    2,316
    Rep Power
    13

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 10
    Last Post: 10-17-2012, 06:45 PM
  2. Shared storage and ZCS / load balancing store servers
    By bureado in forum Administrators
    Replies: 0
    Last Post: 08-22-2008, 10:32 PM
  3. Load Balancing DNS / Virtual Host question
    By drhughes in forum Administrators
    Replies: 0
    Last Post: 01-09-2008, 12:30 PM
  4. can't you help me
    By iwan siahaan in forum Administrators
    Replies: 6
    Last Post: 12-17-2007, 06:53 PM
  5. Internet Explorer waits forever to load mailbox
    By shanson in forum Administrators
    Replies: 7
    Last Post: 04-07-2006, 09:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •