-
1. Re: Simple 4.0.3 SP1 clustering steps
brian.stansberry Aug 11, 2006 4:31 PM (in response to dr_gonzo)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:
http://wiki.jboss.org/wiki/Wiki.jsp?page=TestingJBoss
http://www.jgroups.org/javagroupsnew/docs/newuser/node6.html -
2. Re: Simple 4.0.3 SP1 clustering steps
dr_gonzo Aug 11, 2006 6:21 PM (in response to dr_gonzo)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.