httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raju Rathi <raju.rathi1...@gmail.com>
Subject [users@httpd] Re: Enabling sticky session mode for Apache/Tomcat load balancing
Date Tue, 17 Nov 2015 17:44:26 GMT
Hi All ,

Awaiting response for below query . this is something urgent so appreciate
quick response on this .

thanks ,
Raju Rathi

On Tue, Nov 17, 2015 at 12:54 AM, Raju Rathi <raju.rathi1112@gmail.com>
wrote:

> Hi All ,
>
> I am trying to enable sticky sessions in Apache, however it is not
> working. Below are the changes made by me. Can anyone please advice if I am
> missing something?
>
> I do not see any error in the access log, however request from one user is
> still going to other server. Please let me know if any additional
> information is needed to answer/help my query.appreciate quick response on
> this ..
>
> *Step 1*: Added below in httpd.conf of load balancer of server1 & server2
>
> <Proxy balancer://marsBalancer>
> BalancerMember http://server1fullname:8080  route=server1
> BalancerMember http://server2fullname:8080  route=server2
> ProxySet lbmethod=bytraffic
> ProxySet stickysession=JSESSIONID
> </Proxy>
> ProxyPass /marsWAR/ balancer://marsBalancer/marsWAR/
>
> *Step 2*: Updated below in server.xml
>
> a) server.xml in server1
>
> <Engine name="Catalina" defaultHost="localhost" jvmRoute="server1">
>
> b) server.xml in server2
>
> <Engine name="Catalina" defaultHost="localhost" jvmRoute="server2">
>
>

Mime
View raw message