Citrix XenApp 6.0 to XenApp 6.5 PowerShell Upgrade Utility Under the Hood

Citrix recently released XenApp 6.5. However, there is not a way to do an in-place upgrade from XenApp 6.0 to XenApp 6.5. This means that the Citrix administrator will have to uninstall XenApp 6.0 components and install XenApp 6.5 components. Citrix released a PowerShell utility to help in this process, and in this post I break that utility down into a Visio flowchart to you can understand what is going on behind the scenes.

Ever since I was a kid, I liked taking things apart.  Citrix recently came out with a PowerShell tool to help administrators turn XenApp 6.0 servers into XenApp 6.5 servers because unfortunately (or fortunately depending on the way you look at it), there is no in-place upgrade option from XenApp 6.0 to XenApp 6.5.

This utility is a PowerShell script that performs the following:

  • Checks to see if XenApp 6.0 is installed or not, and if the XenApp 6.5 installer is available.
  • Prompts for a password to silently run the install process after reboot.
  • Uninstalls XenApp 6.0 components. By default these include the Online-Plugin, Management Consoles, and XenApp Application Delivery role. Other components are included in the script and can be enabled for automatic removal.
  • Installs XenApp 6.5 and, by default, joins the server to the farm as a worker.
  • Verifies the join is successful by checking to see if the IMA service is running.
I think this script is really cool so I had to take it apart to see just how the script was doing these things.  I made some notes in the form of a flowchart and have provided the flowchart here for your viewing pleasure.

 

-or-
– or-
Click the picture below for .gif image of the flowchart

You can download the tool from Citrix’s website -> http://support.citrix.com/article/CTX130614

Visio Diagram of the Citrix Resource Manager Summary Database

Microsoft Visio drawing of the Citrix Resource Manager Summary Database.

Using the techniques explained in this article, I created the following graphical representations of the Citrix Resource Manager Summary Database.

Microsoft Visio Drawing of the Citrix Resource Manager Summary Database
Don’t have Microsoft Visio? No problem, just download a picture of the drawing here:
JPEG of the Citrix Resource Manager Summary Database (1770 x 1212)(800 x 600)

-OR-
Use the interactive pan and zoom web page here: (Note: requires IE 5.0 or above).
Interactive Pan and Zoom web page for the Citrix Resource Manager Summary Database