Hello people,
this is my first post on the haproxy, and I've got some doubts.
I intend to use it to make balancer two windows 2012 machines with RDP
protocol.
I will have a maximum of 200 connections and wanted to make a balance on
each server to receive one connection, or the server that is less idle.
did some testing with the script below and all connections are falling in
server srvts1.
I also tried to generate html log in, but could not. how do I save the logs
in the rdp protocol?
can you help me?
listen tse-farm
bind 0.0.0.0:3389
balance leastconn
persist rdp-cookie
timeout server 1h
timeout client 1h
timeout connect 4s
tcp-request inspect-delay 5s
tcp-request content accept if RDP_COOKIE
persist rdp-cookie
stick-table type string size 204800
stick on req.rdp_cookie(mstshash)
option redispatch
option abortonclose
maxconn 200
server srvts1 10.240.0.3:3389 weight 10 check inter 2000 rise 2 fall 3
minconn 0 maxconn 100 on-marked-down shutdown-sessions
server srvts2 10.240.0.4:3389 weight 10 check inter 2000 rise 2 fall 3
minconn 0 maxconn 100 on-marked-down shutdown-sessions
thanks
--
Douglas Fabiano Specht
this is my first post on the haproxy, and I've got some doubts.
I intend to use it to make balancer two windows 2012 machines with RDP
protocol.
I will have a maximum of 200 connections and wanted to make a balance on
each server to receive one connection, or the server that is less idle.
did some testing with the script below and all connections are falling in
server srvts1.
I also tried to generate html log in, but could not. how do I save the logs
in the rdp protocol?
can you help me?
listen tse-farm
bind 0.0.0.0:3389
balance leastconn
persist rdp-cookie
timeout server 1h
timeout client 1h
timeout connect 4s
tcp-request inspect-delay 5s
tcp-request content accept if RDP_COOKIE
persist rdp-cookie
stick-table type string size 204800
stick on req.rdp_cookie(mstshash)
option redispatch
option abortonclose
maxconn 200
server srvts1 10.240.0.3:3389 weight 10 check inter 2000 rise 2 fall 3
minconn 0 maxconn 100 on-marked-down shutdown-sessions
server srvts2 10.240.0.4:3389 weight 10 check inter 2000 rise 2 fall 3
minconn 0 maxconn 100 on-marked-down shutdown-sessions
thanks
--
Douglas Fabiano Specht