-
1. Re: jboss/clustering
slaboure Oct 10, 2002 3:36 AM (in response to sneha)yes, no problem, wait a minute....
... (abracadabra) ...
... OK, you should be super-smart now.
(And if it doesn't work, you may try to read the JBoss clustering documentation first. But that may fail as well.) -
2. Re: jboss/clustering
mud_slinger Dec 3, 2002 8:13 PM (in response to sneha). . . because the documentation is crap!
-
3. Re: jboss/clustering
slaboure Dec 5, 2002 12:47 PM (in response to sneha)which part? Feedback welcome.
Cheers,
sacha -
4. Re: jboss/clustering
jleveille Jan 2, 2003 9:10 AM (in response to sneha)Ok. Here is some constructive feedback ...
I have been playing around with clustering a bit and happened upon something useful to the newbie and also useful if you want to tweak the cluster-service.xml distributed with JBoss to be a bit nicer for others just starting out.
I followed the directions at
http://www.jboss.org/online-manual/HTML/ch11s144.html
and it was, indeed, very simple to just plop cluster-service.xml into my deploy directory and go into cluster mode. However, to my surprise, I joined a cluster that was already running on my company internal network. Ooops, sorry guys, didn't mean to crash your party ...
So I started trying to figure out how to define cluster membership or at least segregate loosely defined clusters. After tromping through the source code I found that I could put
MyTestCluster
in the MBean definitions for three of the four beans in cluster-service.xml and my server was deployed with clustering that did not interfere with the other cluster on my company network. Woohoo!
My suggestion is that you update the stock cluster-service.xml to have these attributes in the proper locations with a note about changing the name to avoid colliding with others. To the newbies out there -- I suggest that you edit cluster-service.xml and put the above line of XML inside the MBean defintion for the ClusterPartition, HASessionStateService, and HANamingService beans. Then change all occurrences of "MyTestCluster" to some name you choose. -
5. Re: jboss/clustering
slaboure Jan 6, 2003 4:06 AM (in response to sneha)Hello John,
Thank you for your constructive comment. You are right, and it is on the TODO list for ALL JBoss services: we will put, in the service definitions, all possible attributes with their current default values so it is easier:
- to understand the current behaviour
- to know what can be changed
- to change values
If you give me a totally processed cluster-service.xml file, I will commit it though.
Thank you. Cheers,
sacha