[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP

sreejava do-not-reply at jboss.com
Thu Feb 15 10:02:36 EST 2007



Here is my workers.properties, where (_._._ represents the first 3 parts of IP address here). Exactly the same file is ther in both the Apache servers\conf.


  | # Define list of workers that will be used
  | # for mapping requests
  | # The configuration directives are valid
  | # for the mod_jk version 1.2.18 and later
  | #
  | worker.list=loadbalancer,status
  | 
  | # Define Node1
  | # modify the host as your host IP or DNS name.
  | worker.node1.port=8009
  | worker.node1.host=node1._._._.209
  | worker.node1.type=ajp13
  | worker.node1.lbfactor=1
  | # worker.node1.connection_pool_size=10 (1)
  | 
  | # Define Node2
  | # modify the host as your host IP or DNS name.
  | worker.node2.port=8009
  | worker.node2.host= node2._._._.124
  | worker.node2.type=ajp13
  | worker.node2.lbfactor=1
  | # worker.node1.connection_pool_size=10 (1)
  | 
  | # Load-balancing behaviour
  | worker.loadbalancer.type=lb
  | worker.loadbalancer.balance_workers=node1,node2
  | 
  | # Status worker for managing load balancer
  | worker.status.type=status
  | 

However i have added the following lines of code with uriworkermap.properties as per  hmesha's posting


  | # Test App 
  | /TestApp=loadbalancer 
  | /TestApp/*=loadbalancer 
  | 




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4017067#4017067

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4017067



More information about the jboss-user mailing list