Hi,

I have a basic 2 node cluster with apache2/mod_jk load balancer in front of it. the LB 
is supposed to be doing round robin with sticky sessions. However, all requests seem 
to be going to one and same node. the second gets requests only if i bring down the 
first one (failover). please note that i turned off cookies in my browser to ensure 
session stickiness does not get in the way.  what am i doing wrong?

here's my workers.properties:

# Define the first node.
worker.node1.port=8009 
worker.node1.host=localhost
worker.node1.type=ajp13 
worker.node1.lbfactor=1 
worker.node1.local_worker=1 
worker.node1.cachesize=10 

# ...and the second node. 
worker.node2.port=8009 
worker.node2.host=ip2
worker.node2.type=ajp13 
worker.node2.lbfactor=1 
worker.node2.local_worker=1 
worker.node2.cachesize=10 

# Now we define the load-balancing behaviour 
worker.loadbalancer.type=lb 
worker.loadbalancer.balanced_workers=node1, node2 
worker.loadbalancer.sticky_session=1 
worker.loadbalancer.local_worker_only=1 
worker.list=loadbalancer 

thanks
-nikita

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

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


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to