5 Replies Latest reply on Jan 6, 2007 5:04 AM by Ovidiu Feodorov

    Clustering supported with 1.01?

    Bas Ven Newbie

      I hate to feel this stupid but can't find if clustering is supported with the 1.01 version or if that comes with the 1.2 (or does 1.2 add failover and is clustering already supported).

      With MQ we are looking at how to implement a clustered environment where a service might depent on a queue or topic. Before doing all kinds of work, we are also looking at bypassing MQ altogether and instead ship our product based on jboss 4.05 with messaging replacing MQ.

      With messaging is the provider running on all nodes, or do you need to play with remoting to talk to the one 'master' node? Is there some documentation on this?

      Again sorry for the newbie questions, this, for me, new environment is great but sometimes also rather overwhelming :-)

      Bas

        • 1. Re: Clustering supported with 1.01?
          Clebert Suconic Master

           

          I hate to feel this stupid but can't find if clustering is supported with the 1.01 version or if that comes with the 1.2 (or does 1.2 add failover and is clustering already supported).


          1.0 + Failover = 1.2

          We had 1.2.Alpha with clustering support and 1.2.Beta1 with failover.

          With MQ we are looking at how to implement a clustered environment where a service might depent on a queue or topic. Before doing all kinds of work, we are also looking at bypassing MQ altogether and instead ship our product based on jboss 4.05 with messaging replacing MQ.


          We don't have a final clustering version yet. We are working on to get it out on 1.2.

          With messaging is the provider running on all nodes, or do you need to play with remoting to talk to the one 'master' node? Is there some documentation on this?


          The new version will use JGroups to communicate to each other's nodes on the cluster. When a client perform a connectionFactory.create it will be load balanced among different nodes.

          At this point if you have multiple-servers they are not part of a cluster hence there is no communication between then. (unless you are using 1.2.Beta/Alpha)

          Again sorry for the newbie questions, this, for me, new environment is great but sometimes also rather overwhelming :-)


          NP... we are here to help :-)

          • 2. Re: Clustering supported with 1.01?
            Bas Ven Newbie

            So with 1.01 in a clustered environment can I set up a node to talk to the master node that has the instance running?

            Anyways, any tech papers on how 1.2 is implemented? Does a provider on each node in a cluster run, do queues/topics get distributed? How are JGroups views used; if multiple providers run within a cluster I guess only messages are forwarded to those nodes that have actual clients. A pointer to a paper would be great, otherwise pointing out the main classes would work also, I can get the source :-)

            • 3. Re: Clustering supported with 1.01?
              Clebert Suconic Master

              There is no cluster support on 1.0... only on 1.2... and we are working on it.

              Tim Fox wrote a presentation about Messaging on JBoss World. I guess you could get it from JBoss World website. I don't have the URL now though.

              • 4. Re: Clustering supported with 1.01?
                Bas Ven Newbie

                 

                "clebert.suconic@jboss.com" wrote:
                There is no cluster support on 1.0... only on 1.2... and we are working on it.

                Tim Fox wrote a presentation about Messaging on JBoss World. I guess you could get it from JBoss World website. I don't have the URL now though.


                I am tentatively proposing to my team to use 1.2 (beta). A bit hesitant since the team is not that familiar with Jboss (or J2EE for that matter) so hard to tell when we screw up if it is our fault (90% chance) or a bug we discovered. However my gut feel is that we will otherwise spend at least as much time to get MQ working (played with it a bit and it is not very HA/cluster friendly) and that will sooner or later be throw away knowledge/code. I would prefer to ship with JBoss 5.0 but that is a risk we can't take (our product is planned to ship around the same time).
                So right now my thinking is to build our product on top of 4.0.5 (maybe 4.2) with messaging 1.2 replacing MQ.

                • 5. Re: Clustering supported with 1.01?
                  Ovidiu Feodorov Master

                  Just a word of caution: we're actively coding at 1.2.0.Beta2 as we speak and the head already contains a lot of new functionality and bug fixes in top of Beta1. The most important new addition is failover, which we are finishing coding these days. You could watch the progress here: http://jira.jboss.com/jira/browse/JBMESSAGING-706

                  We will try to help you by making sure Messaging works as expected with your application, but you need to be reasonably cautious: it's still brand new code.