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