Network Scenario: LB1: 192.168.10.10 LB2: 192.168.10.11 Virtual IP: 192.168.10.12 APP_Server1: 192.168.10.20 APP_Server2: 192.168.10.21 Load Balancing: STEP 1 - Install HAProxy: HAProxy package is available under default yum repository for CentOS, Redhat systems. Use the following yum package manager command to install HAProxy on your system. # yum install haproxy STEP 2 - Configure HAProxy : Update your HAProxy configuration file /etc/haproxy/haproxy.cfg as per your requirement, You may also use below given configuration file as an example of setup and modify it. Keep the config file same of both servers i.e. LB1 and LB2. ----------------------------------------------------------------------------------------------------------- global log /dev/log local0 log /dev/log local1 notice ...
This blog discusses the new technologies, giving in-depth reviews, analysis and constructive criticism. Also It will help the Techs and Gurus in most configurations and troubleshooting. This blog will contain major technology issues and problems tech face while working in production.