View Single Post
  #1  
Old 17th October 2006, 06:55
brianwebb01 brianwebb01 is offline
Junior Member
 
Join Date: Oct 2006
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default Loadbalanced Apache Cluster Help

I have been working with the "How to setup a Loadbalanced High-Availability Apache Cluster" tutorial (http://www.howtoforge.com/high_avail...apache_cluster) and I keep having the same problem.

I get the whole thing setup and everything works exactly as the tutorial says it should but I can't ever access apache (port 80) on the virtual IP.

To be sure I wasn't doing anything wrong I went back and configured my router to use the same IPs listed so my setup is 100% exactly like the tutorial, but still I have the same problem.

I can access the apache cluster nodes directly (http://192.168.0.101 or http://192.168.0.102) and I get the default apache screen which works is ok.

If I try to access the virtual IP (http://192.168.0.105) it loads forever before throwing a page can't be displayed error. I can however ping the IP and get a response. If I SSH to the virtual IP i actually get into loadb1.

My guess is that loadb1 is not loadbalancing the HTTP request out to the apache cluster nodes (web1 and web2) and is falling back on itself because some of the ha.d configs have 127.0.0.1 as a fall back. Since I don't have apache installed on the loadb1 it falls back to nothing.

Any help that could be provided here would be greatly appreciated.
Thanks,
Reply With Quote
Sponsored Links