• View Communities
    • Citrix Developer Network
      The place for unfiltered straight talk on Citrix products. Blogs, code downloads, best practices, APIs, and more can all be found here.
    • Citrix Ready Community Verified
      Does it work with Citrix? Application compatibility questions are a thing of the past with the new Citrix Community Verified site.
    • Blogs
      Learn the latest from the Citrix employees who are building application delivery infrastructure technologies.
    • Blogosphere
      The Citrix Blogosphere is a window into the thousands of conversations taking place about Citrix and Application Delivery.
  •  Sign In
The Citrix Blog
Personal Blog
Thomas Berger
posted by Thomas Berger

When doing Infrastructure Assessments of customer XenApp environments it happens very often that we find out that the servers are not consistent in terms of XenApp Hotfixes and / or Printer Drivers. This is, as everybody can guess, definitively not Best Practice. It can make supporting the farm(s) very hard and can annoy the users as their published desktop / published applications behave differently every day.

Our task here is to document the differences, to enable the customer to homogenize their environment. Documenting this is sometimes very time intensive so I've used the spare time between two projects to build two "documentation" tools.

1. HotfixLister: Nothing really new, but it gives you a comma separated file which can be imported into Excel and shows a matrix of the distribution of hotfixes among the farm. The matrix looks like this:





2. PrinterDriverLister: Again nothing really new, but it gives you a similar matrix like the HotfixLister does:





I've tested the functionality within my test farm but unfortunately it is very small (as you can see), so I cannot test how it performs in larger farms.
So please be careful when running it in larger environments, and if possible drop me a note about how it has performed.

The usage is very simple:

1. Copy all files locally to one of the farm member servers.
2. Execute the tools from there.
3. Import the txt file into Excel.
4. Done.

This zip contains the tools (Download here).

Cheers,

Thomas

To satisfy the legal guys:

Disclaimer Notice

This software / sample code is provided to you "AS IS" with no representations, warranties or conditions of any kind. You may use, modify and distribute it at your own risk. CITRIX DISCLAIMS ALL WARRANTIES WHATSOEVER, EXPRESS, IMPLIED, WRITTEN, ORAL OR STATUTORY, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NONINFRINGEMENT. Without limiting the generality of the foregoing, you acknowledge and agree that (a) the software / sample code may exhibit errors, design flaws or other problems, possibly resulting in loss of data or damage to property; (b) it may not be possible to make the software / sample code fully functional; and (c) Citrix may, without notice or liability to you, cease to make available the current version and/or any future versions of the software / sample code.  In no event should the software / code be used to support of ultra-hazardous activities, including but not limited to life support or blasting activities.  NEITHER CITRIX NOR ITS AFFILIATES OR AGENTS WILL BE LIABLE, UNDER BREACH OF CONTRACT OR ANY OTHER THEORY OF LIABILITY, FOR ANY DAMAGES WHATSOEVER ARISING FROM USE OF THE software / SAMPLE CODE, INCLUDING WITHOUT LIMITATION DIRECT, SPECIAL, INCIDENTAL, PUNITIVE, CONSEQUENTIAL OR OTHER DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.  Although the copyright in the software / code belongs to Citrix, any distribution of the code should include only your own standard copyright attribution, and not that of Citrix.  You agree to indemnify and defend Citrix against any and all claims arising from your use, modification or distribution of the code.


 

Labels

xenapp xenapp Delete
hotfix hotfix Delete
tools tools Delete
printer driver printer_driver Delete
lang-eng lang-eng Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jul 31, 2008

    Anonymous says:

    Hi Thomas, i tried it in a 48 server farm en it took about 2 minutes. Thanks...

    Hi Thomas,

    i tried it in a 48 server farm en it took about 2 minutes. Thanks! These are the tools i like.

    Cheers,

    Stefan 

  2. Jul 31, 2008

    Anonymous says:

    Received an error when running either utilities: Unable to cast COM object of t...

    Received an error when running either utilities:

    Unable to cast COM object of type 'MetaframeCOM.MetaframeFarmClass' to interface type 'MetaframeCOM.IMetaframe7'. This operation failed because the QueryInterface call on the COM component for the interface with IID '

    Unknown macro: {ED62F60E-63C2-11D-94D8-00C04FB0F326}

    ' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE))

     My farm: CPS 4.0, with Rollup 5, Windows Server 2003 SP2.

     Any help would be appreciated.

    -duc-

    1. Aug 01, 2008

      Anonymous says:

      According to this [1] forum thread this is a problem cause the 4.0 version does ...

      According to this [1] forum thread this is a problem cause the 4.0 version does not support the IMetaframe7. Seems to work just with 4.5 an above

       [1] http://support.citrix.com/forums/thread.jspa?forumID=44&threadID=94888&messageID=658033&

Add Comment