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.
Please run the tests from http://www.howtoforge.com/high_avail...che_cluster_p3
What are the outputs?
The outputs are exactly the same as what is shown in the tutorial, down to the letter because I matched my IPs to the ones in the tutorial.
I think I solved this. I restarted all 4 boxes and it now works.
|All times are GMT +2. The time now is 18:12.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.