**HAProxy can be set up to distribute load among the Search servers within the Cluster.**

## **HAProxy Installation**

**For CentOS 7** `yum install haproxy`

**For Ubuntu 18.04 ** `apt-get install haproxy`

## **Update Configuration File**

Update the configuration `/etc/haproxy/haproxy.cfg` `vi /etc/haproxy/haproxy.cfg`

739


Based on the number provided in the preceding screenshot, the corresponding details are as follows:

  1. To Enable HA Proxy dashboard configuration Note: You can enable HAProxy Dashboard if required

  2. Enabling the Load Balancer for HTTPS applications Note: You will need to provide the SSL certificate.

  3. For adding the servers into load balancing configuration

## **Start HA Proxy Server**

To start haproxy `systemctl start haproxy`

To get status of haproxy `systemctl status haproxy`

1363