Configuring External Load Balancer

This section is applicable if you are deploying Adeptia Connect on multiples nodes (clustering mode).

To distribute the load and manage incoming users' requests, you must use an external load balancer for Tomcat. For this, you need to configure the IP address of all the instances of Tomcat beneath the load balancer.

You need to configure the following:

  • IP address of all the instances of Tomcat beneath the load balancer.
  • Sticky session: For external load balancer, enable cookie stickiness and use load balancer generated cookie. Set the cookie expiration period to 0 second.
  • Deploy SSL: Steps to configure SSL varies from load balancer to load balancer.
  • Set connection idle timeout to 180 seconds.

Configuring External Load Balancer for Health Checkup

Consider a clustering environment working with two nodes where the Load Balancer sends request(s) to the Adeptia Connect UI.

To setup the health checkup, you need to configure the Load Balancer for all nodes to process the request. To do so, configure your Load Balancer Health Checkup and type the URL in the below format: 

<protocol_name>://<ip_address>:<port_number>/index.html

where,

        <protocol_name> is the name of the protocol you are using. It could be HTTP or HTTPS.

        <ip_address> is the IP address of Tomcat.

        <port_number> is the port number hosting Tomcat. By default, it is 8080 for HTTP and 8443 for HTTPS.

For example, https://192.168.1.14:8443/index.html

The configuration settings of Load Balancer may vary depending upon the Load Balancer you are using.

Following are the steps to configure Load Balancer on Amazon Web Services:

  1. Login to Amazon Web Services.
  2. Under Compute group, click EC2.



  3. Under Resources, click Load Balancers.
  4. Select the load balancer to configure the health check.
  5. Under Health Check tab, click Edit Health Check.
  6. Type /index.html in the Ping Path text box.

     

    The Ping Protocol must be HTTP or HTTPS.

After you have configured External Load Balancer on Connect Portal, you need to configure HTTP/HTTPS URL in the app.connect.domain property:

  1. Go to .../ConnectPortalInstallFolder>/resources_config.
  2. Open application.properties file in the Text Editor.
  3. Set the IP address or domain name of External Load Balancer using http/https protocol to access Connect Portal in the app.connect.domain.



  4. Save the file.
  5. Restart Connect Portal.

See also

Post Installation Steps