Thursday 12 September 2013

Pound Load Balancer in CentOS

Pound Load Balancer



> Suppose you have two apache running on port 81 and 82 respectively.

> Following steps may help you to build software load balancer on top of apache

> This is very basic setup, you need to follow complete documentation for more functionality.


--------------------------------------------------------------------------------------------------------------------------------------------------------

#cd /softwares/

#wget   http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

#rpm -ivh epel-release-5-4.noarch.rpm

#yum --enablerepo=epel -y install Pound

#vi /etc/pound.cfg

User "pound"

Group "pound"

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

LogLevel 3

Alive 30

ListenHTTP

Address 0.0.0.0

Port 80

End

Service

BackEnd

    Address 127.0.0.1

    Port 81

End

BackEnd

    Address 127.0.0.1

    Port 82

End

End

#/etc/init.d/pound restart

#chkconfig pound on

No comments:

Post a Comment