|
To create a Zend Server solution pack:
- Create a deployment.
- Configure the MySQL database to use with Zend Server. Create a “ZendServer” database with permissions for the Zend server MySQL user.
- If you choose to use RightScale’s, add two servers from this template (Master and slave): https://my.rightscale.com/library/server_templates/Database-Manager-for-MySQL-5-5/lineage/13699 (v13.4.1 - revision 126).
- Preferably, add a different database service for your applications to separate the applications database from the Zend Server database.
- Configure your Load Balancing service. If you choose to use RightScale’s service, add two of the following template: https://my.rightscale.com/library/server_templates/Load-Balancer-with-HAProxy/lineage/9103 (v13.2.1 - revision 155).
-
Add an array with “PHP - Zend Server with Apache” or “PHP - Zend Server with Nginx” template.
- Configure it to your liking and change the “voter tag” to “zendarray”.
- Set the following inputs (preferably in Deployment level) for basic Zend Server launch:
- Zend Server UI password (app_php_zend_server/gui_password)
- Zend Server MySQL address (app_php_zend_server/mysql_address) - The host address of the MySQL DB Zend server will use to store its data.
Zend Server MySQL username (app_php_zend_server/mysql_user). - Zend Server MySQL password (app_php_zend_server/zend_server_mysql_password).
- Zend api key hash (app_php_zend_server/api_key) with 64 random alpha numerical characters. This input is used to authenticate against Zend Server gui
- (Optional) PHP version (app_php_zend_server/php_ver) - Default is 5.4. You can change it to PHP 5.3
- Optional
Add one Zend server template server to your deployment to serve as a static server (you can set it up later as the only server for accessing the Zend Server UI).
- Select one of the following firewall options:
- Keep the cloud firewall open (i.e. all ports open in Amazon security group for the servers), and allow the instance’s chef recipes to handle the firewall rules.
-OR-
- Disable the instances firewall by setting the “Firewall sys_firewall/enabled” input to “disabled” in the deployment and set the specific cloud firewall yourself according to Ports and Services.
- Launch LBs and DBs.
- Manually launch first array instance (or the static server in the deployment if you have one).
- After the server is operational, log in to the Zend Server UI in http port 10081, or https port 10082, and configure the settings. You can change any Zend Server system and PHP configurations, deploy applications, etc.
- Configure the array and enable it. All settings from the first instance will be propagated to all cluster members.
|