Tuesday, May 18, 2010

MIGRATING ZIMBRA FROM OPEN SOURCE TO NETWORK EDITION

First of all start with blocking your VM's IP address at your firewall. In my case the IP address of Zimbra VM is 10.20.0.26. This is a standard procedure while migrating any MTA - any message will now bounce off the server, it will be delayed. Any server trying to send an email will now wait up to 5 days until your MTA is available again. This way you will not loose any e-mails.

Next - VERY IMPORTANT - TAKE A BACKUP of your current installation, tar it and copy it somewhere. Only then you are allowed to start the installation.

############################################
INSTALL ZIMBRA NE
############################################

Get the newest version of Zimbra from here: http://www.zimbra.com/downloads/ne-downloads.html

wget http://files2.zimbra.com/downloads/6.0.6_GA/zcs-NETWORK-6.0.6_GA_2324.RHEL5_64.20100406133038.tgz

According to official Zimbra documentation you cannot install ZCS without a license. This however is not entirely true. I was having issues with Zimbra installer not being able to recognize the valid license and I recovered from it which I'll explain later on in this post. So if you get an error in regards to the license - don't panic - just continue the installation.

Before the upgrade, place the license in /opt/zimbra/conf/ZCSLicense.xml.

tar -xvf zcs-NETWORK-6.0.6_GA_2324.RHEL5_64.20100406133038.tgz

cd zcs-NETWORK-6.0.6_GA_2324.RHEL5_64.20100406133038

./install.sh --platform-override

Select the packages to install

Install zimbra-ldap [Y] y

Install zimbra-logger [Y] y

Install zimbra-mta [Y] y

Install zimbra-snmp [Y] y

Install zimbra-store [Y] y

Install zimbra-apache [Y] y

Install zimbra-spell [Y] y

Install zimbra-memcached [N] y

Install zimbra-proxy [N] y


Looking for valid license to install...failed to install license.
*******ERROR
Failed to install a license - this will prevent your server from functioning properly
Please contact Zimbra to obtain a license
Press RETURN to continue

It probably is a permission problem - try this:

chown zimbra:zimbra /opt/zimbra/conf/ZCSLicense.xml
chmod 444 /opt/zimbra/conf/ZCSLicense.xml

If it didn't work then don't panic - just continue with the installation. Zimbra will install anyway and you will be able to upload the license from the administration console.


No comments:

Post a Comment

Followers