3 Replies Latest reply on Dec 19, 2013 1:50 AM by rhusar

    Clustering 15 jboss7

    ar30067

      Hello

      I need to clustering 15 jboss 7 (use HAProxy for load balancing) and need for the first step session replication . i try to use AS7 Cluster Howto - JBoss AS 7.1 but i think it is like failover mechanism not clustering for load balancing ! .

      is it possible to help me ?

      thanks

       

        • 1. Re: Clustering 15 jboss7
          wdfink

          What you need to load balance?

          If you are looking for http request, you need to have an LB in front of the JBoss instance to do the work, i.e. Apache.

          • 2. Re: Clustering 15 jboss7
            ar30067

            Thanks for your answer.

            No , My problem is not load balancing . My problem is how can i cluster these 15 app server in first step for "session replication" and second for HornetQ (not important for now) .

            by example think i setup my load balance and each request are route to  one of my server and all server have some request if one of my server down all request of these server route to another server without loosing their session(session replicated) .

            thanks

            • 3. Re: Clustering 15 jboss7
              rhusar
              My problem is how can i cluster these 15 app server in first step for "session replication" and second for HornetQ (not important for now) .

              Well, you need to start an HA profile (e.g. standalone-ha.xml) which by default uses multicast for communication, make sure to enable it on your network. Your applications need to be distributable (<distributable/> tag in web.xml).

               

              Also make sure for your balancer to use sticky-sessions.

               

              For HornetQ questions, please post to HornetQ forum, since these are different concepts.