Hello Kevin,

You didn't set the check port, and as you specify server address without
port number on "server" line, it can't work.
Add "check port 3389" on each server line but i think you can't use
"persist rdp-cookie" if you want to use TLS as in
http://support.microsoft.com/kb/895433 because Haproxy will not be able
to see RDP Cookies...

Hervé.

On 10/22/2012 03:34 PM, Kevin COUSIN wrote:
> Hi,
> 
> I just setup an HAProxy for a RDS platform. I must set ssl-hello-chk option 
> to get it works, but i can't set server check options with ssl-hello-chk, 
> haproxy said haproxy[5059]: backend FARM has no server available. Is it 
> normal ?
> 
> Here is my conf:
> 
> global
>         log 127.0.0.1 local4
>         maxconn 65535
>         ulimit-n 131085
>    defaults
>         log global
>         clitimeout 1h
>         srvtimeout 1h
> 
>    frontend Frontal-RDS
>         bind :3389,:135,:139
>         default_backend FARM
>         # Options
>         tcp-request inspect-delay 5s
>         tcp-request content accept if RDP_COOKIE
>         timeout client 1h
>         monitor-net 10.20.20.248/29
> 
>    backend FARM
>         mode tcp
>         persist rdp-cookie
>         balance rdp-cookie
>         #balance leastconn
> 
>         timeout connect 4s
>         log 127.0.0.1 local4
>         option redispatch
>         option tcpka
>         option tcplog
>         # Pour les connexions RDP sécurisées ?
>         option ssl-hello-chk
>         timeout server 1h
> 
>         # sticky persistence
>         #stick-table type string len 32 size 10k expire 1d
>         #stick on rdp-cookie
> 
>         
>         server SRV1 SRV1.local weight 1
>         server SRV2 SRV2.local weight 1
> 
>   listen stats :1936
>     mode http
>     stats enable
>     stats hide-version
>     stats realm Haproxy\ Statistics
>     stats uri /
>     stats auth user:secret
> 
> ----
> 
>    Kevin C.
> 
> 

-- 
Hervé COMMOWICK
Ingénieur systèmes et réseaux.

http://www.rezulteo.com
by Lizeo Online Media Group <http://www.lizeo-online-media-group.com/>
42 quai Rambaud - 69002 Lyon (France) ⎮ ☎ +33 (0)4 63 05 95 30

Reply via email to