The purpose of a Load Balancer is to distribute TCP/IP connections to multiple servers within your network.  This is in large part, designed to optimize the performance and resource use of your Cloud Services as it helps improve response time and avoid overworking any one resource limit.  It also allows for failover in the event of a down machine.  While there are many ways to configure a Load Balancer, and they can be edited and adjusted to ones individual need, you can setup and install Load Balancers on from your Cloud Portal by the following:

  1. Login to your Cloud Dashboard.

  2. Select the 'Administration' tab on the top left of your main window and then double-click your virtual datacenter.

  3. On the next screen, select the 'Edge Gateways' tab then right-click your edge or select it (it will be highlighted in blue), then select the gear icon to pull down the options.  Choose 'Edge Gateway Services.'

  4. Select the 'Load Balancer' tab on the top of the editor, then to add a new load balancer, select the 'Add' button.  If you have an existing load balancer you need to edit, simply select the balancer, and press the 'Edit' button instead. 

  5. First, you will need to select the name of the load balancer you would like to use, along with a description to record which tasks this balancer is performing.  Once you have that entered, that information, select the 'Next' button.

  6. Next is to configure the services of the load balancer.  You will be able to choose to enable HTTP, HTTPS, and TCP services, along with which port they will be assigned to.  When selecting which Balancing method to use, there are 4 different options to choose from:

    Round Robin - The most commonly used Balancing Method.  Round Robin distributes processing time evenly across all servers, helping optimize each server's performance.
    IP Hash - Selects a server based on a hash from the source IP and destination IP address of each packet.
    Least Connected - Assigns new processes to the server with the least amount of active connections at the time.
    URI - Used to connect to a remote server/location and have that server/location assist with load distribution.  The URI can also be another machine in your vApp.

  7. Once you have selected which protocols the Load Balancer will use, you will have the option of monitoring specific ports at different times to check to see if a machine is offline or online.  Select 'Next' once the information matches what you are looking for.

    1. HTTP - HTTP GET method is used to detect server status. Only responses 2xx and 3xx are valid. Other responses (including a lack of response) indicate a server failure. URI used for HTTP GET requests can be specified in the text field.
    2. SSL Tests servers using SSLv3 client hello messages. The server is considered valid only when the response contains server hello messages.
    3. TCP - TCP connection check

  8. Next is to allow you to provide other back-end servers access.  To provide access to another device, select the 'Add' button. 

  9. A popup window will appear where you can enter the IP address of the server to have access.  Ratio numbers allow you determine the priority that server has when requests are sent.  Setting a ratio weight to 0 will disable the member.  You can also select the port, and monitoring port of the member.  Once filled out, press 'OK' to add the member.

  10. After finishing everything else, you will want to review the settings to make sure everything with your Load Balancer is correct.  Once everything is in order, select "Finish" to save all changes.