Jump to content
Welcome to our new Citrix community!

Load balance StoreFront with HAProxy


David DANIELEWSKI

Recommended Posts

  • 2 weeks later...

Hi Daniel

 

People typically use Citrix ADC (Netscaler), F5 or Windows NLB to load balance StoreFront.  To my knowledge HAproxy is  untested internally within Citrix but may well work if it is capable of persistent (sticky) load balancing using either Source IP or CookieInsert in the same way Citrix ADC does this.  Unfortunately, I have no experience load balancing StoreFront server groups with HAProxy but you could use this article as a basis for identifying what needs to be done.  Receiver for web will not function correctly if a non persistent load balancer is used and all requests for the web session must be directed to the same backend web server.

https://docs.citrix.com/en-us/storefront/current-release/integrate-with-citrix-gateway-and-citrix-adc/load-balancing-with-citrix-gateway.html 

Sorry I cant be more help.  If you wished to use either Windows NLB or Citrix ADC I could assist you more.

Mark

Link to comment
Share on other sites

  • 11 months later...

Here are the relevant portions of the config I'm using successfully. Note that I'm using SSL termination with unencrypted connections to the Storefront servers; the equivalent lines if you're using SSL are included but commented out.


 

defaults
    mode                    http
    log                     global
    option                  httplog
    option                  dontlognull
    option                  http-keep-alive
    option                  redispatch
    retries                 3
    timeout http-request    30s
    timeout connect         60s
    timeout client          30s
    timeout server          60s
    timeout check           60s
    maxconn                 20000

frontend fe_csf
    option      accept-invalid-http-request
    option      forwardfor except 127.0.0.0/8
    bind *:80
    bind *:443 ssl crt [path to certfile]
    redirect scheme https code 301 if !{ ssl_fc }
    default_backend be_csf

backend be_csf
    balance leastconn
    cookie SERVERID insert indirect nocache
    #server [server1] [ip_addr]:443 check ssl inter 15s verify none cookie [server1]
    #server [server2] [ip_addr]:443 check ssl inter 15s verify none cookie [server2]
    server [server1] [ip_addr]:80 check inter 15s cookie [server1]
    server [server2] [ip_addr]:80 check inter 15s cookie [server2]

 

Link to comment
Share on other sites

  • 1 year later...

Hello All,

 

i'm using an haproxy on Debian Linux, but when i connect with the Workspace App comes always the follwing Error.

Exit Code: 249
Error: Error in connection, error given:
AM_ERROR_AUTH_PROTOCOL_ERROR[65276]

 

Has anyone an Idea? The StoreWeb runs normally.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...