ZeXtras Suite Installation Guide
From ZeXtras Suite Wiki
- 1 Basic informations
- 2 Quick Installation Guide
- 3 Detailed Installation & Setup informations
- 3.1 ZAL - an abstraction layer for Zimbra
- 3.2 Zimbra 8.x Zimbra Administration Console login issue (AjxError)
- 3.3 Zimbra Chat removal
- 3.4 Zimbra Upgrade
- 3.5 Minimum requirements and tweaking
- 3.6 Zextras Suite on Multiserver infrastructures
- 3.7 General instructions
- 3.8 Zextras Suite full Installation
- 3.9 Zextras Suite Core Installation
- 3.10 Zextras Suite Zimlet Installation
- 3.11 Zextras Suite full Upgrade
- 3.12 Zextras Suite Uninstallation
- 4 Post-Install and Post-Uninstall
|Language:||English • español • português|
|This documentation is outdated.|
|Please refer to https://docs.zextras.com|
No additional software beyond what's required by a standard Zimbra deployment is necessary in order to install Zextras Suite.
Where to get the Zextras Suite package
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 Suite Core, abbreviated as Zextras Core or Core, which is a jar package extending Zimbra
- Zextras Suite Administrative 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 .
Other Zextras Zimlets
While the Zextras Suite package includes the Zextras Administration Zimlet, the Zextras Chat Zimlet and the Zextras Client Zimlet must be deployed severaly. Check the respective Zextras Wiki entries for more information.
Quick Installation Guide
- 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.
Detailed Installation & Setup informations
ZAL - an abstraction layer for Zimbra
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 Zimbra Administration Console login issue (AjxError)
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)
Zimbra Chat removal
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.
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.
Minimum requirements and tweaking
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
Zextras Suite on Multiserver infrastructures
Depending on the server roles in use, some additional precautions must be taken:
Installing Zextras Suite on a Single-store infrastructure
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.
Installing Zextras Suite on a Multistore infrastructure
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
$ 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.
Proceeding with the installation requires for the EULA of Zextras to be accepted, after which the actual installation shall take place.
Zextras Suite full Installation
--- RECOMMENDED ---
In order to install Zextras Suite you need for both Core and Zimlet to be correctly deployed and functional.
all as target will install Core and Zimlet, in that order, in one go.
Alternatively you can invoke the
install.sh script with either
zimlet as targets, installing each separately
Zextras Suite Core Installation
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.)
Zextras Suite Zimlet Installation
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.
Zextras Suite full Upgrade
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.
Upgrading Zextras Suite on a Multiserver infrastructure
- Upgrading Zextras Suite to a different micro release (e.g. 2.16.1 to 2.16.2)
- 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.
Zextras Suite Uninstallation
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.
./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
Post-Install and Post-Uninstall
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.