CentOS :: Simple Pound Load Balancer

22 sec read

:: Whatis Pound
Pound Load Balancer – HTTP/HTTPS reverse-proxy and load-balancer

 
:: How to install Pound Load Balancer

yum -y install Pound

 
:: Simple forward all traffic in Pound Load Balancer
Forward all incoming HTTP and HTTPS traffic to 10.10.1.3 in port 80 and 10.10.2.4 in port 443.

vim /etc/pound.cfg

change some like these:

User "pound"
Group "pound"
Control "/var/lib/pound/pound.cfg"

ListenHTTP
    Address 0.0.0.0
    Port 80
End


ListenHTTPS
    Address 0.0.0.0
    Port    443
    Cert    "/etc/pki/tls/certs/pound.pem"
End


Service
    BackEnd
        Address 10.10.1.3 
        Port    80
    End
End

Service
    BackEnd 
	Address 10.10.2.4
	Port 443
    End
End

restarting Pound

service pound restart

 
:: Links
+ Google
+ cyberciti

Leave a Reply

Your email address will not be published. Required fields are marked *