Friday, December 20, 2013

Web Server Load Balance.

www.unixbabuforum.inWe have Redhat El4 installed webserver(Apache 2, Php 5 & MySQL 5). In that we have hosted one website, due to high traffic the website getting very slow. So that we would like to setup the Load Balance server but I don't have any idea regariding this, Can you please tell me how to setup the Load balance with two server. 

Is there any good free software loadbalance available or any other way available


www.unixbabuforum.inFor load balancing, you can get good hardware - dedicated just for load 
balancing

www.unixbabuforum.inTake two systems. on each system hav apache n tomcat. so two apache n 
two tomcat. each apache connects to tomcat on same system through 
worker.properties file using mod_jk settings in apache. in 
worker.properties. conect to same system tomcat. v can connect to diff 
list of tomcat, n in round robin fasion load balanc can be done. in 
apache hav all static content. in 
tomcat hav jsp jar, classes.. u can buy load balancer hardware also


www.unixbabuforum.inThere is a good project, that i have implemented in the past for a big 
customer, that is UltraMonkey. 
http://www.ultramonkey.org 
Ultra Monkey makes use of The Linux Virtual Server (LVS) to provide 
fast layer4 load balancing and can be used to build highly scalable 
and highly available network services, such as scalable web, cache, 
mail, ftp, media and VoIP services. 
Ultra Monkey should work on any Linux Setup that is capable of running 
a 2.4 or 2.6 kernel but there is a specific package also for Red Hat 
Entreprise Linux. 


www.unixbabuforum.inDid you try round robin DNS entries for your webserver? 
It needs no new hardware, but might not meet your application 
needs in terms of compatibility with complex applications. 

The typical way to setup round robin is to go to your DNS server, 
and simply list more than one address for your Webserver. 

There are some problems with simply handing out each address 
in turn in a circular manner. Here is an article, and a reference 
to a PERL DNS that also functions as a load balancer. 

http://en.wikipedia.org/wiki/Round_robin_DNS 
http://www.math.utah.edu/~pocock/lbnamed.html 

Its a good idea to give this some thought, as merging higher 
speed response, and high availability, is an interesting thing.Merlin5x5


0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM