Difference between revisions of "ZCA Migration"
|Line 1:||Line 1:|
'''Zimbra 6 to ZCS 7 or 8'''
= Lifecyle of Zimbra Collaboration Appliance (ZCA) =
= Lifecyle of Zimbra Collaboration Appliance (ZCA) =
Revision as of 14:28, 13 December 2014
|This article applies to the following ZCS versions.
Lifecyle of Zimbra Collaboration Appliance (ZCA)
Here we can find the Lifecyle of Zimbra Collaboration Appliance:
There are two choices when upgrading from Zimbra Collaboration Appliance Version 6 to Zimbra Collaboration Server Version 7.
Upgrade in-place Summary
Upgrade in-place steps
Prepare ZCA for upgrade
Download the latest ZCS version
Remove Unnecessary File
Upgrade your ZCA software.
In the event that you need to migrate from a virtualized Zimbra Collaboration Appliance to a native installation of Zimbra Collaboration Server this document will guide you through the steps. The migration steps include advanced linux administration skills including access to the command line interface (cli), network ip address configuration, firewall configuration, and transferring data between servers. These steps utilize the application level backup and restore functionality built into Network Edition of ZCS because of this migration from ZCA to the Community Edition of ZCS is not supported.
Prepare ZCA for migration.
The migration from the Zimbra Collaboration Appliance (ZCA) utilizes the built-in application backup and restore functionality. This functionally is not exposed in the Administration Console for ZCA and requires access to the command line interface (cli).
Copy existing data to the new server
Shutdown the existing Zimbra Collaboration Appliance
Prepare the new ZCS server
Before you begin, make sure that the new server is correctly configured with the IP address and hostname and that ZCS is installed and configured with the same domain, hostname, passwords, etc. as the previous server. See the Zimbra Collaboration Server installation guide for more information about preparing the server. Before you begin to install ZCS, note the information you need from the old server including: admin account name and password, LDAP, Amavis, and Postfix passwords, spam training and non-spam training user account names, exact domain name, and the global document account name.
Restore system configuration and account data.
Upgrading from ZCA 8.0.x to Zimbra Collaboration 8.x
Upgrading from ZCA 8.0.x to Zimbra Collaboration 8.0.9
In the Admin Console we can check our version of ZCA:
The new versions of Zimbra Collaboration have some pre-requisites that we need to install before start the Upgrade proccess:
root@zimbra-appliance01:~# apt-get install pax libaio1
Also, run a full backup is always a must:
zimbra@zimbra-appliance01:/$ zmbackup -f -a all
Then, launch the ./install.sh script ./install.sh
Operations logged to /tmp/install.log.17327
Checking for existing installation... zimbra-ldap...FOUND zimbra-ldap-8.0.4.GA.5737.UBUNTU10.64 zimbra-logger...FOUND zimbra-logger-8.0.4.GA.5737.UBUNTU10.64 zimbra-mta...FOUND zimbra-mta-8.0.4.GA.5737.UBUNTU10.64 zimbra-snmp...FOUND zimbra-snmp-8.0.4.GA.5737.UBUNTU10.64 zimbra-store...FOUND zimbra-store-8.0.4.GA.5737.UBUNTU10.64 zimbra-apache...FOUND zimbra-apache-8.0.4.GA.5737.UBUNTU10.64 zimbra-spell...FOUND zimbra-spell-8.0.4.GA.5737.UBUNTU10.64 zimbra-convertd...FOUND zimbra-convertd-8.0.4.GA.5737.UBUNTU10.64 zimbra-memcached...FOUND zimbra-memcached-8.0.4.GA.5737.UBUNTU10.64 zimbra-proxy...NOT FOUND zimbra-archiving...FOUND zimbra-archiving-8.0.4.GA.5737.UBUNTU10.64 zimbra-cluster...NOT FOUND zimbra-core...FOUND zimbra-core-8.0.4.GA.5737.UBUNTU10.64 ZCS upgrade from 8.0.4 to 8.0.9 will be performed. Checking for available license file... Current Users=105 Licensed Users=10000
Saving existing configuration file to /opt/zimbra/.saveconfig
Reply yes to the three questions about License, once read it:
Do you agree with the terms of the software license agreement? [N] y
The system will check for all the pre-requisites and check about the last backup:
Checking for prerequisites... FOUND: NPTL FOUND: netcat-openbsd-1.89-3ubuntu2 FOUND: sudo-1.7.2p1-1ubuntu5.3 FOUND: libidn11-1.15-2 FOUND: libpcre3-7.8-3build1 FOUND: libgmp3c2-2:4.3.2+dfsg-1ubuntu1 FOUND: libexpat1-2.0.1-7ubuntu1 FOUND: libstdc++6-4.4.3-4ubuntu5.1 FOUND: libperl5.10-5.10.1-8ubuntu2.1 FOUND: libaio1-0.3.107-3ubuntu2
Checking for suggested prerequisites... FOUND: pax FOUND: perl-5.10.1 FOUND: sysstat FOUND: sqlite3 Prerequisite check complete. Checking current number of databases... Checking for a recent backup
In the database integrity, reply yes for check the Integrity of your database. Could take more time depends on the database size:
Do you want to verify message store database integrity? [Y] Verifying integrity of message store databases. This may take a while. mysqld is alive No errors found
The system will ask us about if we are sure to upgrade, press Yes:
Do you wish to upgrade? [Y]
Select the packages to install Upgrading zimbra-core Upgrading zimbra-ldap Upgrading zimbra-logger Upgrading zimbra-mta Upgrading zimbra-snmp Upgrading zimbra-store Upgrading zimbra-apache Upgrading zimbra-spell Upgrading zimbra-convertd Upgrading zimbra-memcached
If we didn't had the proxy package installed, then here select No:
Install zimbra-proxy [N]
Then the system will ask us again, if we are sure, press Yes:
The system will be modified. Continue? [N] y
And then, after a while, the upgrade system will finish:
Restarting mailboxd...done. Skipping creation of default domain GAL sync account - existing install detected. Setting up zimbra crontab...done.
Moving /tmp/zmsetup.12132014-134053.log to /opt/zimbra/log
Configuration complete - press return to exit
And we will have Zimbra Collaboration 8.0.9 with all of our users, and data:
Upgrading from Ubuntu 10.04 LTS to Ubuntu 12.04 LTS
The newest versions of Zimbra Collaboration, 8.x doesn't support Ubuntu 10.04 LTS anymore, is deprecated, so we nedd to upgrade our Ubuntu 10.04 to 12.04 at least.
We can follow the next Wiki for the Ubuntu 10.04 to 12.04 Upgrade - Ubuntu 10.04 to 12.04 Upgrade
Upgrading from Zimbra Collaboration 8.0.9 to 8.5.1 in Ubuntu 12.04 LTS
Is always a great idea upgrade the Zimbra Collaboration from 8.0.9 to the last version 8.x, you can do it following these steps - Upgrade Zimbra Collaboration 8.0.7 to 8.x - Ubuntu 12.04 LTS