Hi,
Yes, but if I set the directive, haproxy said "haproxy[5059]: backend FARM has 
no server available". I don't have this issue if I remove ssl-hello-chk option.

----- Mail original -----
> De: "Baptiste" <[email protected]>
> À: "Kevin COUSIN" <[email protected]>
> Cc: [email protected]
> Envoyé: Lundi 22 Octobre 2012 16:23:47
> Objet: Re: Haproxy ssl-hello-chk and check
> 
> Hi,
> 
> You forgot the directive 'check' on each server line.
> 
> HAProxy only process health checks on the server you told it to do.
> 
> cheers
> 
> 
> On Mon, Oct 22, 2012 at 3:34 PM, Kevin COUSIN <[email protected]> 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.
> >
> >
> 

Reply via email to