LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] Server live check?

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] Server live check?
From: Paul Dickson <pdickson@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Jul 2009 13:07:31 -0400
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@xxxxxxxxxxxxx
301-600-2399/x12399



_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

<Prev in Thread] Current Thread [Next in Thread>