ZCS Multi-Server Installation Guide, Network Edition 4.5
Table of Contents Previous Next Index


Multiple-Server Installation

Multiple-Server Installation
The installation is straight-forward and easy to run. You run the same install script on each server, select which component(s) to install, and use the menu to configure the system.
After the installation is complete, two additional steps to fetch the ssh encryption keys and enable some logger functionality should be run. When the server installation is complete, the servers are started, and the status is displayed.
Important: Install the servers in the following order
1.
2.
3.
Important: Do not manually create the user ‘zimbra’ before running the ZCS installation. The installation automatically creates this user and sets up its environment.
Starting the Installation Process
For servers other than Mac servers, step 1 through step 4 are performed for each server to be installed.
For Mac servers, see "Starting the Installation Process on the Mac Server” .
1.
Log in as root to the Zimbra server and cd to the directory where the Zimbra Collaboration Suite archive file is saved (cd /var/<tmp>/var). Type the following commands.
tar xzvf [zcs.tgz] to unpack the file
cd zcs to change to the correct directory
./install.sh to begin the installation. Note: When installing ZCS on the LDAP server, you can also install the Zimbra license file. Copy the file to the server and to begin the installation, type ./install.sh -l (/path/ZCSLicense.xml)
Note: As the installation proceeds, press Enter to accept the defaults that are shown in brackets [ ] or enter the appropriate answer for your configuration.
The screen shots are examples of the Zimbra installation script.
 
[root@ zcs]# ./install.sh
2.
The installation process checks to see if Sendmail, Postfix, and MySQL software are running. If any application is running, you are asked to disable it. The default is Yes to disable the applications. Disabling MySQL is optional, but highly recommended. Sendmail and Postfix must be disabled for the Zimbra Collaboration Suite to start correctly.
3.
The Zimbra software agreement is displayed and includes the link to the license terms for the Zimbra Collaboration Suite. Please read the agreement and to continue, press Enter.
 
PLEASE READ THIS AGREEMENT CAREFULLY BEFORE USING THE SOFTWARE. ZIMBRA, INC. ("ZIMBRA") WILL ONLY LICENSE THIS SOFTWARE TO YOU IF YOU FIRST ACCEPT THE TERMS OF THIS AGREEMENT. BY DOWNLOADING OR INSTALLING THE SOFTWARE, OR USING THE PRODUCT, YOU ARE CONSENTING TO BE BOUND BY THIS AGREEMENT. IF YOU DO NOT AGREE TO ALL OF THE TERMS OF THIS AGREEMENT, THEN DO NOT DOWNLOAD, INSTALL OR USE THE PRODUCT.
4.
Next, the installer checks to see that the prerequisite software is installed. If NPTL, sudo, libidn, cURL, fetchmail, GMP or compat-libstdc++- are not installed, the install process quits. You must fix the problem and start the installation over.
Note: Before the Main menu is displayed, the installer checks to see if the hostname is resolvable via DNS and if there is an error asks of you would like to change the hostname. The domain name should have a MX record configured in DNS.
Starting the Installation Process on the Mac Server
The following steps are performed on each Mac server to be installed.
1.
Click on the dmg file to open the file and then click ZCS.mpkg to open the Zimbra install package. The Apple installer opens and verifies that the server is ready to install the Zimbra Collaboration Suite. Click Continue.
2.
3.
The Zimbra Software License Agreement is displayed. Read the agreement and click Continue. A popup screen appears asking that to continue the install you must accept the terms of the license agreement. Click Agree.
4.
5.
The Easy Install ... dialog displays. Now you select which services to be installed on this server.
To select which services to install, click Customize. Deselect those packages you do not want installed. See "Planning for the Installation” for information about the packages. Click Install to proceed.
A progress bar shows the Zimbra packages being installed. When The software was successfully installed dialog displays, click Close.
6.
Open the Apple Terminal and log on as root. Type sudo /bin/bash. Enter your root password, if asked.
7.
8.
Type cd /opt/zimbra/libexec.
9.
Type ls to see the packages in the directory.
10.
Type ./zmsetup.pl. This starts the ZCS configuration. A temporary log file is created and the server port configurations are checked for conflicts. The installation process checks to see if Sendmail, Postfix, and MySQL software are running. If any of these applications are running, you are asked to disable them. Disabling MySQL is optional but highly recommended. Sendmail and Postfix must be disabled for the Zimbra Collaboration Suite to start correctly.
11.
If no conflicts are found, the Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see the configuration values type X and press Enter. The main menu expands to display configuration details for the package being installed. Values that require further configuration are marked with asterisks (*).
12.
Installing Zimbra LDAP Master Server
You must configure the Zimbra Master LDAP server before you can install the other Zimbra servers.
1.
Follow steps 1 through 4 in Starting the Installation Process section to open a SSH session to the LDAP server, log on to the server as root, and unpack the Zimbra software.
2.
The zimbra-ldap package should be marked y. The MTA, Store and Logger packages should be marked n. If you are using SNMP, SNMP package is marked y.
 
3.
Type y, and press Enter to modify the system. The selected packages are installed on the server.
The Main menu displays showing the default entries for the Zimbra component you are installing. To expand the menu to see the configuration values type x and press Enter. The main menu expands to display configuration details for the package being installed. Values that require further configuration are marked with asterisks (*).
To navigate the Main menu, select the menu item to change. You can modify any of the defaults. See Table 2, "Main Menu Options,” on page 15 for a description of the Main menu.
 
Items with an asterisks must be configured.
4.
Type 4 to display the automatically generated LDAP password. You can change this password.
Remember the LDAP password, the LDAP host name, and the LDAP port. You must configure this information, when you install the MTA server and the mailbox servers.
5.
Type 5 to change the zimbra-ldap settings.
Type 3 to change the default domain name to the email domain name.
 
6.
When the LDAP server is configured, type a to apply the configuration changes. Press Enter to save the configuration data.
7.
When Save Configuration data to a file appears, press Enter.
8.
When The system will be modified - continue? appears, type y and press Enter.
The server is modified. Installing all the components and configuring the server can take a few minutes.
9.
When Installation complete - press return to exit displays, press Enter.
The installation of the LDAP server is complete.
 
Installing Zimbra Mailbox Server
The Zimbra-store can be installed with the LDAP server, the MTA server, or as a separate mailbox server. You can have more than one mailbox server and new servers can be added at any time. The Zimbra license file can be installed on one of the mailbox servers during installation. If you do not have a license file you can install it from the administration console when the ZCS install is complete. See "Zimbra License” on page 15.
Note: The Zimbra logger is installed on only one Zimbra mailbox server.
1.
Follow steps 1 through 4 in Starting the Installation Process section to log on to the server as root and unpack the Zimbra software.
2.
Type y to install the zimbra-store, zimbra-logger (optional and only on one mailbox server), and zimbra-spell (optional) packages. When zimbra-spell is installed the zimbra-apache package is also installed.
 
    zimbra-store
    zimbra-logger
    zimbra-apache
    zimbra-spell
3.
Press Enter to modify the system. The selected packages are installed on the server.
At this point the Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see the configuration values type x and press Enter.
To navigate the Main menu, select the menu item to change. You can modify any of the defaults.
 
2) Ldap master host                         mailhost.example.com
   5) zimbra-store: Enabled
+Global Documents Account              wiki@mailhost.example.com
        +SMTP host:                            mailhost.example.com
+Spell server URL: http://mailhost.example.com:7780/aspell.php
    ****+License file name:                    UNSET
   6) zimbra-mta: Enabled
 9) zimbra-spell: Enabled
  10) Enable default backup schedule:          yes
4.
Type 2 and then type the LDAP host name.
Type 4 and then type the LDAP password.
The server immediately contacts the LDAP server. If it cannot contact the server, you cannot proceed.
5.
Type 5 to configure the admin password, the SMTP host, and to set the web server mode, if your configuration is not http.
Type 4 and set the password for the administrator account. The password is case sensitive and must be a minimum of six characters. The admin account is provisioned on the Zimbra server and allows you to log on to the administration console. The administrator name, mail address, and password are required to log in to the administration console.
Type 9 to set the SMTP host.
Type 10, if you are changing the default. The communication protocol options are HTTP, HTTPS, or mixed. Mixed mode uses HTTPS for logging in and HTTP for normal session traffic. All modes use SSL encryption for back-end administrative traffic
If you are setting up IMAP/POP proxy servers, type 13 to enable. When you enable these, IMAP and POP server port numbers and proxy port numbers are automatically changed. See the "Planning for the Installation" Configuring IMAP and POP Proxy Server.
Type 20, to install the Zimbra license file. Type the directory and file name for the Zimbra license. For example, if you saved the license file to the tmp directory, you would type /tmp/ZCSLicense.xml. You cannot proceed without a license.
 
1) Status:                                Enabled
19) Spell server URL: http://mailhost.example.com:7780/aspell.php
6.
When the mailbox server is configured, type a to apply the configuration changes. Press Enter to save the configuration data.
7.
When Save Configuration data to a file appears, press Enter.
8.
When The system will be modified - continue? appears, type y and press Enter.
The server is modified. Installing all the components and configuring the server can take a few minutes.
9.
When Installation complete - press return to exit displays, press Enter.
The installation of the mailbox server is complete.
 
Installing Zimbra MTA on a Server
When the Zimbra MTA is being installed the root LDAP password and the Zimbra LDAP password must be known to the MTA server. If not, the MTA cannot contact the LDAP server and will not be able to complete the installation.
1.
Follow steps 1 through 4 in Starting the Installation Process section to open a SSH session to the MTA server, log on to the server as root, and unpack the Zimbra software.
2.
Enter y to install the zimbra-mta package. The other packages should be marked n. Note: If you installed the SNMP package on the LDAP server, install it here also.
3.
Press Enter to modify the system. The selected packages are installed on the server.
At this point the Main menu displays the default entries for the Zimbra component you are installing. To expand the menu to see all the configuration values type X and press Enter.
To navigate the Main menu, select the menu item to change. You can modify any of the defaults.
 
   5) zimbra-mta: Enabled
   r) Start servers after configuration yes
   x) Expand menu
4.
The Main menu displays. The Hostname is displayed. You must set the LDAP host and password configured on the LDAP server.
Type 2 and then type the LDAP host name.
Type 4 and then type the LDAP password.
The server immediately contacts the LDAP server. If it cannot contact the server, you cannot proceed.
5.
Type 5 and then type 2 to set the MTA Auth host. This is the MTA authentication server host name and is set to one of the Zimbra mailbox server’s hostname.
Note: If configuring the MTA server for a cluster environment, the MTA Auth host is the cluster services hostname, not the physical hostname.
You can change 5, AV alerts notification address. The administrator’s address is configured by default.
Note: If you enter a new address, you will need to configure this address on the administration console.
 
  1) Status: Enabled
**2) MTA Auth host:                           mailhost.example.com
  3) Enable Spamassassin: yes
  4) Enable Clam AV: yes
  5) Notification address for AV alerts: admin@mta.example.com
6.
When the MTA server is configured, type a to apply the configuration changes. Press Enter to save the configuration data.
7.
When Save Configuration data to a file appears, press Enter.
8.
When The system will be modified - continue? appears, type y and press Enter.
The server is modified. Installing all the components and configuring the server can take a few minutes.
9.
When Installation complete - press return to exit displays, press Enter.
The installation of the MTA server is complete.
Installing the Zimbra-SNMP package
Installing the Zimbra-SNMP package is optional, but if you use SNMP monitoring, this package should be installed on each Zimbra server.
In the Main menu select the zimbra-snmp to make changes to the default values.
The following questions are asked for SNMP configuration.
Configure whether to be notified by SNMP or SMTP. The default is No. If you enter yes, you must enter additional information.
 
+SNMP Trap hostname:                  mailhost.example.com
+SMTP Source email address:           admin@example.com
+SMTP Destination email address:      admin@example.com
Final Set-Up
After the Zimbra LDAP, mailbox, and MTA servers are configured in a multi-node configuration, the following two functions must be configured:
In order for remote management and postfix queue management, the ssh keys must be manually populated on each server.
If logger is installed, set up the syslog configuration files on each server to enable server statistics to display on the administration console, and then enable the logger monitor host. The server statistics includes information about the message count, message volume, and anti-spam and anti-virus activity.
Set up the ssh keys.
To populate the ssh keys, on each server, as Zimbra user (su-zimbra). Type zmupdateauthkeys and press Enter. The key is updated on
/opt/zimbra/.ssh/authorized_keys.
Enabling Server Statistics Display.
In order for the server statistics to display on the administration console, the syslog configuration files must be modified.
Note: If you set up Zimbra in a cluster environment, the syslog configuration files for logger are automatically modified during the cluster configuration. In a cluster installation, you need only to perform step 1 on the LDAP and MTA servers to enable the syslog.
1.
On each server, as root, type /opt/zimbra/bin/zmsyslogsetup. This enables the server to display statistics.
2.
On the logger monitor host, you must enable syslog to log statistics from remote machines.
a.
Edit the /etc/sysconfig/syslog file, add -r to the SYSLOGD_OPTIONS setting, SYSLOGD_options=”-r -m 0”
b.
Stop the syslog daemon. Type /etc/init.d/syslogd stop.
c.
Start the syslog daemon. Type /etc/init.d/syslogd start.
Verifying Server Configuration
When Configuration complete - press return to exit is displayed, the installation is finished and the server has been started. Before going to the next server, you should verify that the server is running.
Use the CLI command, zmcontrol status, to verify that each server is running.
1.
2.
Type su - zimbra.
3.
Type zmcontrol status. The services status information is displayed. All services should be running.
Note: If services are not started, you can type zmcontrol start. See the CLI command appendix in the Administration Guide for more zmcontrol commands.
Logging on to the Administration Console
To log on to the administration console, open your browser, type the administration console URL and log on to the console. The administration console URL is entered as
https://[example.com]:7071/zimbraAdmin.
Note: The administration console address must be typed with "https”, even if you configured only "http”.
The first time you log on, a certificate authority (CA) alert may be displayed. Click Accept this certificate permanently to accept the certificate and be able connect to the Zimbra administration console. Then click OK.
Enter the admin user name and password configured during the installation process. Enter the user name as admin@[example.com]
Post Installation Tasks
Once the Zimbra Collaboration Suite is installed, if you installed the Zimbra license, you can log on to the administration console and configure additional domains, create Classes of Service, and provision accounts. See the Zimbra Administrator’s Guide.
Defining Classes of Service
A default Class of Service (COS) is automatically created during the installation of Zimbra software. The COS controls mailbox quotas, message lifetime, password restrictions, attachment blocking and server pools. You can modify the default COS and create new COSs to assign to accounts according to your group management policies.
In an environment with multiple mailbox servers, COS is used to assign the new accounts to a mailbox server. The COS server pool tab lists the mailbox servers in your Zimbra environment. When you configure the COS, select which servers to add to the server pool. Within each pool of servers, a random algorithm assigns new mailboxes to any available server.
To create or modify a COS, from the administration console, click COS. If you have questions, refer to the Help.
Provisioning Accounts
From the administration console, you can quickly create accounts using the New Account Wizard that steps you through the account information to be completed.
To provision accounts:
1.
2.
Click New, page 1 of the New Account Wizard opens.
3.
4.
You can click Finish at this point, and the account will be configured with the default COS and global features.
If you want to configure aliases, forwarding addresses, and specific features for this account, proceed through the dialog.
Accounts are now ready to send and receive mail.
Refer to the administration guide to learn more about provisioning accounts, including how to provision multiple accounts at once.
Import the Content of Users’ Mailboxes
Zimbra’s migration and import tools can be used to move users’ email messages, calendars, and contacts from their old email servers to their accounts on the Zimbra server. When the user’s files are imported, the folder hierarchy is maintained. These tools can be accessed from the administration console Download page and instruction guides are available from the Administration Console Help Desk.
Uninstalling Zimbra Collaboration Suite
To uninstall servers, you run the install script -u and then delete the zcs directory and remove the ZCS tgz file on the servers.
1.
2.
Type ./install.sh -u.
3.
When Completely remove existing installation? is displayed, type Yes.
The Zimbra servers are stopped, the existing packages, the webapp directories, and the /opt/zimbra directory are removed.
4.
5.
6.
Additional files may need to be delete. See the Zimbra Wiki Installation section on http://wiki.zimbra.com/index.php?title=Main_Page.
Note: For Mac, type cd /;/opt/zimbra/libexec/installer/install-mac.sh - u.

Multiple-Server Installation

Table of Contents Previous Next Index
ZCS Multi-Server Installation Guide, Network Edition 4.5
Copyright © 2007 Zimbra Inc.