975 pts.
 Fault tolerance on a web server
What is the best way to have fault tolerance on our web server? We have a few backup machines all identical that get replicated via scripts every 10 minutes. How cab we automatically fail over to another already configured box if the primary production machine fails? Is this some DNS magic?
ASKED: May 9, 2011  7:41 PM GMT
UPDATED: May 22, 2011  7:44:11 AM GMT
63,630 pts.

Answer Wiki:
Your best bet would be to have a load balancer setup which sends the commands to all the web servers which are online. If the server is offline it is taken out of the pool automatically.
Last Wiki Answer Submitted:  May 22, 2011  7:44 AM (GMT)  by  Mrdenny   63,630 pts.
To see other answers submitted to the Answer Wiki View Answer History.
Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _




 

Your DNS record online points to your router. The router directs visitors to the IP address of your internal web server. So, if you change the IP address of one of the backup boxes to the address that your web server should be, you would have your failover. So, you would probably want some script to check (via ping, maybe) to see if your web server is alive, and if not, then change the IP address.

Maybe someone else will have a simpler solution?

 4,975 pts.

 

[...] 5. A member wondering how to handle null value in COBOL/400 is getting some help from TomLiotta, CharlieBrowne, and MDratwa. Jump in with your own expertise! 6. Koohiisan and mrdenny have some tips on fault tolerance on a web server. [...]