Loadbalanced Apache Cluster Help

Discussion in 'Installation/Configuration' started by brianwebb01, Oct 17, 2006.

  1. brianwebb01

    brianwebb01 New Member

    I have been working with the "How to setup a Loadbalanced High-Availability Apache Cluster" tutorial (http://www.howtoforge.com/high_availability_loadbalanced_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,
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. brianwebb01

    brianwebb01 New Member

    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.
     

Share This Page