-
1. Re: Do different Cluster Partitions need different multicast
brian.stansberry Oct 4, 2005 7:57 PM (in response to jcprout)The standard "all" config of JBoss creates 2 partitions, one used for HttpSession replication, the other for lots of other stuff like HA-JNDI, HA-RMI, EJB 2.0 clustering, farming etc.
The jboss.partition.name system property controls the name of this second partition. The name of the partition used for HttpSession replication needs to be configured in the /deploy/tc5-cluster-service.xml file.
We also definitely recommend using a different multicast port or address for different partitions. Otherwise the lower level JGroups protocols need to handle packets for other partitions, which at a minimum degrades performance and sometimes causes anomolous behavior. -
2. Re: Do different Cluster Partitions need different multicast
jcprout Oct 4, 2005 8:04 PM (in response to jcprout)That explains what we've been seeing, and may explain some unreliability with replication of deployments made to the farm directory.
I'll make the changes and start testing again
Thanks!
John -
3. Re: Do different Cluster Partitions need different multicast
bh5k Oct 5, 2005 3:54 PM (in response to jcprout)Ok lame question, but related to multicast IP. I want to setup a cluster, but not have my network team freakout about what I am doing and have to explain the whole thing to 3 different managers. Do I need to use UDP or can I just use TCP. To setup this basic cluster and what is the real benefit to using UDP? It isn't a prod environment and just a simple POC.
Thanks! -
4. Re: Do different Cluster Partitions need different multicast
belaban Oct 5, 2005 4:59 PM (in response to jcprout)I say go for multicasting, but set the ip_ttl to a low value so not everyone sees your multicasts.
If you want to use TCP, simply list all members in TCPPING (see sample configs for details).
Regarding the explaining to 3 different managers: watch Office Space and get some good ideas what to do ... :-)