6 Replies Latest reply on Feb 26, 2013 6:52 AM by hitesysony87

    How to add Slave Node dynamicaly in cluster ?

    hitesysony87

      Hi all,

      I have a cluster of two Nodes N1 ,N2.

      Here N1 is domain controller.

      I have deploy .war through "Web Interface" into the cluster of (N1+N2).

      Cluster work properly .

      But when i  add new slave Node N3 to the  cluster of (N1+N2) the cluster become Unstable.

      Means server-three of Domain Controller Node N1 and slave Node N3 become stop.

      i got error  in slave Node N3

          

                          [Server:server-three] 16:54:06,847 ERROR [org.jboss.as.controller] (Controller Boot Thread) Operation ("add") failed - address: ([("deployment" => "First_JBOSS_APP.war")]) - failure                     description: "No deployment content with hash 89880ba22c4ea01c43c00e2ce528166a5629a2ff is available in the deployment content repository."

       

       

      In case load increase it is common practise to add another slave Node in cluster to share load or to decrease load on each Node.

      It is common requirment  to add another slave to the cluster after any .war deployed to the cluster.

       

      I am using jboss-as-web-7.0.2.Final.

        • 1. Re: How to add Slave Node dynamicaly in cluster ?
          rhusar

           

          I am using jboss-as-web-7.0.2.Final.

           

          Yes, this is possible. Unless you have misconfigured something, 7.0.2 is an old version with known issues, I would recommend trying with 7.1.3 instead.

          1 of 1 people found this helpful
          • 2. Re: How to add Slave Node dynamicaly in cluster ?
            hitesysony87

            Are you trying to say that "to add Slave node dynamicaly in cluster" is not possilbe in jboss-as-web-7.0.2.Final. ?

            Here i have attach host.xml and domain.xml file of Domain controller and host.xml of Slave node.

             

            Due to resource limitation it is not possible to use jboss's "full-profile" version.

            We just need "web-profile" version.

            In my application there is nothing related with EJB.

            We just want replacement of tomcat contair which have ability to work in cluster.

            We can move for "jboss-as-7.1.3.Final" only in the case if it "web-profile" version and use small amount of memory.

             

            If you provide any document related with      "jboss-as-7.1.3.Final" then it will very help-ful for me.

             

            Message was edited by: hitesh yadav

            • 3. Re: How to add Slave Node dynamicaly in cluster ?
              rhusar

              Are you trying to say that "to add Slave node dynamicaly in cluster" is not possilbe in jboss-as-web-7.0.2.Final. ?

              No, I don't mean that. It works, but in some cases things can be problematic.

               

              Due to resource limitation it is not possible to use jboss's "full-profile" version.

              We just need "web-profile" version.

              In my application there is nothing related with EJB.

              Thats ok, you should be able to remove the whole subsystem if you dont use it.

               

              Try deploying from the graphical web console, maybe it will be  easier for you to manage the servers.

               

              You can download nightly build from here https://community.jboss.org/thread/167590 or build yourself from a tag.

              • 4. Re: How to add Slave Node dynamicaly in cluster ?
                hitesysony87

                We are not able to use "Graphical Web Console" in current configuration.

                We are planing to create our custom page to manage the servers.

                 

                In "full-prifile" version is it possible to disable(stop) the whole EJB part to resource managment ?

                Is it possible to make "full-profile" like "web-profile" version by changin configuration file ?

                • 5. Re: How to add Slave Node dynamicaly in cluster ?
                  rhusar

                  Is it possible to make "full-profile" like "web-profile" version by changin configuration file ?

                  All profiles are  just enumeration of subsystems and their configuration. You can change any profile to virtually anything you want.

                  In "full-prifile" version is it possible to disable(stop) the whole EJB part to resource managment ?

                  It should be enough to remove the <extension> element and then the <subsystem> element.

                  1 of 1 people found this helpful
                  • 6. Re: How to add Slave Node dynamicaly in cluster ?
                    hitesysony87

                    I check this issue in "jboss-as-7.1.0.Final" and very happy to found that this is solved.

                    I want to remove EJB ("container") related module from "jboss-as-7.1.0.Final".

                    If it is possible please provide the list of module which are related with EJB.

                    Please give me the EJB container related extension and subsystem which can be remove from "jboss-as-7.1.0.Final" .