[ale] More HAProxy

Robert L. Harris robert.l.harris at gmail.com
Thu Jul 23 17:02:58 EDT 2015


Yeah, I broke it out into exactly that.  I'm working on a HTTP section to
front a NAVision IIS/WebSErvice next.  Unfortuantely I have no idea what
it's supposed to work like and the NAV guy is MIA...  Love it!


On Thu, Jul 23, 2015 at 2:59 PM James Sumners <james.sumners at gmail.com>
wrote:

> Note: you can have multiple "defaults" sections. The frontend/backend
> definitions that come after a defaults will use those defaults. Which is to
> say: you have HTTP and TCP sections, or multiples of each.
>
> On Thu, Jul 23, 2015 at 4:47 PM, Robert L. Harris <
> robert.l.harris at gmail.com> wrote:
>
>>
>>   Ok, that just REALLY extended my config, but updating with the new
>> pieces from your link did it.  The RDP is working great.  Now to get the
>> other pieces working :)
>>
>> Thanks,
>>   Robert
>>
>>
>> On Thu, Jul 23, 2015 at 2:12 PM James Sumners <james.sumners at gmail.com>
>> wrote:
>>
>>> 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)
>>>  _______________________________________________
>>> 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
>>>
>>
>> _______________________________________________
>> 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)
>  _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20150723/4595016d/attachment.html>


More information about the Ale mailing list