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: (2)

Citrix XenApp – Hiding system drives part 2/2

Category : Citrix, Microsoft, Presentation Server 4, Presentation Server 4.5, Windows 2003, Windows 2008, Windows 2008 R2, XenApp 5, XenApp 6

This is the second part, here is the link to the first part : Citrix XenApp – Hiding system drives part 1/2

If you read the first part, now you know how to apply the Microsoft Windows 2003/2008/R2 GPO to hide A,B,C or/and D drives. But what’s happening if you have a E: drive or O: ? You cannot use this GPO anymore, you need to create your own. This is simple to understand how it works, just read what’s follow.

By default the Hide Drives part in the system.adm file look like this :

POLICY !!NoDrives
   EXPLAIN !!NoDrives_Help
      PART !!NoDrivesDropdown          DROPDOWNLIST NOSORT REQUIRED
         VALUENAME "NoDrives"
          ITEMLIST
                NAME !!ABOnly           VALUE NUMERIC 3
                NAME !!COnly            VALUE NUMERIC 4
                NAME !!DOnly            VALUE NUMERIC 8
                NAME !!ABConly          VALUE NUMERIC 7
                NAME !!ABCDOnly         VALUE NUMERIC 15
                NAME !!ALLDrives        VALUE NUMERIC 67108863
                ;low 26 bits on (1 bit per drive)
                NAME !!RestNoDrives     VALUE NUMERIC 0 (Default)
          END ITEMLIST
     END PART
   END POLICY
 
[strings]
ABCDOnly="Restrict A, B, C and D drives only"
ABConly="Restrict A, B and C drives only"
ABOnly="Restrict A and B drives only"
ALLDrives="Restrict all drives"
COnly="Restrict C drive only"
DOnly="Restrict D drive only"
RestNoDrives="Do not restrict drives"

Comments: (5)

Citrix XenApp – Hiding system drives part 1/2

Category : Citrix, Presentation Server 4, Presentation Server 4.5, Windows 2003, Windows 2008, Windows 2008 R2, XenApp 5, XenApp 6

Hiding system drives C, D, floppy if there is still one and CDRom seems to be easy but I saw many many time at some customer’s place administrator unable to complete this simple operation. The reason is in most of the case, the administrator doesn’t really know how to manage GPO and what is difference between user and machine GPOs.

First you need to know there is a built-in GPO in Microsoft Windows 2003 / 2008 / R2 with these settings ready to be set.

To set it up, you need to create a new GPO or edit an existing one and find these two GPO bellow as follow :


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: (8)

Citrix Online Plug-in for Mac, SSL Error 61: You have not chosen to trust…

Category : Apple, Citrix, Mac OSx Snow Leopard, Secure Gateway VPX, XenApp 5, XenApp 6, XenApp Plugin, XenServer 5.5

In this post I explain how I tried to troubleshoot this issue, if you need the solution, go at the end of this post.

My company (Activlan) had to renew our certificate installed on our Citrix Secure Gateway 3.1.3. As you might know, Citrix has issued some virtual appliance and I had to chose between, Citrix Access Gateway 4.6.2 VPX and Netscaller VPX Express (Free !). My choice was to integrate a Citrix Access Gateway (CAG) mainly because we are using other product to manage VPN to all our customers and I wanted to install what I needed, nothing less, nothing more.

So here we go, I got my xva file from MyCitrix account and I just deploy it on our XenServer, very easy, very simple, just some clicks. Once installed and basics configuration set, I had to generate the CSR (Certificate Signing Request) and wait for Verisign to send me the certificate I had to use with the CAG. This was a big adventure and of course I should have read the manual before, and configuration isn’t so easy but I guess when you do it all day long you begin to know everything and I can say now, I know how to troubleshoot a CAG from the client side to the Web Interface.


Join the forum discussion on this post

Comments: (5)

Citrix XenApp tuning tips

Category : ArchY.net Site, Citrix, Presentation Server 4, Presentation Server 4.5, Windows 2008 R2, XenApp 5, XenApp 6

There are many post around to tune Citrix XenApp in many ways and there are even more to tune Microsoft Windows 2008 R2.

I want to begin a new document as we had with Citrix Metaframe 1.8 tuning tips on Microsoft Windows NT4 TSE. This was a great document and very helpfull in many way.

If you have any ideas, agree on what I will write or disagree, I take everything to form a big document available online for everyone.

First I would like to know if we should create a wiki-like to let everyone working on the document and add/change at will, what do you think ?

Which is the best way to realize Citrix XenApp tuning tips

  • A wiki where everyone can add/change (69%, 9 Votes)
  • A thread on the forum (31%, 4 Votes)
  • By email (0%, 0 Votes)
  • Another (0%, 0 Votes)

Total Voters: 13

Loading ... Loading ...

If you choose other please add a comment bellow !

Comments: (0)

XenApp 4.5 / 5 unattended installation

Category : Citrix, Microsoft, Presentation Server 4.5, Windows 2003, Windows 2008, XenApp 5

Unattended installation is very usefull in large XenApp farm, of course if you’re deploying one server per two month you might not be interessed by this process automation but this is always interresting to know this kind of tips. Scripts bellow are example I use every day in production to install servers, of course its needs to be change and adapt to your own settings and of course if you have some ideas to share, I take it !

This unattended example assume you have only one network card enable, a local XenApp source installation file and IP address type 192.168.3 / 192.168.10 / 192.168.200 / 10.113 / 10.112. This file allow to join an existing farm named CTX_TEST with a datastore hosted on a SQL server. Finally, you need to create one folder per farm inside your XenApp source folder if you are automating multi farm setup.


Join the forum discussion on this post

Comments: (3)

How to debug Java website publish application

Category : Presentation Server 4, Presentation Server 4.5, Windows 2003, Windows 2008, Windows 2008 R2, Windows 7, Windows XP, XenApp 5, XenApp 6

These last days I had to find out what was wrong with an extranet publish through XenApp. This extranet is using java and the issue users reported was random disconnection with a java popup. Find out what is wrong with extranet application is very hard because this is just a published browser with an URL pointing to a website in another company, everything works well until one day… My goal was to bring as much information and details as possible to the extranet’s support team and I needed to use the java console and grab the most verbose log possible.

First you need to publish the Java Control Panel,


Join the forum discussion on this post