-
1. JBoss 6 Clustering Documentation
wdfink May 23, 2011 3:01 AM (in response to rajan01)AFAIK the JBoss6 documentation is not complete and partially wrong (e.g. JMS).
But you'll find most of the concepts and configuration similar in JBoss5 and 6.
If not feel free to ask here .
-
2. JBoss 6 Clustering Documentation
rajan01 May 23, 2011 3:14 AM (in response to wdfink)As I am reading the Jboss5 clustering document.... And in that we have
EachJBoss server instance (node) specifies which cluster (i.e., partition) it joins in the ClusterPartition MBean in the deploy/cluster-service.xml file. As deploy/cluster-service.xml file doesn't exist in JBoss 6. So I am going to point out which xml works as cluster-service.xml in Jboss6.
-
3. JBoss 6 Clustering Documentation
wdfink May 23, 2011 3:57 AM (in response to rajan01)By default (if you use the all configuration) all instance join in to the same cluster.
You should not change the configuration, instead you should start with run.sh -g <partitionName> -u <mcast address> -m <mcast port>
this will separate the instances.
To answer your question:
look into server/all/deploy/cluster/jgroups-channelfactory.sar/META-INF/jgroups-channelfactory-stacks.xml
there you find the configuration you looking for.
-
4. JBoss 6 Clustering Documentation
rajan01 May 23, 2011 4:21 AM (in response to wdfink)Its ookay..
But I want a file in which the following code is written..
<mbeancode="org.jboss.ha.framework.server.ClusterPartition"
name="jboss:service=DefaultPartition">
<! -- Name of the partition being built-->
<attributename="PartitionName">
${jboss.partition.name:DefaultPartition}
</attribute>
<! -- The address used to determine thenode name -->
<attributename="NodeAddress">${jboss.bind.address}</attribute>
<! -- Determine if deadlock detection isenabled -->
<attributename="DeadlockDetection">False</attribute>
<! -- Max time (in ms) to wait for statetransfer to complete.
Increase for large states -->
<attributename="StateTransferTimeout">30000</attribute>
<! -- The JGroups protocol configuration-->
<attributename="PartitionConfig">
... ...
</attribute>
</mbean>
-
5. JBoss 6 Clustering Documentation
wdfink May 23, 2011 7:18 AM (in response to rajan01)The NodeAddress can be also set by start parameter runn.sh -b <ip>
JGroups protocol (PartitionConfig) should be also in the channelfactory.
For DeadlockDetection and StateTransfer I don't know it, but I suppose this will be a infinispan configuration, see cluster/infinispan...
Maybe here someone other can give you an answer.