We have configured an apache http server instance to serve as load balancer 
between 3 aplications and 6 tomcat nodes, each application served by 2 nodes 
each, using virtual host and mod_proxy_balancer.

This is the file which we use to set the first applicacion "A" to be served by 
nodes sftomcat02 and sftomcat05. (conf.d/vh_a_tramix.conf)

Everything works as expected until this point:
- request are directed to the vh according to the url. 
- request are balanced between tomcat nodes, session aware.
- if a node goes down, after a while, request are redirected to the surviving 
node 

But balancer shows only a balancer (the first one to be read?)

vh_a_tramix.conf follows:
<VirtualHost *:80>
    ServerAdmin anotherguy
    DocumentRoot "/var/www/html"
    ServerName www.a.ar
    ErrorLog logs/www.a.ar-error_log
    CustomLog logs/www.a.ar-error_log-access_log common

    ProxyRequests off

    <Proxy *>
     Order deny,allow
     Allow from all
    </Proxy>

    ProxyPass /balancer-manager !
    ProxyPass / balancer://a/
    #ProxyPassReverse / balancer://a/
    <Proxy balancer://a>
     BalancerMember ajp://sftomcat02:8029 route=tts2
     #BalancerMember ajp://sftomcat05:8059 route=tts5
    </Proxy>
    ProxySet balancer://a stickysession=JSESSIONID  nofailover=Off

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

</VirtualHost>

similar vh are configured (say vh_b_tramix.conf and vh_c_tramix.conf)
but request to balancer-manager on this virtual hosts fails (tomcat node 
responds, so... is not trapped even by the "ProxyPass /balancer-manager !" 
directive).

I have tried to change "ProxyPass /balancer-manager !" to  "ProxyPass 
/balancer-manager2 !" (and changed rest of file 'accordingly') and still fails.

So, I kindly ask:
Is it necesary to change something? (version? config?)
Is this behaviour expected / to be changed?
Which task should I accomplish to solve this is issue (if possible)?
Does anybody have seen it working?

Thanks in advance for any help you can provide.






      Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/

---------------------------------------------------------------------
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-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to