[ale] More HAProxy

James Sumners james.sumners at gmail.com
Thu Jul 23 16:10:39 EDT 2015


I suspect you need to stick clients to their initial server. But that's
assuming you're already proxying in TCP mode instead of HTTP:

```
defaults
  mode  tcp
  option  dontlognull
  option  redispatch
  retries 3
  maxconn 3000
  timeout queue 1m
  timeout connect 10s
  timeout client 1m
  timeout server 1m
  timeout check 10s
```

See
http://blog.loadbalancer.org/load-balancing-windows-terminal-server-haproxy-and-rdp-cookies/

On Thu, Jul 23, 2015 at 3:58 PM, Robert L. Harris <robert.l.harris at gmail.com
> wrote:

>
> I'm making progress on the Database proxy, waiting on a dev box I can test
> with.
>
>   On a separate but related note, I need to proxy in front of a Remote
> Desktop server.  Config is up and happy enough to start up with a very
> simple config ( removed additional backends for now );
>
> frontend  ServerFront
>     bind *:3389
>     acl rdpfarm         dst_port 3339
>     use_backend rdpfarm if rdpfarm
>
> backend rdpfarm
>     balance     roundrobin
>     server  rdpfarm1 pco-vm-bard-11:3389 check
>     server  rdpfarm2 pco-vm-bard-12:3389 check
>
> RDP is up and running because I can hit the bard-11 and bard-12 directly
> but when I hit the Linux HA proxy ( either direct or KeepaliveD VIP ) I get
> an error from my rdesktop client ( Linux )
>
> ERROR: expected CC, got 0x0
>
>
> Yeah,google's not a lot of help yet.
>
> Any thoughts?
>
> Robert
>    ( P.S. Who is admining the list now?  I'm only getting 1 or 2 emails a
> week from ALE, I didn't get any of the replies to my last email, I'm having
> to monitor PIPER )
>
>
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
>
>


-- 
James Sumners
http://james.sumners.info/ (technical profile)
http://jrfom.com/ (personal site)
http://haplo.bandcamp.com/ (band page)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150723/f83a4261/attachment.html>


More information about the Ale mailing list