[Jboss-cvs] JBossAS SVN: r55138 - trunk/tomcat/src/resources
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Thu Aug 3 16:00:06 EDT 2006
Author: bstansberry at jboss.com
Date: 2006-08-03 16:00:05 -0400 (Thu, 03 Aug 2006)
New Revision: 55138
Modified:
trunk/tomcat/src/resources/cluster-cache.xml
Log:
Add FD_SOCK to configs
Modified: trunk/tomcat/src/resources/cluster-cache.xml
===================================================================
--- trunk/tomcat/src/resources/cluster-cache.xml 2006-08-03 19:59:44 UTC (rev 55137)
+++ trunk/tomcat/src/resources/cluster-cache.xml 2006-08-03 20:00:05 UTC (rev 55138)
@@ -70,8 +70,9 @@
down_thread="false" up_thread="false" num_initial_members="3"/>
<MERGE2 max_interval="100000"
down_thread="false" up_thread="false" min_interval="20000"/>
- <FD shun="true" up_thread="false" down_thread="false"
- timeout="2500" max_tries="5"/>
+ <FD_SOCK down_thread="false" up_thread="false"/>
+ <FD shun="true" up_thread="true" down_thread="true"
+ timeout="20000" max_tries="5"/>
<VERIFY_SUSPECT timeout="1500"
up_thread="false" down_thread="false"/>
<pbcast.NAKACK max_xmit_size="60000"
@@ -102,7 +103,9 @@
<TCPPING initial_hosts="thishost[7810],otherhost[7810]" port_range="3" timeout="3500"
num_initial_members="3" up_thread="true" down_thread="true"/>
<MERGE2 min_interval="5000" max_interval="10000"/>
- <FD shun="true" timeout="2500" max_tries="5" up_thread="true" down_thread="true" />
+ <FD_SOCK down_thread="false" up_thread="false"/>
+ <FD shun="true" up_thread="true" down_thread="true"
+ timeout="20000" max_tries="5"/>
<VERIFY_SUSPECT timeout="1500" down_thread="false" up_thread="false" />
<pbcast.NAKACK down_thread="true" up_thread="true" gc_lag="100"
retransmit_timeout="3000"/>
@@ -134,6 +137,46 @@
-->
<attribute name="InactiveOnStartup">true</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>true</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