3 Replies Latest reply on Oct 25, 2016 8:02 AM by foutjo

    Cluster never finding 2nd server on domain member

    foutjo

      Currently have a jboss cluster setup.

      I have 2 hosts setup running 2 servers each.

       

      For some reason I cannot get it to go to the 2nd servers on one of the hosts.

      Transactions get sent to 2 servers on host 1 but only goes to server 1 on host 2 never getting to server 2.

       

      Any ideas what I might be doing wrong?

       

      Any help is greatly appreciated.

        • 1. Re: Cluster never finding 2nd server on domain member
          pjhavariotis

          Have you checked the mod_cluster configuration?

          In theory, mod_cluster selects the node for a request based upon their load factor while also factoring in the number of requests they've recently received(its elected count). Please check the following URL Chapter 3. native configuration for more info.

          1 of 1 people found this helpful
          • 2. Re: Cluster never finding 2nd server on domain member
            pjhavariotis

            For round-robin type traffic, you can try the SimpleLoadBalanceFactorProvider which provides a static load balancing implementation.

            1 of 1 people found this helpful
            • 3. Re: Cluster never finding 2nd server on domain member
              foutjo

              Thanks for the info.

               

              We have a large system that is using a thick client not an http client.

              When trying to work with mod_cluster a while back it seemed that this did not work very well with thick clients only https.

               

              I am currently using the supplied RemoteEJBClient and the RoundRobinClusterNodeSelecter code.

              I have a 2 servers running on the same machine as the domain controller and it seems to find the 2 servers fine.

              But on other machines that are slaves that have 2 servers running it only seems to go to first server defined.