Zextras Suite installation guide
- Basic information
- Quick Installation Guide
- Detailed Installation & Setup informations
- General instructions
- Post-Install and Post-Uninstall
No additional software beyond what’s required by a standard Zimbra deployment is necessary in order to install Zextras Suite.
|All commands must be executed as root unless differently specified|
Go to the download page on www.zextras.com or simply use wget directly from your server:
(this URL will always point at the latest release of Zextras Suite)
Zextras Suite is comprised of three major components:
Zextras Core, abbreviated as Zextras Core or Core, which is a jar package extending Zimbra
Zextras Administration Zimlet, abbreviated as Zextras Suite Zimlet or just Zimlet, an administrative zimlet which accesses and manages the Core.
ZAL - An Open Source abstraction layer for Zimbra.
The installation script follows the aforementioned structure allowing you three installation targets: core, zimlet and all . The latter is equivalent of installing core and immediately afterwards zimlet .
Download Zextras Suite on your server
As ROOT, unpack the file you just downloaded inside a directory (we suggest in /root/) in your Zimbra server.
Enter the directory created by the unpacking of the file.
Run the install.sh script with the "all" option (so ./install.sh all).
The installer will take care of downloading the latest available Core, ZAL and Zimlets for your Zimbra version.
The ZAL is an Open Source abstraction layer created to allow any extension to easily communicate with Zimbra Collaboration Suite, regardless of the version in use.
It is released under the GPL license and thus cannot be included in the Zextras Suite package, but during the installation process the Zextras Installer will automatically detect the most appropriate library version and will download and install it autonomously.
Should the automatic download fail, a direct download link will be provided: the downloaded file must be renamed to "zal.jar" and copied into the "packages/" subdirectory of the Zextras Suite package. Restarting the installer will detect the new file and install it along with Zextras Suite.
Zimbra 8.x users might experience slowness and AJAX errors when accessing the Zimbra Administration Console because of the Zimbra DOS Filter. In this case, raising the number of Maximum Requests per Second is suggested (see Zextras Suite and the Zimbra DoSFilter for further informations)
Starting from version 2.6.1, the Zextras Installer removes the Zimbra Chat component to anyone who is using or wants to use Zextras Chat instead. In order for this to happen, the LDAP and Mailbox services must be up and running as the installer relies on the default
zmzimletctl command to undeploy the Zimbra Chat zimlet.
When Zimbra is upgraded the Zextras Core is removed from the server, so in case of a Zimbra upgrade Zextras Suite must be reinstalled. All the data and settings will be maintained, so after re-installing everything will be exactly as it was before the Zimbra upgrade.
|Before upgrading your Zimbra server, please make sure that a compatible Zextras Suite version has been released. A Zextras Suite "compatibility" release is usually done within 48 hours since the release of a new Zimbra version.|
The information above only applies to "version upgrades": installing a Zimbra patch won’t affect Zextras Suite in any way and thus reinstalling the package is not required.
Zextras Suite’s impact on system resources is neglectible, but we still strongly suggest a minimum RAM of 4GB even for small environments to greatly improve your Zimbra experience.
If you are interested in optimization and tweaking we suggest to read the following article on the Zimbra wiki, which despite the title applies to both large and small deployments: http://wiki.zimbra.com/wiki/Performance_Tuning_Guidelines_for_Large_Deployments
Depending on the server roles in use, some additional precautions must be taken:
Installing Zextras Suite on a multiserver infrastructure including a single mailbox server is just as easy as installing it on a single-server infrastructure, as the software must only be installed on servers running the mailboxd service.
Zextras Suite installation in a Multistore infrastructure featuring multiple mailbox servers requires the following additional precautions:
Zextras Suite must be installed in ALL the store servers (the ones with the mailboxd service running). Zextras Suite uses ports 8735 and 8736 for store-to-store communication, make sure your servers can reach each other on this port and that the same port is closed to outside traffic.
Before installing Zextras Suite one will need to have downloaded the package, as explained in the appropriate section above, and exploded the archive in a directory of one’s choice.
$ tar xfz zextras_suite-latest.tgz $ ls zextras_suite-latest.tgz zextras_suite/
Inside the directory zextras_suite one shall find an executable shell script named install.sh.
$ cd zextras_suite $ ./install.sh -h ./install.sh -h | ./install.sh [ -u ] all|zimlet|core -h This very message -u Uninstall the target The targets available for (un)installation are: core -- Zextras Core zimlet -- Zextras Suite Zimlet all -- Zextras Core followed by Zextras Suite Zimlet * In order to use Zextras Suite both * core and zimlet need to be installed.
The output of ./install.sh -h will give the user a concise explanation regarding the usage of the installation script.
In order to successfully perform an installation one shall need to either become the root user or execute the script with root privileges (e.g. using sudo).
Once launched the script will perform a check of your system determining your Zimbra version and checking for any preexistent installation of either Zextras Suite or Zextras Migration Tool.
|Were any component of Zextras Migration Tool detected, you will be prompted to uninstall them and rerun the Zextras Suite installation script again afterwards.|
Proceeding with the installation requires for the EULA of Zextras to be accepted, after which the actual installation shall take place.
In order to install Zextras Suite you need for both Core and Zimlet to be correctly deployed and functional. Choosing all as target will install Core and Zimlet, in that order, in one go. Alternatively you can invoke the install.sh script with either core or zimlet as targets, installing each separately WARNING: Zextras Core and Zextras Zimlet MUST match versions, even when installed separately.
In order to install Zextras Core you need for Zimbra services to be stopped beforehand. You can either stop them before running the script or having them stopped by the script when prompted. Once that step is cleared the script will perform a series of checks regarding a potential previous installation of Zextras Core and eventually install the jar file among the Zimbra extensions.
Deployed the Core, Zimbra will need to be restarted to verify the former’s correct operation. (If you are using the all target to install both Core and Zimlet the script itself will prompt to start Zimbra.)
In order to install the Zextras Suite Zimlet you need for Zimbra services to be running. As above, you can either proceed manually beforehand or let the script start them when prompted to do so. Once Zimbra is active the administrative zimlet will be deployed, provided the core is already installed and both Core and Zimlet versions match.
In case of a preexistent instance of Zextras Suite on your system installing a newer version will automatically perform an upgrade. See the instructions above for the installation procedure.
If you just upgraded your Zimbra install, please see the Zimbra Upgrade section above.
Each separate server can be upgraded independently, and Zextras Suite will be fully functional even in a mixed-version environment Upgrading to a different major release (e.g. 2.14.x to 2.16.x) All servers should be upgraded at the same time, as in this case backwards compatibility is not guaranteed and Zextras Suite will not be fully functional until all nodes have been upgraded to the same version.
The removal procedure is mostly similar to the installation one. Placing the -u switch before the target is all is needed. The script will verify the presence of any Zextras Suite components and prompt for their removal. Running
./install.sh -u all
will uninstall both the Zextras Core and the Zextras Administration Zimlet
./install.sh -u core
will uninstall the Zextras Core
./install.sh -u zimlet
will uninstall the Zextras Administration Zimlet
After either installing or uninstalling Zextras Suite, it’s highly suggested to clear both your browser’s and server’s cache.
In order to clear your server’s Zimlet cache, simply run
zmprov fc zimlet
as the 'zimbra’user.
While the Zextras Suite package includes the Zextras Administration Zimlet, the Zextras Chat Zimlet and the Zextras Client Zimlet must be deployed separately.