You are currently viewing Zend Server 5.x documentation. Click here to view the latest Zend Server online documentation.

Upgrading a Zend Server Cluster

In order to upgrade a Zend Server cluster, you must upgrade your cluster manager, followed by each node separately. Use the procedure that applies to the operating system on your machine (DEB, RPM (RHEL, CentOS, Fedora and OEL), RPM (SLES and OpenSUSE) to complete the upgrade process.
It is highly recommended to review the FAQ's before beginning the upgrade.

 

 

Instructions on how to complete a procedure

To upgrade a Zend Server cluster:

  1. Upgrade the cluster manager (DEB, RPM (RHEL, CentOS, Fedora and OEL), RPM (SLES and OpenSUSE), Windows).

    Upgrading a Windows installation of  Zend Server is accomplished by going to Zend's download page and selecting the relevant installation. When upgrading Zend Server Cluster Manager, upgrade the cluster manager, and then the nodes. For more information see Upgrading a Zend Server Cluster.

  2. Take one or more nodes off of the load balancer and disable one by one in the Zend Server Cluster Manager Administration Interface.
    Disabling the nodes ensures that your sessions will be transferred to a different node.

Note:

The disabling process performs a Graceful Shutdown, which will increase the load on active nodes during this process since some of the node's sessions are moved to other nodes.

  1. Upgrade the nodes using the relevant procedure:

  1. Once the upgrade is complete, you can enable the nodes and return them to the load balancer.

Note:

Zend Server Cluster Manager upgrade does not affect the PHP operation of nodes, but actions such as Monitoring and Code Tracing will not be available until all the nodes have completed the upgrade process. Therefore, it is recommended to upgrade a chunk of the cluster at a time. You can then return the upgraded chunk to the cluster before beginning the process with the additional nodes. This will avoid PHP/site downtime, but does reduce the capacity of the cluster.

 

FAQ

  1. What is the downtime I should be prepared for?
    If you download all the files/packages in advance, upgrading the nodes will take approximately 10 minutes in Linux and 20 minutes in Windows. (The time may vary according to your system and settings.) The cluster manager's upgrade can take longer as the database is upgraded during the process as well. The time depends on the size of your database and the load on your database machine.
  2. Do I have to update my MySQL?
    The cluster manager upgrade process will take care of your database schema upgrade.

  3. Do I lose any sessions or cached content?
    If you take the nodes off the cluster one by one, you will not lose sessions. Most of the cached contents on the nodes will be lost (opcode cache, data cache, page cache), and the Monitoring and Code Tracing data will be kept in the node along with its references in the MySQL database.

  4. Should I make backups?
    Since it is always safer to make backups, we suggest making a backup of the MySQL database and the cluster manager installation folder. We also recommend making a  backup of your application files and data.

 

 

 

Related Links

Related Links:

Upgrading

 

 

 

© 1999-2013 Zend Technologies, Ltd. All rights reserved.