文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>jboss 集群

jboss 集群

时间:2007-01-12  来源:ghbspecial

<mbean code="org.jboss.cache.aop.TreeCacheAop"
    name="jboss.cache:service=TomcatClusteringCache">
   
    <depends>jboss:service=Namingdepends>
    <depends>jboss:service=TransactionManagerdepends>
    <depends>jboss.aop:service=AspectDeployerdepends>
   
    <attribute name="TransactionManagerLookupClass">
        org.jboss.cache.BatchModeTransactionManagerLookup
    attribute>
        
    <attribute name="IsolationLevel">REPEATABLE_READattribute>
        
    <attribute name="CacheMode">REPL_ASYNCattribute>
        
    <attribute name="ClusterName">
      Tomcat-${jboss.partition.name:Cluster}
    attribute>
        
    <attribute name="UseMarshalling">falseattribute>
        
    <attribute name="InactiveOnStartup">falseattribute>
        
    <attribute name="ClusterConfig">
        ... ...
    attribute>
        
    <attribute name="LockAcquisitionTimeout">15000attribute>
mbean>

 

 

 

/jmx-console=loadbalancer
/jmx-console/*=loadbalancer
/web-console=loadbalancer
/web-console/*=loadbalancer
[wdxc@wdxc all]$ more /usr/local/apache2/conf/workers2.properties
worker.list=loadbalancer,status

worker.node1.port=8009
worker.node1.host=192.168.0.202
worker.node1.type=ajp13
worder.node1.lbfactor=1
worker.node1.cachesize=10

worker.node2.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13
worder.node1.lbfactor=1
worker.node1.cachesize=10

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2
worker.loadbalancer.sticky_session=1

worker.status.type=status

相关阅读 更多 +
排行榜 更多 +
挖掘机卡车

挖掘机卡车

模拟经营 下载
我的汤姆猫小米版

我的汤姆猫小米版

模拟经营 下载
我的小小邮轮

我的小小邮轮

模拟经营 下载