In a new mission, I had to learn a new environment based on Citrix XenDesktop 4, Provisioning Services 5.6 and vmware vSphere 4.1. This week, I had a weird issue, I didn't change anything, I just didn't understood why suddenly VMs stopped to be available, in fact VMs were available but for some reason, it was impossible for everyone to access it through the Web Interface. VMs were working well XenDesktop brokers were fine Web Interface was ok Citrix License Server was up and running with correct license vmware vSphere was ok as well, VMs were running without any problem on it On the Web Interface, the following message was display while trying to launch a XenDesktop virtual desktop : "xxxxx is currently unavailable. try reconnecting and, if the problem persists, contact your administrator." On the DDC, XenDesktop Desktop Delivery Controller, I found event logs with ID 1301, source : Citrix Desktop Delivery Controller, with the following description : "The delivery controller failed to broker a connection for user xxxxx to desktop group yyyyy. The delivery controller cannot find any available virtual desktops. Please add more virtual desktops to the desktops group. If the problem is due to existing virtual desktops not becoming available, refer to Citrix Knowledge Base article CTX117248 for further information." It look like a communication problem between XenDesktop DDCs and vmware Virtual Center, so I checked every component, DDCs, Virtual Center.... I found nothing really relevant. So the next step was to enable extended logs on the DDC side, after a short search on Citrix website I found how to do do with CTX117452. I got a lot of logs, but after one day scratching my head to try to understand why without changing anything I had such behavior, I just had bunch of logs but I was missing something... Here is a short part of the pool_log.log file : I also took a log in the virtual desktops pool properties to check if everything was alright... It wasn't :   All the VMs within the Citrix Delivery Service Console were disassociated with Active Directory and a message confirm I had communication problem between vmware Virtual Center and Citrix XenDesktop : "Virtual machines could not be retrieved from the hosting infrastructure" and then a pop-up saying : "Error occurred whilst validating the list of virtual desktops. For more information about each error, hover the mouse over…

If you're used to check the IMA service and verify if everything is running fine on your XenDesktop 4 or XenApp environment, you won't find any IMA in XenDesktop 5. This is one of the huge changes Citrix have done in the new XenDesktop, this is a major change because no more IMA means many things in term of architecture and product functionality. So as I just mention, no IMA in XenDesktop 5 Controller (DDC), which means there is no IMA data store or local host cache (!!!) No more XML Blob, there is no more Active Directory Configuration Wizard or Farm OU, XenDesktop 5 doesn't need Terminal Services any more, everything is stored in a brand new SQL database and there is no support for Oracle or Access. <-- Wow ! These are a big changes right ?  I will explain more the impact of these change regarding what we're used to and the consequences. First thing first, when you want to install XenDesktop 5, you have choice between the "Quick Deploy", "Join existing deployment",  "Desktop deployment" and "Application deployment". You can also notice the installer is simpler than the one in XenDesktop 4 "Quick deploy" option is the fastest way to deploy a fully functional XenDesktop installation. All in one box, Citrix License Server, the DDC, and Database. "Join existing deployment" add a XenDesktop Controller to an existing site. "Desktop deployment" advanced installation for large deployment, to use with Citrix Provisioning Services. Regarding the installation, on the server side, XenDesktop Controller supports Windows Server 2008 and 2008 R2 only, exit Windows 2003. If you want to use the “Quick Deploy” mode, then all components must be on same box, it also assumes SQL Express is installed on same machine. Microsoft PowerShell 2.0 is downloaded during the installation, you will need to manually install PowerShell 2.0 if you don't have internet access. You can use the same License Server as XenDesktop 4 (11.6.1) Desktop Controller – System Requirements Microsoft Windows Server 2008, Standard or Enterprise Edition, with Service Pack 2 Microsoft Windows Server 2008 R2, Standard or Enterprise Edition Service Pack 1 will be supported Microsoft .NET Framework, Version 3.5, with Service Pack 1 Microsoft Internet Information Services (IIS) and ASP.NET 2.0 IIS is required only if you are installing the Web Interface, the License Server, or Desktop Director Controller – Database Requirements Microsoft SQL Server 2008 R2 Microsoft…