How to Run a CDF Trace on a Citrix Virtual Desktop
How to Run a CDF Trace on a Citrix Virtual Desktop How to Run a CDF Trace on a Citrix Virtual Desktop
Citrix States:
How to Run a CDF Trace on a Citrix Virtual Desktop
productFamilyKey3 = "xd"; topics3 = ""; productFamilyKey = productFamilyKey3.replace("/","--") + "/"; topics = topics3.replace("/","--") + "/";
Summary
This article describes how to run a Citrix Diagnostic Facility (CDF) trace on a Citrix Virtual Desktop
Background
The Citrix Virtual Desktop Agent (VDA) installs specific services which are not present on a Desktop Delivery Controller (DDC) server and therefore if you want to trace these services, for example, to connect or disconnect specific items concerning an issue, you must run the trace on the Virtual Desktop itself and not on the DDC.
Services specific to a VDA:
Citrix Common Gateway Protocol (CGP) Server Service
Citrix Desktop Service
Citrix ICA Service (PortICA)
Procedure
Because you cannot use the Access Management Console to collect CDF traces on a Citrix Virtual Desktop you must use an alternative method, such as Tracelog.exe and CDFControl.
1. Download tracelog.exe from the following location: http://www.microsoft.com/downloads/details.aspx?FamilyId=49AE8576-9BB9-4126-9761-BA8011FABF38&displaylang=en
2. Install tracelog.exe on the Windows XP computer running the Citrix Virtual Desktop Agent that you are troubleshooting.
3. Launch CDFControl on the Windows XP computer where the Citrix Virtual Desktop Agent is installed and select the relevant modules. Click Create ctl File as shown in the screen shot below to create the .ctl file. You will need to specify this .ctl file in step 4. For more information on using CDFControl please refer to CTX111961 – CDFControl

4. To start the logging, run the TraceLog command from a command prompt on the master Virtual image or from within the a virtual desktop session itself:
TraceLog -start <logname> -guid <ctlfile> -flag 0xfffffff -level 9 -f <logfilename>
Example: if the ctl file is called Gina.ctl, then you would use the following command:
TraceLog -start GinaLog -guid Gina.ctl -flag 0xfffffff -level 9 -f ginaLog.etl
Note: The log file generated has a file extension .etl.
5. Once the trace has been started, you can log off of the desktop session. The log will continue to run until manually stopped.
6. To stop the log, run the following command:
TraceLog -stop <logname>
Or, continuing with the example used in this document:
TraceLog -stop GinaLog
Note: You can also get a list of what logs are currently active and being collected by running TraceLog with the -l parameter
More Information
CTX111961 – CDFControl
This document applies to:
User login
Who's new
- Rullydery
- eagenorce
- rittaarier
- swasseZex
- gaterfoko