http://www.archy.net

Comments: (0)

Remote Desktop published application – Double upper case issue

Category : Citrix, EdgeSight, Microsoft, Presentation Server 4.5, Web Interface 5, WebInterface, Windows 2003, Windows 2008, XenApp, XenApp 5

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 :

[WFClient]
COMAllowed=Off
CPMAllowed=On
ClientName=
KeyboardTimer=50
MouseTimer=10
OutBufCountClient=118
OutBufCountHost=118
OutBufLength=512
PersistentCacheEnabled=On
ProxyFavorIEConnectionSetting=Yes
ProxyTimeout=30000
ProxyUseFQDN=Off
RemoveICAFile=yes
TransparentKeyPassthrough=Local
TransportReconnectEnabled=On
UpdatesAllowed=Off
VSLAllowed=On
Version=2
VirtualCOMPortEmulation=Off

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 user profile directory, it should make the trick if you don’t want to commit this change for everyone using the WebInterface.

Sources : http://support.citrix.com/article/CTX103444


Join the forum discussion on this post

Comments: (4)

Citrix Edgesight architecture scenario – part 2/2

Category : Citrix, EdgeSight, XenApp 5, XenApp 6, XenDesktop

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 Reporting Services servers, spliting wouldn’t be necessary.
  • Since we don’t have Resource manager anymore, consider to bring at least the same level of information in EdgeSight we had with RM with the Advanced license.
  • Make available a complete EdgeSight database diagram.
  • Provide a simple tool to build 1,2,3 custom report.
  • Correct these annoying bug : When a Desktop is publish, no statistics are recorded, this is the same for an application with an argument in the command line…

Useful Links :
EdgeSight Wikipedia

EdgeSight Forums

EdgeSight Under The Hood

Comments: (3)

Citrix Edgesight architecture scenario – part 1/2

Category : Citrix, EdgeSight, XenApp 5, XenApp 6, XenDesktop

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


Join the forum discussion on this post

Comments: (3)

Citrix Edgesight 5.2 SP1 : Could not create the Java Virtual Machine.

Category : Citrix, EdgeSight, Microsoft, Presentation Server 4, Windows 2003, Windows 2008

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


Join the forum discussion on this post

Comments: (2)

Citrix EdgeSight 5.3

Category : Citrix, EdgeSight, Uncategorized, XenApp 5, XenApp 6

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.

Join the forum discussion on this post

Comments: (0)

Citrix Edgesight XenApp Agent 5.x doesn’t start

Category : Citrix, Edgesight 5, Microsoft, Windows 2003, XenApp 5

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…”

snap00067

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

Comments: (5)

Ctxhide Look and Feel has stopped working

Category : Citrix, Microsoft, Windows 2008, XenApp 5

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…

snap00048

Click on read more to continue…

Comments: (2)

Edgesight – Making Citrix Stats work for you

Category : Citrix, Edgesight 5

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. 000041834_2

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

Comments: (0)

Update Citrix Edgesight 5.01 to SP1

Category : Citrix, Edgesight 5

This video shows the way you have to follow to update your Citrix Edgesight 5.01 to 5.01 with SP1. You have to log in Windows with the database service account if possible because for a reason I haven’t understand yet, as I’m using a nlb IIS Cluster with nlb SQL Reporting Services and a SQL 2005 cluster database, I was not able to complete the installation of Edgesight 5.01 SP1. (Watch bellow the version you’ll get)

snap00223

Click on continue reading to watch the video :

Comment: (1)

Error during Citrix Edgesight 5.01 setup

Category : Citrix, Edgesight 5, Microsoft, Windows 2003

During my experimental EdgeSight setup, I have to face different error, mostly because everything was not ready or not well configure on my side but it can happen.

I have install two Edgesight web server (Esx nlb) and two SQL Reporting Services server (Esx nlb too) with a database store on a SQL 2005 cluster.

I didn’t had the hand on the setup of the two nlb so things where a bit hard to understand since there is quiet a lot of issue and things to do to enable two VMWare ESX nlb communication. (I’m still working on it, any informations are welcome :) )

I will update this post everytime I will have an error, I hope it will help some of you.

  • Error : Setup was unable to locate the requiered SQL Server Client Tools. The SQL Server Client Tools can usually be located on the SQL Server installation disk.

snap00180

You just have to install client components of SQL Server 2005 (or 2008) and RTM first :)