Zend Server Cloud Integration Guide > RightScale Integration > Creating Zend Server Solution Pack

Creating Zend Server Solution Pack

This page will describe how to create a highly available PHP solution in RightScale using Zend Server 6.2.

Importing the Zend Server Template

Before creating the solution pack, you first need to import the Zend Server template into your account.

 

 

Instructions on how to complete a procedure

To import the template:

  1. Log into your RightScale account
  2. In the menubar, go to Design | Multi cloud market place.
  3. Search for “PHP - Zend Server”
  4. Select the Zend Server template you would like to import:
    • PHP - Zend Server with Apache
    • PHP - Zend Server with Nginx
  1. Click Import in the top-right corner of the page.

 

 

Creating the Zend Server 3-Tier Solution Pack

This procedure describes how to create the Zend Server 6.2 solution pack.

 

 

Instructions on how to complete a procedure

To create a Zend Server solution pack:

  1. Create a deployment.
  2. Configure the MySQL database to use with Zend Server. Create a “ZendServer” database with permissions for the Zend server MySQL user.
  3. 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).
  4. Preferably, add a different database service for your applications to separate the applications database from the Zend Server database.
  5. 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).
  6. Add an array with “PHP - Zend Server with Apache” or “PHP - Zend Server with Nginx” template.

  7. Configure it to your liking and change the “voter tag” to “zendarray”.
  8. Set the following inputs (preferably in Deployment level) for basic Zend Server launch:
    1. Zend Server UI password (app_php_zend_server/gui_password)
    2. 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.
    3. Zend Server MySQL username (app_php_zend_server/mysql_user).

    4. Zend Server MySQL password (app_php_zend_server/zend_server_mysql_password).
    5. 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
    6. (Optional) PHP version (app_php_zend_server/php_ver) - Default is 5.4. You can change it to PHP 5.3
  9. 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).
  10. 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.
  11. Launch LBs and DBs.
  12. Manually launch first array instance (or the static server in the deployment if you have one).
  13. 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.
  14. Configure the array and enable it. All settings from the first instance will be propagated to all cluster members.

 

 

Special Cases

 

Read Also

  RightScale Integration