3 Replies Latest reply on Oct 30, 2007 3:43 PM by jboss_cody

    Multiple Clusters -Load balancing response to previous threa

    jboss_cody

      Hello,

      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=121694

      I have a question somewhat related to this thread, concerning "horizontal" clustering. As of now, I have a cluster containing 3 nodes. (node1,2,3 respectively) I need to duplicate this cluster yet again with 3 more nodes. (e.g. node4,5,6). The issue I am having is concerning the communication between my TWO clusters. (cluster1 = node1,2,3; cluster2=node4,5,6)

      How do you configure the session replication/fail over between multiple "horizontal" clusters?

      It is my understanding that the JGroups configuration is only responsible for communication among nodes within a cluster. I have read the Server_Configuration_Guide.pdf, yet it is not clear to me how a given cluster communicates with another cluster.


      If anyone could just shed some light I would be most grateful.
      Please Help,
      Thanks...

        • 1. Re: Multiple Clusters -Load balancing response to previous t
          brian.stansberry

          JBoss has no built-in mechanism for exchanging state between 2 clusters. Do you really need 2 three node clusters? Can you use 1 six node cluster?

          • 2. Re: Multiple Clusters -Load balancing response to previous t
            jboss_cody

             

            JBoss has no built-in mechanism for exchanging state between 2 clusters.


            That being said, session replication is not attainable among multiple clusters?

            I know I may be re-stating the original question, but I want this to be clear...

            I do have the option of 1 -six node cluster, however, I needed this information to determine whether that is the route I need to take. (does that make sense?)

            You will have to forgive me, I am quite new to the concept of clustering. Could you maybe elaborate some on the complete capabilities of session replication that Jboss AS 4.2.1 has?

            Also, FYI, I am using Apache - mod_jk as my load-balancer for each cluster. Is there a way to obtain similar communication using them?

            Thank you so much for the reply.


            • 3. Re: Multiple Clusters -Load balancing response to previous t
              jboss_cody

              Ok,

              I've done some reading, & I understand now that multiple clusters cannot exchange state. You were exactly correct when you suggested a 6 node cluster. However, I need communication in this cluster to be both vertical and horizontal. (Among all nodes) If I am not mistaken, this is the default configuration anyway... Is this right?

              Also, do you have any advice on optimizing the communication between nodes? I have read the suggestions in the Server_Configuration_Guide, but I was hoping you may have a little more than that...

              Thanks in advance for your reply!