The load balancer is a component of the high-availability cluster of Integration Servers that monitors the health of the primary Integration Server and, if it becomes unavailable, switches over the SVMs and Light Agents to use the reserve Integration Server.
To install and configure a load balancer:
As the load balancer, you can use a solution that meets the following requirements:
For example, HAProxy meets these requirements. The rest of this section describes the procedures for installing and configuring the load balancer using HAProxy 2.8.5 as an example.
Installing the HAProxy solution
You need to install the solution on a Linux device. Installation requires root access.
To install HAProxy, run one of the following commands depending on your operating system:
yum install haproxy
apt-get install haproxy
Configuring the HAProxy solution
To configure HAProxy for use as a load balancer:
frontend VIIS
bind 0.0.0.0:7271
mode tcp
log global
use_backend VIIS
backend VIIS
balance first
mode tcp
option ssl-hello-chk
server VIIS1 {address1}:{port1} check on-marked-up shutdown-backup-sessions
server VIIS2 {address2}:{port2} check backup
where:
{address1}:{port1} is the address and port of the primary Integration Server.{address2}:{port2} is the address and port of the reserve Integration Server.service haproxy restart