Why this configuration don't detect a server down?

global
    log 127.0.0.1 local0 debug
    log 127.0.0.1 local1 notice
    log 10.104.16.5 local7 debug
        chroot /var/lib/haproxy
        user haproxy
        group haproxy
        daemon
    node GR43STEMIS01-BALANCEADOR-HA-SSL

# Para sincronizar las tablas de sesión
peers pares
#    disable
    peer gr43stemis01 10.107.20.7:1024
    peer gr43stemis02 10.107.20.8:1024

defaults
    log     global
        mode    http
        option  dontlognull
    option httpchk
        retries 3
        option redispatch
        maxconn 5000
        timeout connect 50s
        timeout client  30min
        timeout server 50s
.../...
frontend RDP
    mode tcp
    bind *:3389
    timeout client 1h
    timeout server 1h
    tcp-request inspect-delay 5s
    tcp-request content accept if RDP_COOKIE
#    use_backend bk_rdp
    default_backend bk_rdp
   
backend bk_rdp
    mode tcp
    balance leastconn
    #balance rdp_coockie
    timeout server 1h
    timeout connect 4s
    log global
    stick-table type string len 32 size 10k expire 1h peers pares
    stick on rdp_cookie(msthash)
   
    persist rdp-cookie
#    option tcp-check
    option ssl-hello-chk
#    option tcpka

    tcp-check connect port 3389 ssl

    server gr43sterminal01    10.104.22.142:3389 weight 1 check inter 2000 rise 2 fall 3
    server gr43sterminal02  10.104.23.141:3389 weight 1 check inter 2000 rise 2 fall 3



Thank.
--

Antonio Trujillo Carmona

Técnico de redes y sistemas.

Subdirección de Tecnologías de la Información y Comunicaciones

Servicio Andaluz de Salud. Consejería de Salud de la Junta de Andalucía

[email protected]

Tel. +34 670947670 747670)



Reply via email to