LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-19-2013, 07:35 AM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 266

Rep: Reputation: 1
Apache load balancing


hi,

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
Quote:
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.
Quote:
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.
 
Old 01-21-2013, 02:38 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,386

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
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 http://library.linode.com/web-server...guration/basic

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load Balancing in Apache Server uk.engr Linux - Newbie 3 05-24-2012 03:26 PM
Load Balancing - ipvsadm with apache (mod_proxy) to another apache not working romeo_tango Linux - Server 1 01-12-2012 03:21 AM
Conceptual details about apache load balancing ganesh_gore Linux - Server 0 06-22-2010 03:49 AM
i need help for load balancing setting apache web server gnu_gcc Linux - Server 2 06-23-2008 03:06 PM
Load Balancing software for apache coolguy_iiit Linux - General 3 08-06-2006 01:31 PM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration