LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-01-2005, 06:10 PM   #1
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Rep: Reputation: 30
Post Multiple Apaches


I am trying to get two apache web-servers to back each other up: that means that if one server goes down, for whatever reason, the other server takes over the work and the users don't even notice the change.

1) How could i get two apache servers to share the load?
2) How can i get one apache to do the work alone, if one goes down?

Thanks for helping!!
 
Old 11-02-2005, 12:53 AM   #2
vireshwali
Member
 
Registered: Sep 2005
Posts: 67

Rep: Reputation: 15
what u wanna do is typically termed as load balancing. It doesn't necessary mean that if one web server goes down.....
but which ever of the web servers (more than 1) are free to handle the incomming request are allowed to process it completely transparently to the end user. This palce is too short for a complrehensive discussion on lOad balancing.

For a start you can have a look at http://httpd.apache.org/docs/2.1/mod/mod_proxy_balancer.html

For detailed look at it i suggest you invest some time in apache docs, as load balancing is a boon if done well and a nightmare if taken lightly.
 
Old 11-02-2005, 08:58 AM   #3
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Original Poster
Rep: Reputation: 30
How do I manage to implement fault tolerance with two webservers?

How would i make sure that both apache servers always have the same data.
 
Old 11-03-2005, 08:08 AM   #4
pk21
Member
 
Registered: Jun 2002
Location: Netherlands - Amsterdam
Distribution: RedHat 9
Posts: 549

Rep: Reputation: 30
You can also check keepalived for loadbalancing. Maybe rsync to make sure the data on the servers is the same
 
Old 11-03-2005, 08:19 AM   #5
vireshwali
Member
 
Registered: Sep 2005
Posts: 67

Rep: Reputation: 15
hello folks,
are we talking about 2 web servers running on one box

or

two boxed with a wed server each, hfeeding the same doc root copies.

i thought we were dealing with the first case.......
 
Old 11-03-2005, 08:53 AM   #6
wwnexc
Member
 
Registered: Sep 2005
Location: California
Distribution: Slackware & Debian
Posts: 264

Original Poster
Rep: Reputation: 30
We are talking, of course, about two boxes. If one box fails, for some reason, this box should take over all the web traffic. If both boxes are up, they should share the load.
 
  


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
parsing apaches errorlogs pollo Linux - Newbie 0 03-29-2005 05:18 AM
Need an advice for: Multiple Disks&Multiple Penguins and a XP :) thesappho Linux - Newbie 1 12-15-2003 03:13 PM
How to kill apaches performance purposly. jon_k Linux - Software 8 07-28-2003 11:26 PM
Multiple Apache Sites, on Multiple IP's, on Same Box?? RickyJ Linux - Software 0 06-19-2003 09:50 AM
WHOA silver any apaches here wass29 Linux - Software 3 02-07-2003 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration