RE: problem in Loadbalancing using mod_jk (configuration of worker.properties attached)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Title: Normal

To my unexperienced eye you need node1, node2 and node3 in your worker.list property as well as the loadbalance and status workers.

 

Hth,

 

Lukas

______________________________________________

Lukas Sklenar 


From: Jehan Badshah [mailto:jehan.badshah@xxxxxxxxx]
Sent: 27 January 2011 09:51
To: users@xxxxxxxxxxxxxxxx
Subject: problem in Loadbalancing using mod_jk (configuration of worker.properties attached)

 

 

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

Please consider the environment before printing this email.

This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately.
Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory.  The contents of this email may relate to dealings with other companies within the Detica Limited group of companies.

Detica Limited is registered in England under No: 1337451.

Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux