Desktop Director gives you a nifty little helpdesk application that allows support personnel an insight into the end user experience when connecting to XenDesktop or XenApp.
This blog post details installing Desktop Director in a pure XenApp environment. My XenApp server is running Xenapp 6.5. The process itself is relatively simplistic but the first thing you need to do is get a copy of the software. This is available in the downloads section of the Citrix site, just log on with your MyCitrix id, browse to XenApp 6.5 (I access Enterprise Edition) and expand out the language you prefer. You should see a link like the below:
This separate iso contains the installation binaries. Simply access the ISO (burn it to disk or present it up to your VM etc) and open the Desktop Director folder. Double click on InstallDesktopDirector and work through the guided installation.
Desktop Director has 2 pre-requisites, .NT Framework 3.5 and IIS. The install routine took care of the installation of both of these for me. When asked for a XenDesktop controller I entered in the FQDN of my XenApp 6.5 controller server.
Once Desktop Director has been installed we need to configure the solution. This involves the following:
- Configure Desktop Director to contact one of our XenApp controllers.
- Allow Desktop Director through the firewall on the XenApp servers (port 2513).
- Configure each XenApp server for remote management.
To configure the Desktop Director server to contact XenApp, access the IIS Management Console and drill down to the DesktopDirector virtual application. In the right hand pane you will see “Application Settings”.
Double clicking allows us to configure the application settings. For XenDesktop an entry already exists for Service.AutoDiscoveryAddresses and it is this field that we populated earlier. This can be edited and the address of our XenApp server removed. For desktop Director to monitor XenApp we need to add another field for the application, Service.AutoDiscoveryAddressesXA.
To do this we simply click on the Add button on the top right of the screen.
We then name and populate our field.
We enter the server address of one controller per XenApp farm: Any of the other controllers in a XenApp farm are then used automatically for failover. Desktop Director does not load balance between controllers. If we are running multiple farms we separate the names of the designated controlelrs with commas. The Value field will look as below:
FarmAController,FarmBController
Once that’s done we just need to configure our XenApp servers. The next two steps can either be done manually or by using a GPO, for more than 2 or 3 servers, use of a GPO is the preferred method.
First we allow Desktop Director to connect to the controller servers on port 2513 (the old CMC port).
To maintain security the rule can be restricted to only allow access from the Desktop Director server.
We then enable Windows Remote Management on each XenApp worker server (Session Host). This can be done by running the WinRM QuickConfig command on each host.
This does three things.
-
It creates a listener to listen on port 80 (which will need to be allowed through the firewall if it isn’t already).
-
It sets the WinRM service to automatically start.
- It opens port 5985 on the server for external clients to manage the server. Again, this can be limited to the Desktop Director if required. This port is already configured as a disabled rule and can simply be enabled if required.
Once the above steps are done you should now be able to access Desktop Director using the URL http://servername/DesktopDirector.
As stated, WinRM can be configured using GPO’s and details on how to do that are at http://support.citrix.com/article/CTX125243. Equally, the firewall port (2513) can also be set using a GPO. This is true for our full administrative account. But what about helpdesk users ? Well, if they are full administrators on the XenApp servers then there is no problem. If a more restrictive assignment of rights is required this can be achieved by following the guide at http://support.citrix.com/proddocs/topic/director-200/director-cfg-machine-permission.html.
Hi Phil
Just looking at your desktop director install for xenapp6.5, I’ve installed director, ran the winrm on all xenapp servers, however when I logon to the director servers I can type a users id and it brings their name and just the server they are connected to,, but that is it.
I think it might be the port settings, but where do I need to go to set the local port setting to 2513 and the windows remote management properties.
thanks
matt
LikeLike