Re: Newbie SSL Question

From: Aleksandar Lazic <al-haproxy#none.at>
Date: Sun, 18 Nov 2007 10:28:05 +0100


On Sam 17.11.2007 14:27, Michael Nguyen wrote:
> Aleksandar Lazic wrote:
>
>> 2.) Hm, and the 8 Servers have the same cookie line, right?! How
>> should haproxy decide which server he should use if all server
>> have the same cookie line?
>>
>> If not, please can you send us your haproxy config ;-)
> No, they have different cookie lines. Here's the config.
> __________________________

[snipp]
> defaults
> log global
> mode http
> option httplog
> option dontlognull

          option persist
May help, if you plan to make a 'smooth client kickout' ;-)

> listen saweb 0.0.0.0:80
> balance roundrobin
> cookie ServerID insert nocache indirect
> appsession JSESSIONID len 12 timeout 10800000

Hm, the appsession-cookie is not shared between the both haproxies. I'am not sure what impact both options have, can you try to comment out the appsession line.

> listen sawebssl 0.0.0.0:443
> mode tcp
> balance roundrobin
> cookie ServerID insert nocache indirect
> appsession JSESSIONID len 12 timeout 10800000

The abouve two lines are useless here, imho.
> __________________________

Cheers

Aleks Received on 2007/11/18 10:28

This archive was generated by hypermail 2.2.0 : 2007/11/18 11:15 CET