-   Linux - Networking (
-   -   Apache load balancing (

Gil@LQ 01-19-2013 08:35 AM

Apache load balancing

i'm planning to configure load balancing between 2 apache servers running my official web site. I prepared one more web server. Some one say pound, some one say some proxy, can you suggest me best and simple way to do it. One more thing is

if i individually configure the same site on 2 apache servers, pound gateway will manage the reqests as specified in configuration. But what if by chance i forgot to add my changes to website on second server ? Is there any way that i can cetranlly manage my website but runs on two servers, or changes get sychronised on both server.

i believe running one site on two servers manually not smart idea
because website content on the both server shoud be same, but how both servers get sync
Thank you.

acid_kewpie 01-21-2013 03:38 AM

well there are plenty of basic guides of pound and nginx out there, just have a look for them and come back with any specific questions. Personally, from it's prevalence out on the net, I'd suggest using nginx

as for your site, it really depends exactly what architecture you're using, how you want to run it, but a fairly simple / robust solution is to develop the site on a third test system and store the content in svn / git. then you can just check it out on each server to make the site be an exact version pretty trivially.

A simpler angle is merely to maintain a primary and secondary convention on the two servers, and just rsync the content between the two boxes.

Either way, only make changes in one place.

All times are GMT -5. The time now is 02:34 AM.