2 Replies Latest reply on Aug 1, 2011 3:02 AM by myjboss2020

    how to set up a cluster

    myjboss2020

      Hi Guys..I'm looking for some step-by-step instructions to set up a JBoss AS cluster on my local development box. I'm using JBoss Dev studio 3.0 and JBoss AS 5 (JBoss [EAP] 5.0.0.GA (build: SVNTag=JBPAPP_5_0_0_GA date=200910202128 to be precise).

       

      I know there's a LOT of info in JBoss Clustering guide..but couldn't find step-by-step instructions..I'm not after detailed but even high level would be helpful.

       

      Could you guys point me to any resources? links/blogs etc?

       

      Cheers.

        • 1. Re: how to set up a cluster
          wdfink

          It is very simple.

          Start a JBoss with the 'all' configuration (option -c all). If you start a second one in the same way they will build a cluster.

           

          Check that are no firewalls in between and both are in the same subnetwork.

          If you want to separate cluster you should use "-g <clustername> -u <multicast-ip> -m <multicast-port>".

          If you start two JBoss instances at the same system you can use the '-b' option to bind against a special IP or you can set the port bindings, see the wiki for options.

          • 2. Re: how to set up a cluster
            myjboss2020

            Thanks for your response. I'll try your suggestions out on my local machine..

            but I came across this

            http://community.jboss.org/message/207831#207831

             

            Do we need to change all these port numbers and stuff? or can I simply run two instances with -c and then it'd form a cluster.

             

            pls let me know your thoughts.

             

            Cheers,