Hello Team,

I am trying to achieve load balancing with proxies modules.

Following are the configuration of proxy module.

LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
LoadModule proxy_balancer_module modules/mod_proxy_balancer.so

<IfDefine SSL>
   Listen server_name:443

   <VirtualHost _default_:443>

      <Proxy balancer://tomcatservers>
         BalancerMember ajp://server_name:8009 route=tomcat4 retry=60
         BalancerMember ajp://server_name:8010 route=tomcat5 retry=60
      </Proxy>

      <Location /*>
         Allow From
 All
         ProxyPass balancer://tomcatservers/* stickysession=JSESSIONID 
nofailover=off
      </Location>


and tomcat server.xml contain following entry.

Tomcat5

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat5">

Tomcat4

<Engine name="Catalina" defaultHost="localhost" jvmRoute="tomcat5">


kindly assist me to acheive loadbalancing using proxies modules.


      

Reply via email to