Search
  • Chris Keim

How to Load Balance Citrix Director

Updated: Nov 2



Applicable Products

  • Citrix XenApp / XenDesktop 7.15

  • Citrix NetScaler 11.x / 12.x

Prerequisites

  • Host names and IP addresses of servers where Citrix Director is installed and configured.

  • Monitor name.

  • The appropriate certificate installed on both the Citrix Director servers and NetScaler if using SSL to access Director.

  • Service group name.

  • Responder policy action name.

  • Responder policy name.

  • Virtual server name.

  • IP address for the virtual server.

  • Timeout set for Citrix Director. By default this is set to 245.


Procedure

1. Create the Citrix Director servers in NetScaler:

  • Name = [nameOfServer]

  • Select either IP Address or Domain Name and enter either one accordingly. Typically I will select Domain Name and enter the FQDN as long as DNS is properly load balanced.

  • Optionally, type any comments. Typically, I will enter the rolls of the server in this field.


2. Create a monitor:

  • Name = [nameOfMonitor]

  • Protocol = [HTTP or HTTPS, depends if you are using SSL or not]

  • If using HTTPS, make sure Secure is checked.

  • HTTP Request = GET /Director/LogOn.aspx?cc=true

  • If single sign on is enabled, then set the response code to 302.

3. Create a service group:

  • Name = [nameOfServiceGroup]

  • Protocol = [SSL or HTTP]

  • Add group members created earlier.

  • Add the monitor created earlier.

4. Create a responder policy action:

  • Name = [nameOfResponderPolicyAction]

  • Type = Redirect

  • Expression = "/Director"

5. Create a responder policy:

  • Name = [nameOfResponderPolicy]

  • Action = [actionCreatedEarlier]

  • Expression = HTTP.REQ.URL.PATH.EQ("/")

6. Create a virtual server:

  • Name = [nameOfVirtualServer]

  • Protocol = [SSL or HTTP]

  • IP Address = [enterIPAddressForTheVirtualServer]

  • Port = [80 or 443]

  • Add the service group created earlier.

  • Add the server certificate if using SSL.

  • Persistence = COOKIEINSERT

  • Time-out = 0

  • Backup persistence = SOURCEIP

  • Backup time-out = [timeout set for director, by default this is set to 245]

  • Add the responder policy created earlier.



©2018 by ChristopherKeim. Proudly created with Wix.com