Title: gracefull shutdown/removal of worker from load balance...
I didn't get any response to this emai (for taking a worker out of the load balance worker), so I created a patch for mod_jk.
 
The patch allows for a worker.name.active parameter to be added to the workers.property file.
If the active parameter = 1, worker will accept new connections as per SOP (this is also the default state, so if the parameter is not in the file it still works, or if the value is anything other then 0 it still works...)
 
If the active parameter = 0, the worker will continue to service existing sessions, but will not accept new sessions.
 
Now all we need is a way to determine actives sessions in a worker...
 
Not sure if the format is _exactly_ what you require as this is my first patch.
Comments?
 

Michael R. Kuz
Developer
Service Intelligence
(403) 261-5000 ext. 363
[EMAIL PROTECTED]

-----Original Message-----
From: Michael Kuz [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 02, 2001 6:51 PM
To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'
Subject: gracefull shutdown/removal of worker from load balance...

Hello all,
How do I remove a worker from the load balancer without killing its current sessions?

i.e.: I don't want any new sessions created on that worker, and the existing sessions must be allowed to expire 'naturally'

(I can't just delete the entry from the balanced_workers property of the load balancer or current/established sessions get killed/ are not redirected to the

proper worker)

Our setup: We've got multiple Apache web servers behind LVS with multiple TC(3.2) boxes behind the web servers...

Thanks in advance....




Michael R. Kuz
Developer
Service Intelligence
(403) 261-5000 ext. 363
[EMAIL PROTECTED]

activeState.patch

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

Reply via email to