Article ID: 112757, created on Nov 8, 2011, last review on May 11, 2014

  • Applies to:
  • Operations Automation 5.5

Information

Parallels Operations Automation Cloud Infrastructure module provides Basic Load Balancer feature based on haproxy solution. By default provider needs to perform certain actions to prepare Load Balancer servers provisioning to customers.

  1. Create CentOS 5 x86_64 container:

    • Go to Parallels Operations Automation > Hosting CP > Hosting > Cloud Infrastructure > Servers and click New Server;
    • Enter all parameters according to your needs, but make sure that the following requirements are met:

      Operating System: Free Linux

      I will manage the OS kernel: Unchecked

      Amount of IPv4 addresses: 1

    • Select "Storage Type" = "Network Storage" if you want that load balancers are created on network storage.
    • Proceed with the wizard.
    • Start the CI Server once creation is completed.
  2. Install haproxy package to the newly created Load Balancer container:

    • Log on to the container;

    • Download haproxy package from POA repository:

      [root@localhost ~]# wget http://${YOUR_POA_CORE_IP}/tarballs/CentOS/5/x86_64/YUM/haproxy-1.4.15-25.i386.rpm
      
    • Remove Apache:

      [root@localhost ~]# rpm -e httpd
      
    • Install haproxy RPM:

      [root@localhost ~]# rpm -ivh haproxy-1.4.15-25.i386.rpm
      Preparing...                ########################################### [100%]
      1:haproxy                ########################################### [100%]
      
  3. Disable other network services except for haproxy to make the Load Balancer secure.

  4. Create image from CI server:

    • In Hosting CP > Hosting > Cloud Infrastructure > Servers click on server name;
    • Stop the server and click Make Image;
    • Enter image name and description;
    • Proceed with the wizard.
  5. Make the image as default load balancer:

    • Go to Hosting CP > Hosting > Cloud Infrastructure > Images;
    • Click Set as HTTP Load Balancer link near the newly create image name.
  6. [Optional] It is safe to remove initial CI Server the image was created from.

Now customers will be able to create HTTP Load Balancers in their CCP from the image.

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF