Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Advanced Load balancing |
|
Author |
|
Htoni
Joined: 16 Mar 2016 Posts: 2
|
Posted: Wed 16 Mar '16 12:58 Post subject: Advanced Load balancing |
|
|
Hi,
I've configured a load balancing using mod_balancer module.
I've two nodes with sticky session.
What I want to achieve is: during normal production situation when requests arrived and are balanced, exclude node1 (but maintaining request with associated session for this route), wait until all request to node1 are finished and then shutdown node1.
What is the best way to reach this result using apache?
Thanks. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
Htoni
Joined: 16 Mar 2016 Posts: 2
|
Posted: Mon 21 Mar '16 12:41 Post subject: |
|
|
Ok thanks!
A question: if I disable a balancer member node from interface, what's happen to ongoing requests that have the sticky session associated with the powered off node? are balanced through the node also if it is disabled?
Thanks |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 21 Mar '16 17:50 Post subject: |
|
|
In short: the client looses the seesion and has to get a new one on the other server. |
|
Back to top |
|
|
|
|
|
|