httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jehan Badshah <jehan.bads...@nu.edu.pk>
Subject [users@httpd] problem in Loadbalancing using mod_jk (configuration of worker.properties attached)
Date Thu, 27 Jan 2011 09:50:30 GMT
 Dear all

Following is the configuration of *worker.properties* file,
using that configuration my browser (or apache) goes in endless loop.

please help.


---------------------------------------------
--------*worker.properties* --------
--------------------------------------------


worker.list=loadbalancer,status

# Define Node1
worker.node1.port=8009
worker.node1.host=172.16.100.122
worker.node1.type=ajp13
*worker.node1.lbfactor=1*
worker.node1.socket_timeout=100
worker.node1.local_worker=*1*

# Define Node2
worker.node2.port=8009
worker.node2.host=172.16.100.121
worker.node2.type=ajp13
*worker.node2.lbfactor=1*
worker.node2.socket_timeout=100
worker.node2.local_worker=*1*

# Define Node3
worker.node3.port=8009
worker.node3.host=localhost
worker.node3.type=ajp13
*worker.node3.lbfactor=1*
worker.node3.socket_timeout=100
worker.node3.local_worker=*1*

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

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


 -----------------------
--------end--------
-----------------------


Regards
----------------------------------------------------
Jehan Badshah | Software Engineer
MS (Computer Science)
FAST - National University of Computer and Emerging Sciences
A.K. Brohi Road, H-11/4, Islamabad
UAN: +92 (0)51 - 111 128 128 ext 263
Cell: 0300-5847471

Mime
View raw message