Hi,
  I have configured apache with jboss using mod_jk . I am using 4 servers in 
the JBoss cluster. 

My worker.properties file: 

# Define list of workers that will be used
# for mapping requests
worker.list=loadbalancer,status

# Define Node1
# modify the host as your host IP or DNS name.
worker.node1.port=8009
worker.node1.host=node1-IP
worker.node1.type=ajp13
worker.node1.lbfactor=1
worker.node1.cachesize=10

# Define Node2
# modify the host as your host IP or DNS name.
worker.node2.port=8009
worker.node2.host=node2-IP
worker.node2.type=ajp13
worker.node2.lbfactor=1
worker.node2.cachesize=10

# Define Node3
# modify the host as your host IP or DNS name.
worker.node3.port=8009
worker.node3.host=node3-IP
worker.node3.type=ajp13
worker.node3.lbfactor=1
worker.node3.cachesize=10

# Define Node4
# modify the host as your host IP or DNS name.
worker.node4.port=8009
worker.node4.host=node4-IP
worker.node4.type=ajp13
worker.node4.lbfactor=1
worker.node4.cachesize=10

# Load-balancing behaviour
worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=node1,node2,node3,node4
worker.loadbalancer.sticky_session=1
#worker.list=loadbalancer

# Status worker for managing load balancer
worker.status.type=status

Since sticky_session=1 Apache is forwarding all the requests from a user to the 
same JBoss node(node1). But If this node goes down, Apache is forwarding few 
requests(from same USER) to node2 and few requests to node3. How to Configure 
Apache to send all requests to same node?

Thanks
        

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

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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to