Setup HAProxy for Cluster
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
Based on the number provided in the preceding screenshot, the corresponding details are as follows:
-
To Enable HA Proxy dashboard configuration
Note: You can enable HAProxy Dashboard if required -
Enabling the Load Balancer for HTTPS applications
Note: You will need to provide the SSL certificate. -
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

Updated 24 days ago
Did this page help you?
