[lvs-users] Server live check?

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


All:

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

global
    log 127.0.0.1    local0
    log 127.0.0.1    local1 notice
    #log loghost    local0 info
    maxconn 4096
    #chroot /usr/share/haproxy
    user haproxy
    group haproxy
    daemon
    #debug
    #quiet

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

listen rdp 0.0.0.0:3389
    mode tcp
    timeout server 3000
    option tcplog
    balance roundrobin
    server tswh01    10.14.3.101:3389 check port 3389
    server nt1s23vm  10.12.20.116:3389 check port 3389
    server nt1s77   10.58.240.248:3389 check port 3389




Paul K. Dickson
Systems Administrator
Frederick County Government, IIT
pdickson at fredco-md.net
301-600-2399/x12399






More information about the lvs-users mailing list