I managed to solved the #1 by adding the following line to my backend area.

 appsession PHPSESSID len 64 timeout 3h request-learn prefix

Now the problem is:

(3) When I access my app site, the WEBSERVERS1 and WEBSERVERS2 are
receiving simultaneous or the same traffic. I checked both servers httpd
logs and they have the same logs. I am already closed so it should
something to tweak on the backend part in haproxy.

Anyone got the idea and advise?

Thanks.
James

On Thu, Aug 23, 2012 at 3:49 PM, James Wise <[email protected]>wrote:

> Hi All,
>
> I want to achieve the HAProxy + SSL + Stickiness session.
>
> This is my configurations:
>
> HAProxy - http://pastebin.com/rBYWc5zt
> Stunnel - http://pastebin.com/e0nRYQ3u
>
> So far, I have successfully test the HAProxy and SSL. My problem is that:
>
> (1) when I try to rename the "checked.txt" from WEBSERVERS1, I'm still
> seeing traffic coming in on WEBSERVERS1. The traffic should be going to
> WEBSERVERS2. When I clear the browser cache and access the site apps again,
> the traffic is going to WEBSERVERS2. Maybe I have something wrong in my
> haproxy configuration under in backend??
>
> (2) If #1 is fixed, how can I apply that in SSL?
>
>
> I would appreciate if anyone could share their knowledge and experiences
> on how to properly setup and configure this HAProxy as I really like this
> application.
>
> Looking forward to hear anyone advises.
>
>
> Thanks.
> James
>
>

Reply via email to