You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by va...@gmail.com on 2021/06/26 23:07:16 UTC
[users@httpd] Manage a sticky session across
Hi All,
I have a setup similar to this
|---------> proxy 1 ------> node 1
User ---> AWS ELB ---->|---------> proxy 2 ------> node 2
|---------> proxy 3 ------> node 3
Here is the config on all the proxy servers to manage sticky session.
# Load Balancer
<Proxy balancer://cluster>
BalancerMember http://node01:8098 route=1
BalancerMember http://node02:8098 route=2
BalancerMember http://node03:8098 route=3
ProxySet stickysession=ROUTEID
</Proxy>
ProxyPass /context balancer://cluster/context
ProxyPassReverse /context balancer://cluster/context
Whenever a user connect to a node the proxy servers keeps the session
to same node which is necessary for my application
However, I am not sure how the proxy servers share the sticky session.
Do I need to add a second sticky session on AWS ELB to know which
proxy server has the right ROUTEID
Any suggestion or explanation is appreciated.
Thanks,
Asif
--
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org