Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
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
this can be done with simple load balancing. for http you can use pen, haproxy, or lvs.
I prefer lvs with ldirectord and heartbeat for highavailability but googling any of those should work. pen and haproxy are very easy to use but I would only recommend using it for http.
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe