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

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 02-08-2006, 09:13 AM
Elite Member & Volunteer
 
Posts: 255
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.
Reply With Quote
  #2 (permalink)  
Old 02-08-2006, 09:32 AM
Zimbra Employee
 
Posts: 2,103
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.
Reply With Quote
  #3 (permalink)  
Old 02-28-2006, 10:42 AM
Elite Member & Volunteer
 
Posts: 255
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
File Type: jpg Zimbra_Setup.jpg (23.8 KB, 1103 views)
Reply With Quote
  #4 (permalink)  
Old 02-28-2006, 10:44 AM
Zimbra Employee
 
Posts: 2,103
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).
Reply With Quote
  #5 (permalink)  
Old 06-28-2006, 09:03 PM
Active Member
 
Posts: 25
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...
Reply With Quote
  #6 (permalink)  
Old 07-11-2007, 11:25 AM
Loyal Member
 
Posts: 98
Default

Hi Rojas,
I have exactly the same design in my mind as yours.
How is it going?
Reply With Quote
  #7 (permalink)  
Old 07-11-2007, 10:53 PM
Moderator
 
Posts: 2,207
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.
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.