How to Run a CDF Trace on a Citrix Virtual Desktop

Citrix States:

 

How to Run a CDF Trace on a Citrix Virtual Desktop

Document ID: CTX117767   /   Created On: Jul 8, 2008   /   Updated On: Jul 18, 2008
Average Rating: 4

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

F control

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

Tracelog.exe


This document applies to:

  • XenDesktop 2.0 x32

 



Primary links

Custom Search

Who's new

  • Rullydery
  • eagenorce
  • rittaarier
  • swasseZex
  • gaterfoko

Who's online

There are currently 0 users and 3 guests online.

KrissysCorner.com RuthSwensonLaw.com CreativeLizardProductions.com

DISCLAIMER:

None of this has anything to do with us, someone else is responsible for the entire thing, and we have no idea who or why. We do not know anything about it. It may be alien life forms for all we know: we haven't a clue. You cannot blame us for anything that may result from your visit. That was entirely your own personal choice, made by you of your own volition, and without our knowledge. We do not, after all, have any control over you and cannot by any stretch of the imagination be expected to accept or acknowledge, be it legally or morally, any accountability for decisions made by you on an independent basis, utilizing your own free will, and without our intervention. We are therefore in no way, shape, or form answerable to anyone for any consequences arising from the aforementioned or indeed any other actions, similar or otherwise, because it was not us that did, or did not do anything. It is not even remotely our fault, and we are in no way prepared or willing to accept any liability, not even slightly, ever. We are, in fact completely and utterly blameless, in that it is definitely not our concern, and no blame can possibly be laid at our doorstep, even if we had one, the possession of which we hereby reserve as being entirely our own free choice. The onus is not on us at all, and furthermore, never has been. The entire matter is wholly beyond our control, and completely out of our hands, each of which are washed scrupulously clean of the whole business. We are not accountable for anything at all, and we hereby categorically deny all responsibility for all that has ever, or will ever happen. Our innocence is therefore wholly beyond doubt and absolutely unimpeachable, and so cannot, under even the remotest or unlikeliest circumstances, be brought into question. By clicking either on a link on this site, clicking on a link that leads to this site, or by arriving at this site by natural or supernatural means, you are in effect accepting responsibility for the fact that it is all entirely your own fault, down to the most miniscule detail, and that you are wholly accountable for whatever outcome may arise as a consequence of the aforementioned action or actions insofar as they were undertaken personally by you on an entirely voluntary basis and without any persuasion, coercion or influence from any party or parties other than yourself. Don't come sniveling to us, we are only figments of your imagination. I also agree that if I am ever with a contributor to this website during mealtimes I agree to pay for any super-sizing of their meal, or at least a nice dessert or one of those foo-foo drinks with an umbrella or a monkey. By admitting to have seen the worthless spineless drivel on this website (also known as content)

I Agree Wholeheartedly and Without Reservation to the above. (Except maybe for that part about the monkey.)

All Your Base Are Belong To Us.

Soylent Green Is People!

Never make a bet with a Sicilian when Death is on the Line!

No. Really, I do agree.