2 Replies Latest reply on Jul 17, 2011 5:50 AM by igor_mel

    Clustering in JBoss 5.1

    igor_mel

      Hi all!

       

      I want to create a claster with two remote nodes and configure the load balaning with mod_jk. But after I read the documentation about this process I have some questions.

       

      After making two nodes, in my main machine (wich is the 1st node) I install Apache server and configure it with mod_jk. The request from client comes to listener in Apache and then redirects to 1st or 2nd node. If the 2nd node crush - no problem. But, if the 1st node crush, then the load balancer crush too and the 2nd node couldn't work as cluster-node and the sense of cluster will be lost. Am I understand right?

       

      Thanks for your attention!

        • 1. Re: Clustering in JBoss 5.1
          mikefinn

          That is correct. Apache will be a single point of failure in the scenario you describe. To eliminate that, you would want to provide HA at the apache tier. This is generally done via a content switch (BigIP, LocalDirector, Cisco CSM, etc), where the switch provides a virtual IP/host and the routes request to the apache tier, according to the configured policy.

           

          You could also achieve via DNS round robin across two apache servers, but the outage detection may take longer due to DNS TTL.

           

          Mike

          • 2. Re: Clustering in JBoss 5.1
            igor_mel

            Thank you Mike!