Hi guys, On Wed, Jul 22, 2009 at 08:52:05AM -0400, Guillaume Bourque wrote: > Hi Paul > > I just retrun from vacation so I did'nt see your previous post, but 1 > thing for sure haproxy CAN be use to dispatch RDP session, I have been > doing this on a couple of site with ~80 users and 4 TS servers wihout > any issue at all in the last year. > > I have look at your config and dont see what could be the problem.
I definitely see a problem. Timeouts are too short for RDP (50 seconds). So after that time, if the client does nothing (eg: talk on the phone), his session expires. From what I've heard, people tend to set session timeouts between 8 and 24 hours on RDP. BTW, you might be very interested. Exceliance has developped and contributed RDP persistence ! This is in the development branch. Check the latest snapshot here : http://haproxy.1wt.eu/git/?p=haproxy.git basically, you just have to add the following statement in your backend : persist rdp-cookie And when a session comes in, haproxy will analyse the RDP packet and will look for an RDP cookie. If it has a matching server, it directs the connection to that server, otherwise it does load balancing. And we also have "balance rdp-cookie" which is used to balance on the "msts" RDP cookie specifying the user name (when it is available). Regards, Willy

