Load Balancing and Failover

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have Apache Http Server  v2.2.3 configured as a reverse proxy with load
balancing to a WADI clustered application on Geronimo 2.1.5.  Load balancing
and failover works fine if one of the Geronimo instances fail.  However, if
only the application fails or is stopped I get a 404 error and failover does
not work? Apparently, Http server sees that the Geronimo server is up so
does not failover

Here’s the LB config:

<IfModule mod_proxy_balancer.c>
     <Proxy balancer://wadicluster>
           Order deny,allow
           Allow from all
         BalancerMember ajp://localhost:8209/NodeDetection loadfactor=50
route=node1
         BalancerMember ajp://localhost:8409/NodeDetection loadfactor=50
route=node2
     </Proxy>
     ProxyPass /NodeDetect balancer://wadicluster  stickysession=JSESSIONID
               
     ProxyPassReverse /NodeDetect ajp://localhost:8209/NodeDetect
     ProxyPassReverse /NodeDetect ajp://localhost:8409/NodeDetect

    <Location /balancer-manager>
         SetHandler balancer-manager
         Order Deny,Allow
         Allow from all
    </Location>

</IfModule>

I need to make this work with an application failure as well as a server
failure.  Any ideas?  Thanks. 
-- 
View this message in context: http://old.nabble.com/Load-Balancing-and-Failover-tp29328240p29328240.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux