[Jboss-cvs] JBossAS SVN: r55128 - branches/Branch_4_0/tomcat/src/resources
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 3 14:49:10 EDT 2006
Author: bstansberry at jboss.com
Date: 2006-08-03 14:49:09 -0400 (Thu, 03 Aug 2006)
New Revision: 55128
Modified:
branches/Branch_4_0/tomcat/src/resources/cluster-cache.xml
Log:
Add BuddyReplication config element
Modified: branches/Branch_4_0/tomcat/src/resources/cluster-cache.xml
===================================================================
--- branches/Branch_4_0/tomcat/src/resources/cluster-cache.xml 2006-08-03 18:48:41 UTC (rev 55127)
+++ branches/Branch_4_0/tomcat/src/resources/cluster-cache.xml 2006-08-03 18:49:09 UTC (rev 55128)
@@ -150,6 +150,46 @@
<!-- Max number of milliseconds to wait for a lock acquisition -->
<attribute name="LockAcquisitionTimeout">15000</attribute>
+ <!-- Buddy Replication config.
+
+ See http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossCacheBuddyReplicationDesign
+ and the JBoss Cache docs for more on buddy replication.
+
+ By default, buddy replication is disabled.
+
+ Following are the configuration elements likely to be changed:
+
+ buddyReplicationEnabled true if you want buddy replication; false if data
+ should be replicated to all nodes in the cluster
+
+ numBuddies to how many backup nodes should each node replicate
+ its state
+
+ buddyPoolName allows logical subgrouping of nodes within the cluster;
+ if possible, buddies will be chosen from nodes in the
+ same buddy pool
+
+ Do not change the data gravitation related options.
+ -->
+ <attribute name="BuddyReplicationConfig">
+ <config>
+ <buddyReplicationEnabled>false</buddyReplicationEnabled>
+ <buddyLocatorClass>org.jboss.cache.buddyreplication.NextMemberBuddyLocator</buddyLocatorClass>
+ <buddyLocatorProperties>
+ numBuddies = 1
+ ignoreColocatedBuddies = true
+ </buddyLocatorProperties>
+
+ <buddyPoolName>default</buddyPoolName>
+ <buddyCommunicationTimeout>2000</buddyCommunicationTimeout>
+
+ <autoDataGravitation>false</autoDataGravitation>
+ <dataGravitationRemoveOnFind>true</dataGravitationRemoveOnFind>
+ <dataGravitationSearchBackupTrees>true</dataGravitationSearchBackupTrees>
+
+ </config>
+ </attribute>
+
</mbean>
</server>
More information about the jboss-cvs-commits
mailing list