1 Reply Latest reply on Mar 8, 2015 7:44 PM by Jooho Lee

    Configuring cluster in jboss eap6.x

    kiran sharma Newbie

      HI,

      I am looking for configuring( or better need to configure)  a cluster jboss server cluster using Jboss eap 6.x I have a few questions


      Can the standalone servers be configured into a Jboss cluster?

      Can we just copy the standalone-ha.xml into eg server1-ha.xml. server2-ha.xml etc or need to copy the whole standalone directory or need to have Jboss into two separate directories?

      Is the farm directory not there to use with standalone server cluster  and we have to deploy the app separately into each member?

       

      I went through what is available in net. I came across a few articles (here is one which I find useful: http://blog.akquinet.de/2012/06/21/clustering-in-jboss-as7eap-6/), this says, unzipped jboss in two directories, A video by c2b2 consulting just copied standalon-ha.xml. Yet, another document also uses a data directory separately. So I was not sure has must be done. I do not have experience of jboss eap6/jboss 7 AS.

       

      I would appreciate your input

       

      Thanks

      Kiran

        • 1. Re: Configuring cluster in jboss eap6.x
          Jooho Lee Newbie

          Hi kiran,

           

          >>Can the standalone servers be configured into a Jboss cluster?

          ==>Yes, you can use standalone-ha.xml or standalone-full-ha.xml.

           

          >>Can we just copy the standalone-ha.xml into eg server1-ha.xml. server2-ha.xml etc or need to copy the whole standalone directory or need to have Jboss into two separate directories?

          ==> You can use either way but I recommend that you use latter way because sharing directory might cause other issue. Therefore, separating whole directory is simple and clear solution away from unexpected issues.

           

          Is the farm directory not there to use with standalone server cluster  and we have to deploy the app separately into each member?

          ==>No, there is not farm directory. In order to use singleton application such as quartz, using EJB Timer is a good way and then, deploy the application to each member.

                 Refer this url : singleton ejb in the cluster