4 Replies Latest reply on Jul 20, 2010 10:04 AM by Jean-Paul DZISIAK

    Possibility of mixing load balancers ?

    Jean-Paul DZISIAK Newbie

      Hello,

       

      Is it possible to mix different balancers in the same VirtualHost. I mean using mod_cluster with proxy_balancer as follow:

       

       

      <VirtualHost *:80>
           ServerName  XXX.XXX.XXX
          .....................................
           <Proxy balancer://ags_cluster>

       

               # You can load balance over just one server and still utilize the benefit of the caching

               BalancerMember http://gis2008-gpu1:8399 route=ags_worker1 loadfactor=50 keepalive=on

               BalancerMember http://gis2008-gpu2:8399 route=ags_worker2 loadfactor=50 keepalive=on

               ProxySet lbmethod=byrequests

          </Proxy>

          .....................................

       

          <Location /arcgis/>

              ProxyPass balancer://ags_cluster/arcgis/

          </Location>

       

          .....................................

          # === Everything else should go to the JBoss balancer

          ProxyPass /  balancer://jboss_cluster  stickysession=JSESSIONID  nofailover=Off

          .....................................

       

      Thanks,

      JeP