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]

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…

Reference problem post : http://forums.citrix.com/thread.jspa?messageID=1409280 Here is my environment : Windows 2008 SP2 with MUI pack installed and Citrix XenApp 5 with latest hotfixes and Citrix Edgesight XenApp Agent 5.1 . I get this error when I open a console on the XenApp servers and it seems to popup in some user's session... Click on read more to continue... Problem signature:   Problem Event Name: BEX Application Name: CtxHide.exe Application Version: 5.0.0.5357 Application Timestamp: 48a7429b Fault Module Name: apphelp.dll Fault Module Version: 6.0.6002.18005 Fault Module Timestamp: 49e036f3 Exception Offset: 000012a5 Exception Code: c0000005 Exception Data: 00000008 OS Version: 6.0.6002.2.2.0.16.7 Locale ID: 1036 Additional Information 1: fd00 Additional Information 2: ea6f5fe8924aaa756324d57f87834160 Additional Information 3: fd00 Additional Information 4: ea6f5fe8924aaa756324d57f87834160 Read our privacy statement: http://go.microsoft.com/fwlink/?linkid=50163&clcid=0x0409 And in the system's event log : Log Name:      Application Source:        Application Error Date:          29/09/2009 14:40:59 Event ID:      1000 Task Category: (100) Level:         Error Keywords:      Classic User:          N/A Computer:      EMCXPA1031.emea.cib Description: Faulting application CtxHide.exe, version 5.0.0.5357, time stamp 0x48a7429b, faulting module apphelp.dll, version 6.0.6002.18005, time stamp 0x49e036f3, exception code 0xc0000005, fault offset 0x000012a5, process id 0x18a0, application start time 0x01ca410218e4f98f. Event Xml: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2009-09-29T12:40:59.000Z" /> <EventRecordID>3694</EventRecordID> <Channel>Application</Channel> <Computer>EMCXPA1031.emea.cib</Computer> <Security /> </System> <EventData> <Data>CtxHide.exe</Data> <Data>5.0.0.5357</Data> <Data>48a7429b</Data> <Data>apphelp.dll</Data> <Data>6.0.6002.18005</Data> <Data>49e036f3</Data> <Data>c0000005</Data> <Data>000012a5</Data> <Data>18a0</Data> <Data>01ca410218e4f98f</Data> </EventData> </Event> I found some guys who have exactly the same issue and it seems MUI related, the thread on the Citrix's forum is here : http://forums.citrix.com/thread.jspa?messageID=1409280 . Update 01 October 2009 10:00am : I got a dump of this crash : ******************************************************************************* *                                                                             * *                        Exception Analysis                                   * *                                                                             * ******************************************************************************* Unable to load image c:\Program Files (x86)\Citrix\System32\ctxhide.exe, Win32 error 0n2 *** WARNING: Unable to verify timestamp for ctxhide.exe Unable to load image C:\Windows\System32\csma_ldr32.dll, Win32 error 0n2 *** WARNING: Unable to verify timestamp for csma_ldr32.dll *** ERROR: Module load completed but symbols could not be loaded for csma_ldr32.dll ************************************************************************* ***                                                                   *** ***                                                                   *** ***    Your debugger is not using the correct symbols                 *** ***                                                                   *** ***    In order for this command to work properly, your symbol path   *** ***    must point to .pdb files that have full type information.      *** ***                                                                   *** ***    Certain .pdb files (such as the public OS symbols) do not      *** ***    contain the required information.  Contact the group that      *** ***    provided you with these symbols if you need this command to    *** ***    work.                                                          *** ***                                                                  …

I was looking for the way to improve statistics from Edgesight database and I found this excellent website http://wagthereal.wordpress.com/ with a guide to use reporting services and making something from it. Part 1 : Making Citrix Stats Work for You Part 1 Part 2 : Making Citrix Stats Work for You Part 2 Part 3 : Making Citrix Stats Work for You Part 3 Part 4 : Making Citrix Stats Work for You Part 4 Part 5 : Making Citrix Stats Work for You Part 5 Part 6 : Making Citrix Stats Work for You Part 6