LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 10-31-2008, 02:26 AM   #1
barunva
LQ Newbie
 
Registered: Mar 2007
Location: Bangalore
Posts: 4

Rep: Reputation: 0
Question Redirecting HTTP request to another webserver


Hi All,

Can you please answer my following question:

I have two web servers; one is based on Linux Operating System and the second one is based on AIX OS, and both are geographically apart, with no NFS (Network File System) between them.

Suppose the client makes a request to one of the web servers to undertake his task. But when one of the servers is down, the job has to be redirected (either IP level with packet rewriting or at HTTP level or any other method) to the other web server.

Again, I may want to redirect any client request from one server to the other, maybe based on load or based on any other logic


My questions are:
i) Is it possible to implement this model (ie, one: redirection when one
server is down, and the second: redirection based on some other logic such
as load) using the Apache Tomcat Server. If it is possible with Tomcat, please help us to know more details as to how this can be implemented by
providing an appropriate link

ii) If the Server-1 is down which component will take care of
redirecting the job into next nearest Server

Thanks and Regards,
B.Arunachalam
 
Old 10-31-2008, 08:25 AM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
How about DNS?
http://en.wikipedia.org/wiki/Round_robin_DNS
 
Old 11-02-2008, 10:17 PM   #3
barunva
LQ Newbie
 
Registered: Mar 2007
Location: Bangalore
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the reply.
but it has many drawbacks.....
 
  


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
OpenVPN: not redirecting http traffic jp-lack Linux - Networking 2 10-22-2008 05:55 PM
Redirecting http to https on virtual server Oobydoobywapwap Linux - Security 1 01-25-2008 04:02 PM
Redirecting request to port 443 to directly access the internet Elijah Linux - Networking 9 05-23-2006 01:00 AM
redirecting http server xowl Linux - Networking 3 06-18-2005 04:25 AM
Can't see WebServer from outside... Can see WebServer locally as http://localhost friddick Linux - Networking 13 08-19-2003 06:27 PM


All times are GMT -5. The time now is 01:14 PM.

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