I too have similar problem and have been struggling since morning.
My problem is my mod_jk2 doesnt even load balance to remote server. When i
shut down local servers, it puts the request to remote server..
no cluesss!!


-----Original Message-----
From: Weseloh, Nicole [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 16, 2004 11:48 AM
To: [EMAIL PROTECTED]
Subject: JK2: lb_factor



Hello,

I've got a cluster with 2 tomcat 2.0.25 on different machines, on one of
them also running Apache 2.0.49 with JK2 as a loadbalancer.
Requests get redirected to both tomcat instances, but it always ends up
with around 1/3 of all requests at the local server and about 2/3 at the
remote one, no matter what value the lb_factors are.

So, could anyone tell me which values I should use to make the lb_factor
work correctly? All information I found was that "a lower value means
more requests" (official JK2-documentation at jakarta.apache.org). 


=====================================

My workers2.properties:

[lb:lb]
stickySession=1

# First Tomcat Instance (Localhost / 10.32.97.44)
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
group=lb
lb_factor=1
tomcatId=tomcat01

# Second Tomcat Instance (10.32.97.23)
[channel.socket:10.32.97.23:8009]
port=8009
host=10.32.97.23
group=lb
lb_factor=1
tomcatId=tomcat02


# define the worker for tomcat instance 1 (localhost)
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# define the worker for tomcat instance 2 
[ajp13:10.32.97.23:8009]
channel=channel.socket:10.32.97.23:8009

#This is the application to test the cluster / load balancing...
[uri:/benchmark/*]
info=Benchmark application


====================================

Anything wrong with that? Anything missing? 
If more information needed, just tell me.. I just guessed that the
workers2.properties is the problem.

Greets,
Nicole


------------------------------------------------------------
Diese E-Mail enthalt vertrauliche und/oder rechtlich geschutzte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtumlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie
die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If
you are not the intended recipient (or have received this e-mail in
error) please notify the sender immediately and destroy this e-mail.
Any unauthorized copying, disclosure or distribution of the material
in this e-mail is strictly forbidden.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

__________________________________________________________________________________________________________________________________

For information about the Standard Bank group visit our web site 
<www.standardbank.co.za>
__________________________________________________________________________________________________________________________________
        
Disclaimer and confidentiality note 
Everything in this e-mail and any attachments relating to the official business of 
Standard Bank Group Limited  is proprietary to the group. 
It is confidential, legally privileged and protected by law. 
Standard Bank does not own and endorse any other content. Views and opinions are those 
of the sender unless clearly stated as being that of the group. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the 
sender immediately if it has unintentionally reached you and do not read, 
disclose or use the content in any way.
Standard Bank can not assure that the integrity of this communication has been 
maintained nor that it is free of errors, virus, interception or interference.
___________________________________________________________________________________________________________________________________

Reply via email to