Best Practices for executing Package Updates

Best Practices for executing Package Updates

   KB 22865        Last updated on 10/31/2016  




0.00
(0 votes)

Starting in Zimbra Collaboration 8.7, Zimbra uses repositories for 3rd party packages, in the first step towards having the whole product fully installable from repositories.

Zimbra-repository.png

Update the Zimbra Packages list

First step to follow before run a package update on Zimbra Collaboration, using the third package repository, is to run apt-get or yum update on the server, as this can take some minutes, as root:

* Note, we recommend to run all the next commands in a screen session, just run the command screen, and start working from there

Ubuntu

apt-get update

Red Hat/CentOS

yum update

Stopping the components before run the Zimbra Package upgrade

Before run the upgrade on the Zimbra Serverm it's really important that the next components are in stop mode, depending on the type of Zimbra Node (LDAP, MTA, Proxy or Mailbox), you should stop some services:

Services that need to keep running during the upgrade

It's really important to keep the ldap and zmconfigd packages up during the upgrade process:

  • ldap
  • zmconfigd

Stop the components using CLI

Before run the Zimbra upgrade for third party packaging, stop the Zimbra Services and once finished, please start the ldap and zmconfigd service like this:

zmcontrol stop
ldap start
zmconfigdctl start

Run the Zimbra Package upgrade

Once the services are properly stopped, you can run the upgrade on the server, as this can take some minutes, as root:

Ubuntu

apt-get dist-upgrade

Red Hat/CentOS

yum upgrade

Starting the components after run the Zimbra Package upgrade

After run the upgrade process, the best command to restart all the services on the Zimbra node is:

zmcontrol restart

So you will restart all the services with just one command.

Additonal Content

Identified Support Issues

  • No Support issues reported yet.
Verified Against: Zimbra Collaboration Suite 8.7 Date Created: 02/08/2016
Article ID: https://wiki.zimbra.com/index.php?title=Best_Practices_for_executing_Package_Updates Date Modified: 10/31/2016



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by Jorge SME2 Copyeditor Last edit by Jorge de la Cruz
Jump to: navigation, search