[lvs-users] Server live check?

Paul Dickson pdickson at FrederickCountyMD.gov
Mon Jul 20 18:07:31 BST 2009


I¹m trying to load balance a few windows terminal servers.  When all servers
are up everything works fine.  I pull one down to test  HAProxy¹s ability to
monitor for down servers or ports on a server and remove it from the pool.
When I do so haproxy keeps trying to connect me to the server even though it
is down.  Can someone take a look at this config and make some suggestions?

Thanks for any help.

# this config needs haproxy-1.1.28 or haproxy-1.2.1

    log    local0
    log    local1 notice
    #log loghost    local0 info
    maxconn 4096
    #chroot /usr/share/haproxy
    user haproxy
    group haproxy

    log    global
    mode    tcp
    option    httplog
    option    dontlognull
    retries    3
    option redispatch
    contimeout    3000
    clitimeout    50000
    srvtimeout    50000

listen rdp
    mode tcp
    timeout server 3000
    option tcplog
    balance roundrobin
    server tswh01 check port 3389
    server nt1s23vm check port 3389
    server nt1s77 check port 3389

Paul K. Dickson
Systems Administrator
Frederick County Government, IIT
pdickson at fredco-md.net

More information about the lvs-users mailing list