2 Replies Latest reply on Nov 20, 2014 1:27 PM by arun2arunraj

    Is it a good idea to have single loadbalancer to have multiple groups ?

    arun2arunraj

      Hi,

       

      We are having 5 Server-Groups each groups contains 2 nodes each in two different hosts. More over, we are using Apache as our front end.

       

      Right now, I have configured a single loadbalancer in the apache level. My Configuration is following.

       

      Listen 127.0.0.1:7777

      Maxhost 1000

      Maxnode 1000

       

      <IfModule manager_module>

        <VirtualHost 127.0.0.1:7777>

          ManagerBalancerName myservicelb

          ServerName 127.0.0.1

            <Location />

                  Order deny,allow

                  Allow from all

            </Location>

            KeepAliveTimeout 300

            MaxKeepAliveRequests 0

            EnableMCPMReceive

            AllowDisplay On

            <Location /mod_cluster_manager>

                  SetHandler mod_cluster-manager

                  Order deny,allow

                  Deny from all

                  Allow from *.domain.com

           </Location>

           <Location /server_status>

                  SetHandler server-status

                  Order deny,allow

                  Deny from all

                  Allow from *.domain.com

           </Location>

        </VirtualHost>

      </IfModule>


      I have just changed my ip address into loopback address.

       

      Applications are working. But Having no idea whether I have done a good configuration. Is it a good idea to have a single LoadBalancer for a multiple groups. I have deployed 2 or 4 applications in each groups.

       

       

      Regards,

      Arun Raj. R

        • 1. Re: Is it a good idea to have single loadbalancer to have multiple groups ?
          mbabacek

          Dear Arun,

           

          what do you mean by "a group"? If you are suggesting that you have more load balancing groups, it's perfectly fine to have a setup with one load balancer.

           

          K

          • 2. Re: Is it a good idea to have single loadbalancer to have multiple groups ?
            arun2arunraj

            Dear Michal,


            Thank you so much for the quick reply. Really sorry for posting a question in confusing manner. According to me , a group is this link.

             

            We are doing the following things. That is why I have raised the discussion.

             

            ( i ) We are having two or more context deployed in a single JBoss EAP Group.
            ( ii ) In Each JBoss EAP Group, We are having different Context or applications.

            ( iii ) We are using Prefork as a MPM.


            I dont know whether having a single load balancer ( ManagerBalancerName cluster ) is good or not. Please guide me

             

            If you are suggesting that you have more load balancing groups, it's perfectly fine to have a setup with one load balancer. Can you please explain me , I am very new to load balancing with Apache