Citrix XenDesktop 7 – Installation 14 Comments

XenDesktop 7 is now available with different features and entitlements (link) and yes there is a lot to read on this webpage but most of everything is already known features. So I will just write now what I read between the line : No more Citrix Streaming Application (RIP) in favor of Microsoft APP-V XenServer is now version 6.2 and Open Source ! http://www.xenserver.org/ Seamless Local Apps is now official and build-in. PVS is version 7 now and MCS continue its evolution. (I'll come back later on a blog post about that) Edgesight is included in XenDesktop 7 (Another blog post subject) Storefront is now version 2 Receiver for Windows is v4 Windows 8 and Windows 2012 supported Many other changes I need to cover later on Several editions are available today : Now this is time to show you how the installation process, pretty straight forward as I already mention and this is for those who are curious about this new version and don't have tie to POC it or try it right away.   To download Citrix XenDesktop 7, this is the way -> [link] XenDesktop 7 Edocs : [link] XenDesktop 7 Admin Guide : [link] XenDesktop 7 Upgrade Guide : [link] XenDesktop 7 Install Guide : [link]

Citrix XenApp "Iron Cove" 6.5 Tech. Preview (Part.1) Citrix XenApp "Iron Cove" 6.5 Tech. Preview (Part.2) Citrix XenApp "Iron Cove" 6.5 Tech. Preview (Part.3) With Windows 2008 and after, Remote Desktop Services included a new way to disable logon on the machine (check this article to read more about it and thanks to Laurent Falguière) the classic way when disabling logon is always bringing problems when a user tried to launch his disconnected application hosted on a disable server... Now you can manage this behavior : Allow logons and reconnections. Enable all logons, reconnections, and session sharing (default setting). Prohibit logons and reconnections. Reroute all logons, reconnections, and session sharing to other servers. Prohibit logons only. Reroute new connections and session sharing, but allowing users to reconnect to disconnected sessions. This state persists until you change it manually. Prohibit logons until server restart. Reroute new connections and session sharing, as above, but after restarting the server, the setting automatically changes back to Allow logons and reconnections. Coming with this XenApp preview, you can find in the ISO file a new Citrix EdgeSight version, 5.4 S540 Tech Preview. Since my XenServer @ home just came back to life, I didn't had time to go very deep with this new EdgeSight release, here are so far what I noticed : EdgeSight 5.4 support Microsoft SQL 2008 R2 The new EdgeSight for XenApp client version is 5.4.0.5094 Tech Preview, only for XenApp 6 and XenApp 6.5 Older client version doesn't seem to work (my XenDesktop VMsare not showing up in EdgeSight console) EdgeSight 5.4 seems to integrate IPv6 parameters Some new options, like exporting licenses usage to a file (It doesn't work yet...) A great tool very under rated I think, this is XenApp Power and Capacity Management. This tool is going from version 1 to version 2.1. This tool helps you to switch on and off your XenApp servers regarding a load you configured within PCM console. You can read XenApp Power and Capacity Management with provisioned machines blog post I made last year. The console doesn't change at all, except in the Machine Manager (Connection to the hypervizor) where you can now use and connect XenApp PCM with Hyper-V, SCVMM and ESX with vCenter ! Now XenApp PCM is open to all big hypervizor on the market, I will implement it every time I'll have a new XenApp architecture to deliver…

VDI Project – Not only a XenDesktop project (part.1) VDI Project - The framework (part.2) VDI Project - Hypervisor war (part.3) VDI Project - Desktops and applications delivery (part.4) VDI Project - User Environment Manager (part.5) Beginning a new project is every time a new challenge, new team, new processes and new environment. Each customer have its own past IT history and,  depend of the size, different IT, politics and complexity. This time I'm a desktop architect and I've been hired mostly for my Citrix skills. The challenge is the size of this new project, I will design for sure some Citrix architectures, XenDesktop, XenApp, PVS, maybe Access Gateway or Netscaler on a very large scale but I'm also responsible to design a complete workstation delivery service (automation / industrialization) and address all kind of endpoints, from the "classic" workstation to the well known iPad. This is my largest XenDesktop 5 project, I will use XenDesktop to bring flexibility and mobility to users. I will write some blogs along the project because I think this will be a great experience to share, technical and not technical. I can't wait to post some very technical stuff about IOPS with Citrix Provisioning Services, XenDesktop and Machine Creation Service related with storage. I will post every major subject for ex : The Software Framework, The Hypervisor War (these two blogs are almost finished) etc etc... I also want to share the non technical subjects because this is how a project live... Changing the way people are working in a company can be very painful, first you need to bring the idea of a change in their everyday life and then prove them they will have more time to work on more important project. Then you show they can save some money within 3 or 5 years. I can tell you this is the big part of a project and the less fun (for me) but this is a mandatory part of every project : Show the company board and managers how much they can save and explain to the IT staff they will be able to spend more time on larger scale issue and project, work more efficiently. This is a lot of work, first administrative / politics, then technical (POC) and very technical (Global Architecture) And I always I will learn so many thing, and I'm sure it will be a great…

This is the idea I have from time to time, and maybe Citrix are already on it, but I wanted to share this because you might want to add your own ideas to the list. Synergy in San Francisco is very soon, it might be the right time to come to some of the product managers and exchange about some of these items. XenCenter Console for iPad (and iPhone ?) XenCenter Console for Mac OSx XenServer statistics in EdgeSight Background customization back in the Citrix Receiver for iPad Free move and placement of shortcuts back in the Citrix Receiver for iPad Capacity and Power Management for vSphere and Hyper-V Microsoft SQL 2008 R2 support for EdgeSight XenClient support for MacBook hardware XenDesktop Offline Desktop in XenClient That's it for today, but I'm sure I will have some more idea very soon... I'll update this blog then.

At one of my customer place, we need to publish mstsc.exe (RDP Client) through XenApp 4.5 on Windows 2008 x64. Users complained about a weird keyboard behaviour. While typing in their session, users stated using shift for the first letter, the second letter was upper case as well. I'va made a quick video to show you this issue, you can watch it bellow :   On the Citrix Web Interface, one ICA file is used as a template for ICA file creation, default.ica. I edited this file to check what was in : In the WFClient (section bellow) I found the line KeyboardTimer=50 which mean at the end of the specified time period the keyboard data are sent to the server. I didn't wanted to modify this value without beeing able to test it before, so I right clicked on the published Remote Desktop icon to download the launch.ica file (generated with the defgault.ica and the 50ms value) saved it and the edited it changing the keyboardTimer value to 25 then 15 then 10 and finnaly 5. I had the issue until the last value 5ms tested. Now I need to make some more test to check if the bandwith consumed is really highter compare with the 50ms default value. I will update this post with the statistics result (Edgesight) Update : 1st July 2010 I've used Citrix Edgesight to check what's going on while I run some test toward ICA Session Traffic and ICA Session I/O. To run this test I created a script which open notepad and type a text (about 30/40 lines) so the same text input will be use for all the tested values. I made this test with KeyboardTimer=50 (default), KeyboardTimer=25 and KeyboardTimer=5 and here are the results :   I did blank the "non needed" data to avoid confusion and as you might notice, there is not a huge difference between these different values. I decided to commit the change for wan users and I will check in deeper statistics will real usage on weeks/month, before/after the change. I wanted to blog this issue because this is an annoying one and you might search a long time around the mstsc configuration, registry tips and tunning before finding out this was the KeyboardTimer value in the default.ica file on the Citrix WebInterface. You can also add the line KeyboardTimer=## (your value) to your WFCLIENT.INI file in your…

If you need to build an EdgeSight architecture for more than 6000 agents, you need to know you will have to split your database and EdgeSight server (web server) associated with it. This next architecture doesn't include Edgesight database broker you will need for XenDesktop VDI deployment. If some of you are looking forward a VDI deployment for EdgeSight just let me know, Twitter, Facebook, email, comment or phone, I can make it simple for you, and you won't need to read the 300 documentation pages ! This is a slightly different approach with file share and database broker... A typical data upload size for an EdgeSight for Endpoints agent is 80KB. EdgeSight for XenApp agent data uploads are typically larger due to the greater amount of data collected and can reach 300KB. These data upload sizes depend on a number of factors such as the agent properties and the usage profile of the system hosting the agent. From Edgesight Admin guide page 22. Of course it depend how your worker are configured and what data you need to collect. I'm still trying to figure our how to calculate the amount of data transferred from agents to the web server, this is a complex calculation and it take a lot of time for something Citrix should provide. So architecture for large environment is the same as the one you could watch in the previous blog - Citrix Edgesight architecture scenario – part 1/2 - except you need to split database and EdgeSight server. Only one Citrix license server and you can also keep one SQL Reporting Services for both Edgesight servers. This configuration means you need to configure agents with a different http address, for example, at one customer I had 4000 XenApp servers and 5000 Endpoint agents, so I choose to split Endpoint agents on one Edgesight server and all XenApp on the other. This is not very handy when you want to check from XenApp servers to the endpoint statistics, but this is the way it is for now.  By multiplying EdgeSight environment, complexity is getting stronger and find the good information is sometimes a matter of hours instead of minutes... What Citrix should consider for the future of Edgesight : Stop to check Citrix licenses on the Edgesight Servers, only agents is enough I think, then we would be able to load balance Edgesight Servers and SQL…

During past years, I had to design and deploy several kind of Citrix Edgesight architectures, from the "POC" design to "Large deployment". I had to consider what was the best way to use this product and handle the number of devices to monitor. One type of architecture I didn't needed to use yet is with Citrix XenDesktop Virtual Desktop Monitoring and Edgesight Agent Database Server. Since Ressource Manager (RIP) disappear with Citrix XenApp 6, Edgesight became a mandatory tool to have the big picture of your XenApp farms health. It's of course a lot more than that with Platinum licenses, this will be the subject for another blog. This blog focuses on Citrix Edgesight 5.3. Important notes regarding supported database : SQL Server 2008 (Standard or better) or SQL Server 2005 SP2 or later (Standard or better). Note that SQL Server 2008 R2 is not supported, Important: Note the following configuration requirements: In SQL Server 2008, the Reporting Services Role called Manage Shared Schedules no longer exists as a stand-alone role; it is now part of the System Administrator Role. For more information, see Configuring Reporting Services for Citrix EdgeSight. SQL Server must be configured for case-insensitive collation. Case-sensitive collation is not currently supported for this release. SQL Server should be configured to use Windows Authentication or Mixed-Mode Authentication. Reporting Services is included with SQL Server 2008 and SQL Server 2005. Reporting Services can be installed on a separate machine from the data source. SQL Agent Service running and set to start automatically (if Reporting Services is installed on the machine) First when you need to practice and want to check out what is Citrix Edgesight, you can easily setup a VM with Microsoft Windows 2008 R2 x64, install SQL 2008 and its SP1 with Reporting Services. Then you can configure Internet Information Services (IIS) to host Edgesight's website and install the Citrix License Server as well on the same machine. Keep in mind this is for Proof Of Concept only and shouldn't be used in Production environment. Before going further you need to estimate the Edgesight SQL Database size regarding the number of agent deployed. Couple of year ago I had to request the mathematics law to Citrix support to know about that; now there is a tool EdgeSight Database Size Estimation Tool this is a Excel sheet witch estimate automatically the requested database size needed regarding the number…

This issue appear on my Presentation Server 4 HR5, 32bit only, x64 servers (Windows 2003 & 2008) were fine after deploying Citrix Edgesight Agent for XenApp 5.2 SP1. (build 5.2.3012.0) Impacted applications : All java applications using more than 706mb of reserved memory, command line example :  c:\Progra~1\Java\jre1.5.0_07\bin\javaw -Xms8m -Xmx1024m -Dcai.starter.jvm.options="-Xms8m -Xmx1024m" -classpath d:\xxxxxxxxxxxxx Visual Studio 2008 Pro SP1 x64 crashes when Citrix Edgesight 5.2SP1 is installed, process CL.exe. Reminder : -Xmsn Specify the initial size, in bytes, of the memory allocation pool. This value must be a multiple of 1024 greater than 1MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 2MB.       -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB.  Affected system : Microsoft Windows 2003 R2 Sp2 x32 with Citrix Presentation Server 4 HR5 Error message : Or Even if the Presentation Server all have 4Gb of ram,  and freshly rebooted (567mb memory occupation) the java application doesn't want to start. I first uninstall Citrix Edgesight, and checked everything was fine, it was fine with prior Edgesight for XenApp's version. Someone had the same issue, only one person posted this issue with a java application on Citrix's forums : http://forums.citrix.com/thread.jspa?threadID=261266&tstart=0  About the Visual Studio 2008 SP1 x64 the process CL.exe seems the one to exclude to make it work. Workaround : To avoid EdgeSight for XenApp agent "blocking" a process, you need to hade the executable program to the following registry key : You need to keep in mind, adding file to this registry key excluding them from statistics (information to confirm) Update 30 march 2010 : There is no fix yet for this issue, Edgesight for XenApp 5.3 next version should include the fix, but not before Q2 2010...

With this new version, Citrix give support to XenApp 6 and Microsoft Windows 2008 R2. Beware, the new Edgesight XenApp Client 5.3 is only made for Windows 2008 R2 and XenApp 6. For prior OS and XenApp version you must use the 5.2.1 version. There are a bunch of new reports available now, since Resource Manager is dead, Citrix needs to implement everything what we were use to find in RM. This is a small step but nothing big except for the licensing part, a brand new section is dedicated for licenses reporting. What's new ? Monitoring of Citrix License Servers and reporting on license usage by product group or individual products. The license servers to be monitored are specified at Configure > License Monitor Configuration > License Servers. License usage reports are available on the Track Usage tab. Monitoring of Published Applications and reporting on application launches and unique users. Published application reports are available on the Track Usage tab and the Browse tab. Monitoring of session duration by farm or user group. Session duration reports are available on the Track Usage tab and the Browse tab. EdgeSight Agent support for XenApp 6 Warning : if you have a SQL 2000 database, you need to upgrade to SQL 2005 or SQL 2008 ! So here are some screen shot about the new tab with the two licenses nodes : It looks very nice, but you cannot subscribe these license reports to generate an automatic email (yet)... There still an annoying bug with the filter option on many pop-up pages... The problem is, if you don't know there is a filter button outside the actual windows you can reach while playing with tab key, you cannot apply your filter... It has always been here in Edgesight 5.x versions... (I will post more detail about that tomorrow) Next blog about Edgesight will be all architecture I've deployed for different customers

I have a new issue... I am updating all Edgesight XenApp agents to 5.2 and I have problem on only some servers. These servers have remapped drivers ( m: & n: ) and run Windows 2003 R2 Sp2. The installation is successful without any error but after a reboot the service doesn't want to start with the message : "The Citrix System Monitoring Agent service on Local Computer started and the stopped..." In Event Logs Type: Error Event Source: Citrix System Monitoring Agent Event Category: None Event ID: 34 Date: 16/10/2009 Time: 09:49:32 User: AUTORITE NT\SYSTEM Computer: EMCXPA000 Description: The Citrix System Monitoring Agent was unable to startup. Please consult the Sys_event_txt.txt agent log in your data directory for details. Click on read more to continue Then : Event Type: Error Event Source: Citrix System Monitoring Agent Event Category: None Event ID: 22 Date: 16/10/2009 Time: 09:49:37 User: AUTORITE NT\SYSTEM Computer: EMCXPA000 Description: The Citrix System Monitoring Agent has attempted to recover from a database error but was unable to do so. The when I go to check the Sys_event_txt.txt log file : 2009-10-16 09:49:32 Core                     Service                  ----- Starting Agent on EMCXPA000 version 5.2.2183.0 ----- 2009-10-16 09:49:32 Core                     Service                  Current service state is 'START_PENDING' 2009-10-16 09:49:32 Core                     Collector                Starting... 2009-10-16 09:49:32 Core                     Collector                Database connection is local. 2009-10-16 09:49:32 Core                     RSI                      RsiProduct (Core): successfully opened rsi file: M:\Program Files\Citrix\System Monitoring\Agent\Core\Core.rsi 2009-10-16 09:49:32 Core                     RSI                      RsiProductDatabase (Core): State=UNKNOWN Unable to open database. Error querying database service: 20 | I/O error for file "aliases.conf" | Error while trying to open file | The data is invalid. 2009-10-16 09:49:32 Core                     Collector                Failed (4313) to initialize product: M:\Program Files\Citrix\System Monitoring\Agent\Core\Core.rsi 2009-10-16 09:49:32 Core                     Collector                Error initializing MPACollector. hr: 0x80004005 2009-10-16 09:49:32 Core                     Collector                ----- Core Collector Failed to Start ----- 2009-10-16 09:49:32 Core                     CSM Update               ~~~~~ Started Citrix System Monitoring Update and Maintenance '/s /t /v /md' ~~~~~ 2009-10-16 09:49:32 Core                     Service                  Unable to initialize collector 2009-10-16 09:49:32 Core                     CSM Update               Shutting down the Citrix System Monitoring Agent 2009-10-16 09:49:32 Core                     Service                  Shutting down collector... 2009-10-16 09:49:32 Core                     CSM Update               Failed to shutdown service rscorsvc.  Error=1052 2009-10-16 09:49:32 Core                     Service                  Current service state is 'STOPPED' 2009-10-16 09:49:32 Core                     CSM Update               Service state for rscorsvc is 'START_PENDING' 22009-10-16 09:50:08 Core                     CSM Update               Error querying database service: 21 | I/O error for file "RSDatr.fdb" | Error while trying to write to file | The operation completed…