Configuring the load balancer node

Install and configure the load balancer on the load balancer node before setting up the Codar cluster configured for HA.

  1. Install the load balancer
  2. Configure the load balancer
  3. Generate the SSL certificate required on the Codar node
  4. Start the load balancer node

Installing the load balancer

Install and configure the load balancer following the manufacturer's recommendations. Refer to the manufacturer's documentation for more information.

Configuring the load balancer

The load balancer must be configured to balance the workload among the nodes in the Codar/JBoss cluster.

Configure the load balancer following the manufacturer's recommendations (refer to the manufacturer's documentation for more information) with the following exceptions:

  • By default, Codar supports secure connections using TLSv1.2, and to enable support for TLSv1.2, you must configure the load balancer. Codar configuration can be manually changed to support TLSv1.1 or TLSv1.0, to work with older load balancers or other HTTPS clients that do not support TLSv1.2. However, it is not recommended to enable TLSv1.1 or TLSv1.0 for security reasons.

  • The load balancer ProxyTimeOut value should be set to a higher value than the default value. For more details see the Codar Troubleshooting Guide.

Generating the certificate

If you are configuring a secure connection (using a protocol such as TLS) to communicate from the load balancer to the Codar nodes, you need to generate the load balancer's certificate (referred to as load_balancer.crt). Copy this certificate to the <codar_home>\jboss-as\standalone\configuration (for Windows) or the <codar_home>/jboss-as/standalone/configuration (for Linux) directory on the Codar nodes.

Note: When configuring Codar, if you want to refer to the load balancer system by its IP address instead of its fully-qualified domain name (FQDN), you must generate the certificate with the Subject Alt attribute set to the IP address of the load balancer system.

Starting the load balancer

You can start the load balancer now (following the manufacturer's recommendations) or after configuring the Codar cluster.