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

Changing Cluster Configurations

Cluster configurations determine the behavior of all the Servers that were added as to Zend Server Cluster Manager. When changing a setting in Zend Server Cluster Manager such as a directive's value or loading an extension, once your PHP is restarted all the servers in the cluster will be modified accordingly.

Restart PHP Message

The Restart PHP message appears whenever a change is made to settings in your php.ini file. in order to apply the settings click the "Restart PHP" button. The changes will be applied to php.ini file on which Zend Server is running.

The Restart PHP message appears whenever a change is made to setting in your clusters php.ini file. In order to apply the settings go to Cluster Setup | Servers, select the nodes to be restarted and click Restart Selected or  Restart All to reset the PHP in all nodes. The changes will be applied to the php.ini files on your selected node(s) that are associated with this cluster.

 

If you are planning to make comprehensive changes and you are not sure what the outcome will be in terms of performance and behavior or you want to make changes to a cluster running a PHP application in production. The safer alternative is to apply the changes in a staging server, test it and then propagate the changes to the rest of the cluster. To do this you detach a server from the cluster, which will release the Administration Interface. Change the settings and then re-attach the server. When re-adding the server to the cluster use the option to propagate the server's settings to the rest of the cluster.

Changing Configurations from the Zend Server Cluster Manager Administration Interface

This procedure describes how to change your cluster's configurations. Any changes that you do in Zend Server Cluster Manager will be applied to all the servers in your cluster without exception. This procedure is more suited to changing configurations to an established cluster although its not mandatory. If you are in the middle of adding servers it is preferable to first add all the nodes and then modify the configuration once. Alternatively, you can add a single server first and change all the settings and only then add the additional servers and propagate that server's settings to the rest of the cluster as described in Adding_a_Server.

 

 

Instructions on how to complete a procedure

To change cluster configurations:

  1. In the Administration Interface, edit your settings as necessary.
  2. After making the first change a message will appear asking to restart the PHP. As long as you click save in each page you can ignore this message until you have completed customizing your configurations.
  3. As soon as you have finished, click go to the Cluster Setup | Servers tab and select the nodes to be restarted. Click Restart Selected or Restart All to restart the PHP in all nodes.  

The changes will be applied to all the servers belonging to the cluster.

 

 

Related Links

Related Links:

Cluster Management

Servers

 

 

 

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