Results 1 to 7 of 7

Thread: Multi Server Installation

  1. #1
    rsharpe is offline Elite Member & Volunteer
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    9

    Default Multi Server Installation

    Hi Guys, I was wondering if one of the Zimbra folks could give me a quick howto on doing a multiserver installtion using the OSS version. I've read the Multi-Server PDF, and it didn't really tell me all that much. A small explination of what I'm looking for follows:

    2 MTAs
    1 Mailstore
    1 Master LDAP & 1 LDAP Replica Server

    All these servers would be on different servers on different LANs in different buildings. If you have any suggestions please let me know, thanks.

  2. #2
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default multi-server install

    Quote Originally Posted by rsharpe
    Hi Guys, I was wondering if one of the Zimbra folks could give me a quick howto on doing a multiserver installtion using the OSS version. I've read the Multi-Server PDF, and it didn't really tell me all that much. A small explination of what I'm looking for follows:

    2 MTAs
    1 Mailstore
    1 Master LDAP & 1 LDAP Replica Server

    All these servers would be on different servers on different LANs in different buildings. If you have any suggestions please let me know, thanks.
    What needs to be improved in the doc? Any notes, comment, etc. would help.

    Here's the deal:

    Bandwidth shouldn't be a problem, but I want to mention that flakey connections between your boxes could cause problems.

    Generally, in a multi server install, you'll want to install the LDAP box first, then the mailstores, then the MTAs.

    Package selection:

    LDAP master/LDAP replica:
    zimbra-ldap

    Store servers:
    zimbra-store
    zimbra-spell
    zimbra-logger (on only one store server)

    MTAs:
    zimbra-mta

    You can optionally install zimbra-snmp on these boxes.

    Install the LDAP master first. Configure normally. Create a domain. Change, or make a note of, the LDAP password. Make sure the services are running.

    Install the LDAP replica next. In the menu, select ldap, then DISABLE the ldap service.

    Intall the store server normally, entering the ldap host and password. Make sure the services are running.

    Install the MTA servers normall, entering the ldap store and password. The MTA AUTH HOST should be pointed at the STORE server. Make sure the services are running.

    On every box, on install, zmsshkeygen is run to create an ssh keypair, and store the public key in ldap. The command zmupdateauthkeys will grab all the keys from ldap and install them in authorized_keys on the local host. This allows the zimbra user to run the command "/opt/zimbra/bin/zmrcd" on other hosts in the install without a password. (And only that command).

    SO - to set up replication (this is not fully tested!) - run zmupdateauthkeys on both LDAP servers (or all boxes, if you want).

    Then, on the LDAP REPLICA - run zmldapenablereplica. This will:
    create the ldap config
    create a replication user
    enable the ldap service
    stop zimbra services on the replica
    stop zimbra services on the master
    replicate the db
    update the ldap info on the replica (ldap_url)
    start zimbra services on the master
    start zimbra services on the replica

    The ldap_url config value (zmlocalconfig ldap_url) is a space separated list of LDAP urls that the services will use. At this point, all boxes are going to the master LDAP server EXCEPT the replica, which will talk to itself, first.

    To use the replica, you now need to update the ldap_url value on the other servers - stop the zimbra services, update the value (zmlocalconfig -e ldap_url="url url url") (quotes needed because of the space). Use the value set on the replica server as a template.

    We use sync replication for this, and the testing we did indicated that it worked fine. If you're enabling this because of the distributed nature of your network, you may want to think about having a replica near the MTAs, and one near the store servers.

    Lastly - you can run a replica on boxes that are doing other things (eg, on an MTA server). The install is the same - select the packages you want (eg, zimbra-ldap, zimbra-mta) and configure normally, but DISABLE THE LDAP SERVICE. (V. important - otherwise, it will configure a separate ldap instance, and you've got two separate mail systems). Finish the install, then run the zmldapenablereplica script.

  3. #3
    rsharpe is offline Elite Member & Volunteer
    Join Date
    Nov 2005
    Location
    London, ON
    Posts
    255
    Rep Power
    9

    Default Mailstore Replication

    I have been asked by my supervisor what the possibilities of replicating mailstore information from one server to another. The grand vision is to have a semi-automatic to lights out failover. Is this a possibility? I have attached a picture of "The Grand Vision". I'd really appreciate your thoughts on this thanks!
    Attached Images Attached Images

  4. #4
    marcmac is offline Expert Member
    Join Date
    Sep 2005
    Posts
    2,103
    Rep Power
    13

    Default

    Well, we support Red Hat Cluster Suite (RHCS) in our network edition, so you can implement failover with that, which can be installed in a Grand Vision Compliant Manner (GVCM).

  5. #5
    rrojas is offline Active Member
    Join Date
    Feb 2006
    Posts
    25
    Rep Power
    9

    Default Multiserver Intalll (2 Servers)

    I have 2 servers, one in the dmz zone (LDAP and Store), and one in the internal network. I have some questions about this:

    1.- I have to set the following package selection???

    LDAP master/Store (Internal Server):
    zimbra-ldap
    zimbra-store
    zimbra-spell
    zimbra-logger

    MTA (DMZ):
    zimbra-mta

    2.- If i have this setup, the MTA server (dmz) have the Zimbra Web Interface ??? If not, what i've to do for have the Web Interface for mobile users???

    Thanks...

  6. #6
    fajarpri's Avatar
    fajarpri is offline Loyal Member
    Join Date
    Jul 2007
    Posts
    98
    Rep Power
    7

    Default

    Hi Rojas,
    I have exactly the same design in my mind as yours.
    How is it going?

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

    Default

    You can setup a mailstore on the same server (in DMZ) and specify in the Admin UI you don't want any mailbox on it. It'll be used as a relay (for WebUI but not Zimbra Mobile, AFAIK there's a issue here).

    Or you can setup a simple & standard reverse-proxy on it.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Zimbra fails after working for 2 weeks
    By Linsys in forum Administrators
    Replies: 10
    Last Post: 10-07-2008, 12:42 AM
  2. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  3. Installation Problem - Possibly LDAP
    By geroshea in forum Installation
    Replies: 5
    Last Post: 03-16-2007, 04:47 AM
  4. Error 256 on Installation
    By RuinExplorer in forum Installation
    Replies: 5
    Last Post: 10-19-2006, 09:19 AM
  5. Zimbra Installation Problem
    By AnilKumarYalla in forum Developers
    Replies: 0
    Last Post: 09-10-2006, 09:33 PM

Posting Permissions

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