We are trying to figure out a way to show our terminal servers are down in 
haproxy when they are put in maintenance mode. It looks like maintenance mode 
will only disable user logins and keep RDP up. We thought about just enabling a 
firewall rule to block the RDP port when we enable maintenance mode but haproxy 
still sees the servers as up. How does the check routine work? The terminal 
servers are running Windows 2008 R2.

listen OTCTESTING 172.30.2.110:3389
      mode tcp
      tcp-request inspect-delay 5s
      tcp-request content accept if RDP_COOKIE
      persist rdp-cookie
      balance leastconn
      option tcpka
      stats enable
      server TSAPP7 172.30.0.223:3389 weight 1 check   inter 2000 rise 2 fall 3
      server TSAPP8 172.30.0.224:3389 weight 1 check   inter 2000 rise 2 fall 3
      server TSAPP9 172.30.0.225:3389 weight 1 check   inter 2000 rise 2 fall 3
      server TSAPP10 172.30.0.226:3389 weight 1 check   inter 2000 rise 2 fall 3
      option redispatch

Thanks
Travis Garrison




Reply via email to