Forum Discussion

Michael_Koyfma1's avatar
Sep 21, 2012

Load-balancing Citrix CloudGateway Express/StoreFront

As more and more customers are trying to get their feet wet with Citrix CloudGateway Express, F5 has been hard at work extending our support and developing guidance for optimal load-balancing of CloudGateway Express servers.

 

Citrix has published an implementation guide for CloudGateway Express(which, I am finding out, many Citrix customers are simply not aware of), and it does a very good job of guiding you through the steps of how to deploy CloudGateway Express Cluster and configure Netscaler in front of it to do load-balancing. The guide is available on Citrix support site: http://support.citrix.com/article/CTX133185

 

Our preliminary tests show that simply leveraging existing F5 Citrix iApp to load-balance CloudGateway instances works just fine - so if you're deploying F5 in front of your CloudGateway servers, you can easily fill in IP addresses of your CloudGateway Express instances instead of Web Interface IP addresses should work just fine. We are also working on updated the iApp and Deployment Guide to include CloudGateway nuiances explicitly.

 

However, as we usually do, we have gone a step above and beyond what Citrix provided in terms of guidance. Citrix deployment guide presumes that you are doing SSL termination on the CloudGateway Express instances themselves and implies that SSL offload is not possible for CloudGateway Express. However, through in-depth investigation, we have discovered and tested that you can still leverage F5 for the SSL offload when used to load-balance CloudGateway Express instances. All you have to do is install CloudGateway Express, as described in the Citrix Implementation guide. However, when you configure F5 for load-balancing CloudGateway, you can choose to perform SSL offload and create a pool of CloudGateway Express servers with port 80 destination on the back – and everything is going to work just fine. The good news is that there are no tweaks or changes that are required on the CloudGateway instance side to take advantage of that, and you can always seamlessly use both SSL offload and SSL re-encryption if you chose to compare performance, scalability, and capacity. However, if you have accidentally installed CloudGateway Express in an http-only mode(without specifying an https URL during its initial setup, then performing SSL offload on F5(or any other device) is not going to work, as Citrix embeds http-only links in some of its communication with Receiver clients.

 

I hope you find this information useful, and if you have any feedback on how SSL offload for CloudGateway Express is working out for you, please post your experiences here.

 

 

3 Replies

  • I've got this working in our environment with redundant Cloud Gateway Express hosts load balanced by the F5 with APM and the web receiver is working great, but we aren't able to connect users on iPads and other client receivers. We get an error:

     

     

    Access Gateway: Gateway authentication failed. Please check your credentials, address, gateway settings and network connection.

     

     

    I reached out to my F5 engineer that had helped me with the setup and he had me add the following new iRules->Data Group:

     

     

    APM_Citrix_ConfigXML

     

    Type: String

     

    For the single record in the group:

     

     

    String: myname.domain.com

     

    Value: /Citrix/Name/PNAgent/config.xml

     

     

    And enable Legacy mode on the Cloud Gateway Express.

     

     

    Unfortunately this didn't correct the problem. Is there something I'm still missing? The Cloud Gateway Express authentication is currently set for only "Username and Password". Do I need to enable Pass Through or another method?

     

     

    Thanks In Advance
  • Greg_Crosby_319's avatar
    Greg_Crosby_319
    Historic F5 Account
    Hi Nathan,

     

     

    Can you check to make sure you have a stream profile attached to your webui VS? It is required when using datagroups,

     

     

     

    Greg
  • And for the "Name" you have used your Store name? Are you not able to connect? Also, when you define your Account in the Receiver, you just need to enter the primary URL https://myname.domain.com - you don't need to do any URI.