2 Replies Latest reply on Aug 11, 2006 6:21 PM by Steve Johnson

    Simple 4.0.3 SP1 clustering steps

    Steve Johnson Newbie

      I can't seem to find simple steps for configuring a JBoss 4.0.3 SP1 cluster. I want a two-node, horizontal cluster and I am already familiar with the concepts from working with WebLogic, WebSphere, etc.

      Please provide a link or simple instrux to get it to work. I know it's not working yet because when I go to jmx-console and look at the cluster, it's only showing one node running.

        • 1. Re: Simple 4.0.3 SP1 clustering steps
          Brian Stansberry Master

          The simplest way to start a JBoss server cluster is to start several JBoss instances on the same local network, using the run -c all command for each instance. Those server instances, all started in the all configuration, detect each other and automatically form a cluster.

          See http://docs.jboss.org/jbossas/jboss4guide/r5/html/cluster.chapt.html for more.

          If the nodes don't form a cluster, here are a couple of links for troubleshooting:


          • 2. Re: Simple 4.0.3 SP1 clustering steps
            Steve Johnson Newbie

            This is of no help but I figured it out anyway with help from someone else.

            Your documentation is too scattered and too technical to be of any practical help to anybody. If the topic is how to set up a JBoss cluster, the documentation should explain that and not every other conceivable thing you'd ever want to do with a cluster. Like the watch-time metaphor.

            In essence, the steps are:

            a) Download the JBoss archive, not the installer.

            b) Extract it and copy the "all" directory, naming it anything you want. If you're vertically clustered, you have to make the directory names unique on that host, but horizontal nodes do not have to have unique names.

            c) Get a multicast address.

            d) Change the value of mcast_addr in <jboss-home>\server\\deploy\cluster-settings.xml.

            e) Windows only: change loopback to true in cluster-settings.xml.

            f) Start the nodes from <jboss-home>\bin\run -c <config-name>

            g) Check the http://:/jmx-console to make sure the nodes are listed. and are the host name and listen port of any node in the cluster.

            You need to click service=<partition-name> and look on the next page in the CurrentView row to make sure the IP addresses are all listed.

            Additional steps are required to change the name of the partition from DefaultPartition.