To set up HA, you must first configure the LoadMasters and then create an Enhanced Load Balancer in Open Telekom Cloud and add both LoadMasters as backend servers. For further details, refer to the sections below.

Configure the LoadMasters

To set up a HA configuration, follow the steps below:

  1. First, deploy and license both LoadMasters following the steps in the Deploy a LoadMaster in the Open Telekom Cloud Platform section.
  2. Access the LoadMaster using the EIP.
  3. In the main menu, go to System Configuration > OpenCloud HA Parameters.

  4. Select First HA Mode in the OpenCloud HA Mode drop-down list.
  5. Select the desired option in the Switch to Preferred Server drop-down list:
    • No Preferred Host: Each unit takes over when the other unit fails. No switchover is performed when the partner is restarted.
    • Prefer First: The HA1 (active) unit always takes over. This is the default option.
  6. Enter the internal address of the standby LoadMaster unit in the Partner Name/IP text box and click Set Partner Name/IP.
  7. Enter 8444 as the Health Check Port and click Set Health Check Port.
    Note: The Health Check Port must be set to 8444 on both the active and standby units for HA to function correctly.
  8. If using a multi-arm configuration, select the Health Check on All Interfaces check box.
    Note: If this option is disabled, the health check listens on the primary eth0 address.
  9. Then, access the UI of the standby unit. Complete the same steps above in the standby unit but select Second HA Mode as the OpenCloud HA Mode instead.

Create an Enhanced Load Balancer

Now that the LoadMaster settings are configured, you must create an Enhanced Load Balancer in Open Telekom Cloud and add both LoadMasters as backend servers. To do this, access the Open Telekom Cloud workspace and follow the steps below.

  1. Click Elastic Load Balancing.

  2. Click Create Enhanced Load Balancer.

  3. Select the appropriate Region.

  4. Complete the relevant settings, for example, select the correct VPC and Subnet.

  5. Select either a new or existing EIP.
  6. If you selected New EIP, set the EIP Type to Dynamic BGP and set the Bandwidth to the required rate.

  7. Set the Name to be used for the Enhanced Load Balancer.
  8. Click Create Now.
  9. Review the configuration details and click Submit.

  10. Click the Name of the ELB to configure it.

  11. Select Listeners.
  12. Click Add Listener.

  13. Specify the Frontend Protocol/Port.
    Note: Set up the listener to use the same protocol and port as the Virtual Service in the LoadMaster configuration.
  14. Click Next.
  15. Either create a new backend server group or use an existing one. If creating a new one, follow the steps below. If you are using an existing backend server group, skip to the following step: Ensure Enable Health Check is enabled.

  16. Set a Name for the backend server group.
  17. Select HTTP as the Backend Protocol.
  18. Select the appropriate Load Balancing Algorithm.

  19. Ensure Enable Health Check is enabled.
  20. Ensure to specify HTTP as the Protocol and 8444 as the Port.
  21. Click Finish.

  22. Select Backend Server Groups.

  23. Select the relevant backend server group and click Add.

  24. Select the relevant backend servers (LoadMasters) from the list. You can select multiple servers.
  25. Click Next.
  26. If you selected multiple servers, enter 80 in the Batch Add Port field.
  27. Click Finish.

The servers are added and it will take a few minutes for the health check result to normalize.

Note: It is expected that the Health Check Result for the HA active LoadMaster will be Normal and the HA standby will be Abnormal.

After successfully following these steps, HA configuration is set up and you can confirm this by connecting to the Public IP (EIP) of the Enhanced Load Balancer using a browser http://<EIPofEnhancedLoadBalancer> and this should operate based on the Load Balancing Algorithm specified when following the steps above.