|  Login
share this page - email email | del.icio.us del.icio.us | digg digg | technorati technorati | reddit reddit | stumbleupon stumbleupon | facebook facebook | google bookmarks google bookmarks | yahoo bookmarks yahoo bookmarks | slashdot slashdot | backflip backflip | live live | twitter twitter
Upcoming Events
 
There are currently no events to show.

 
   
     
What's new on shawnbass.com
 
shawnbass.com - Server Based Computing blog

 

I've just posted up details on the schedule of classes for 2010.  There are currently four scheduled classes next here in the following locations and dates:

Oslo, Norway Mar 22-26
Chicago, IL May 24-28
New York, NY Aug 9-13
San Diego, CA Nov 8-12

More...

12/16/2009 12:08:46 AM

shawnbass.com - Virtualization blog

12/15/2009 11:20:09 PM

shawnbass.com - Server Based Computing blog

12/14/2009 10:54:39 AM

shawnbass.com - Server Based Computing blog

Sumit Dhawan has posted a blog entry describing licensing changes that Citrix has made in response to direct customer feedback.  While I assumed that Citrix would eventually breakdown and agree to support additional licensing models, this is more comprehensive than I expected they would do.  The models are now:

  • Per user licensing (this is still per user and not named user)
  • Per device licensing (XD can be used by unlimited users on a given device) - New option that's great for factories, healthcare, shift workers, etc.
  • Campus-wide licensing program - New option that would be great for educational markets and mirrors the model of Microsoft's Campus licensing program
  • New Edition of XenDesktop (VDI Edition) - Essentially what the old XenDesktop Advanced Edition was before it was killed off.  This will include Citrix Provisioning Server, StorageLink for XenServer, and User Profile Management.  This edition is capable of being licensed per user/per device or on a CCU (concurrent user basis).  The trick here is that the CCU model requires the $199/ccu sticker price.  This effectively means that there is no longer a CCU option at $99/user (which is what the old Standard Edition was).  Citrix claims this is due to not a lot of customer uptake of the Standard Edition product.  While that may be the case, Standard Edition was perfect for those who wanted just the ICA protocol and weren't interested in doing Provisioning Server, etc.  If this is the worst of the licensing changes, I suppose customers will have to deal with this and just accept it.  It certain puts customers in a much better place.

All of the above being said, it'll be VERY interesting to see how the licensing happens for all of this.  There's already some licensing challenges and now that there's multiple different license types available, it'll be interesting to see how these licenses get deployed, allocated, revoked and troubleshot.

All in all a prettty good move by Citrix.

10/20/2009 1:05:18 AM

shawnbass.com - Virtualization blog

If you follow me via Twitter, you're probably aware that I've been working on a bug in the Microsoft App-V 4.5 Client for the last few weeks.  This particular bug has been occurring randomly at a client site of mine.  User's that have a particular App-V application will sporadically receive the following error message when trying to start the application:


The text of the error message is "This application has failed to start because the application configuration is incorrect.  Reinstalling the application may fix the problem.  Error code: 4505CD-1F702639-000036B1"

At the same time as this launch failure, the following event log entry is logged in the System Event Log

The details of this event log entry are this:

Source: SideBySide
Category: None
Type: Error
EventID: 59
User: N/A
Description: Resolve Partial Assembly failed for Microsoft.VC80.CRT.mui.  Reference error message: The system cannot find the path specified"

Background on the error:

This issue would randomly occur with Office 2007 SP1 App-V package, but the issue was very rare.  However, we had one sequenced application (BMC Control-M) that it would occur around 1 in 5 launches.  At first we suspected some kind of software conflict.  When you're in an environment with 2000+ applications across 20k desktops, it's not unheard of that some broken package might be overwriting some key DLLs, etc.  This suspicion was raised because the launch failures were not occurring for all users of the application.  More on why later.  Anyway, we began with the typical things like re-installing the .NET Framework, re-installing the VC++ 2005 SP1 runtime and while we had limited success after doing so then problem was still there.  After messing around re-instaling a few applications, we decided to take our desktop build down to the absolute minimums and try to repro the issue.  Even with the build at the very basic OS components, we could still reproduce it.  I decided to try an OS build straight from media to avoid any kind of customer OS modifications.  To my delight, the problem did not recur on my fresh OS build from media.  We later discovered that it had more to do with this system being a VM than it did with the system being a fresh OS install.

On to the problem discovery:

One of the guys that I work with at this cilent site (we'll call him Bob) had an ancient laptop that was already lifecycled off the books, but he still had possession of it.  When Bob ran the Control-M package on his ancient laptop, he couldn't reproduce the issue once.  When Bob informed me of this, we both started thinking "Is it because this machine is slower and therefore the client is taking longer seeking the hard drive and preventing the problem from occurring?  Or is it because this system has a single CPU whereas everything else is running at least two CPUs due to Hyperthreading or Dual Core?"

Let's test the multiple CPU theory:

The first test for the multiple CPU condition was an easy one.  Simply add a second CPU to my VM that was consistently working and see what happens.  I did just that and voila the problem began occuring on my VM (not as frequently as on the physical desktop hardware though so system speed appears to have something to do with it too).

The second test was to take one of our dual processor systems (in this case a hyperthreading machine not a true dual core) and alter the boot.ini to include the /onecpu switch which forces Windows to ignore the 2nd logical processor.  To our excitement, this system began working 100% of the time despite having failed regularly before.

Now we've proven it, now what?

Before we give up and call Microsoft, I wanted to ensure this wasn't fixed in CU1 or any post-CU1 hotfix rollups otherwise that would be a wasted premier support incident.  I downloaded and installed CU1 and the July hotfix rollup.  No difference in error frequency.

On to Microsoft support:

Now that we've confirmed this isn't something that's already fixed, we opened an incident with MS Premier support.  We provided all the details on how to reproduce the issue and even sent our problem package off for testing at Microsoft.  They were able to repro the issue in their labs.  After about a week of back and forth and the issue going up through escalation, Microsoft confirmed the existence of a race condition bug in the App-V File System in three different places and that they would be working on a hotfix.

And the fix....

Microsoft created a fix for the three race condition bugs and they will be including it into the September 2009 Hotfix Rollup Pack which currently has KB974278 This KB is not currently public, but I would expect it to go public in a few weeks.  If you desperately need this fix before then, you should contact Microsoft Support to obtain it as I will not hand out any non-public hotfixes.

 

 

10/5/2009 7:57:56 AM

shawnbass.com - Server Based Computing blog

I previously blogged about a memory leak in Secure Gateway 3.1.1 and that you should avoid it.  Citrix has released Secure Gateway 3.1.2 that fixes the memory leak in 3.1.1.  Get it at CTX122212.

8/29/2009 10:49:03 PM

shawnbass.com - Server Based Computing blog

I'm pleased to announce that I'll be presenting three sessions at the Fall Citrix User Group Norway event in Geilo, Norway from October 7th to October 9th.  There will be plenty of great speakers coming including Simon Crosby, Rich Crusco, Rick Dehlinger, Benny Tritsch, Rene Vester and Alex Yushchenko.  The event is going to be held at the Dr. Holms Hotel in Geilo.  Very much looking forward to attending and thanks to the cug.no group for inviting me to speak there.  Details on the agenda of the event are not public yet, but I'm sure they'll be posted online soon at the cug.no website.

8/20/2009 9:34:34 PM

shawnbass.com - Server Based Computing blog

I've just posted up details on the November 2009 5-day Advanced Citrix training class that will be held in Las Vegas, NV.  This class is a great opportunity for people who administer Citrix environments to get deep understanding of how Terminal Services and Citrix XenApp environments really work.  We'll also discuss server virtualization, Provisioning Server, XenDesktop, etc but the class is primarily focused on XenApp.  This class is not made for people who are new to Citrix and we don't spend time on pointless lab exercises that you can do without an instructor there.  This is 5 days full of in depth technical lecture and best practices sharing.  You don't want to miss this.

The 5-day master class is $2895 USD and there's a maximum class size of 16.  Full details of what is covered in the class as well as details on how to secure a seat is located on the training page.  Hope to see you there!

8/20/2009 9:26:37 PM

shawnbass.com - Server Based Computing blog

At a client of mine we're steadily rolling out 3k instances of XenDesktop.  One issue that surfaced early on is that Weblogic Workspace v10.2 crashed on launch after the deployment of the Citrix XenDesktop Virtual Desktop Agent (VDA).  The client had packaged/certified the 3.03.059 release of the VDA.  After deploying the VDA and rebooting, user's of Weblogic Workspace 10.2 were unable to launch the application.  The crash that would appear is this:

It turns out that this particular issue is caused by applications that attempt to acquire a large allocation of memory during startup.  Something about the XenDesktop VDA breaks this ability.  The good news is that Citrix has found this issue and corrected it in the new XenDesktop 3.0 Feature Pack 1 VDA (3.1.3236) which can be downloaded at CTX121590

The specific fix in this VDA that resolves the Weblogic issue is:

If an application requests a large block of contiguous memory, the allocation might fail.

[From XDE310VDA001][#207792]

Yet another situation that upgrading to the latest and greatest and sometimes be a good thing.  The good news is that this VDA can be installed right on top of the existing VDA without incident. 

8/4/2009 1:02:14 PM

shawnbass.com - Server Based Computing blog

A client of mine experienced some slowness/freezing of XenDesktop 3.0 sessions when used from India.  The slowness is experienced during logon, but also during a minimize/maximize of the XenDesktop session or during an unlock of the local PC.  Here is the background of this issue and what was done to mitigate the issue.

Background: Client uses folder redirection of Application Data folder. That AppData folder is currently redirected across the WAN because of lack of infrastructure in India. Yes, I realize this is an extremely bad practice, but it's what they decided to do and it's what I currently have to deal with. Client PCs are in India. XenDesktop VMs are in Chicago. Circuit is 9MB bandwidth and approximately 270 ms of round trip latency.

Issue: Desktop Receiver takes approximately 90 seconds to complete the logon to a hosted desktop. However, this delay is a one time daily expense so was workable, however the bigger problem is that any time the hosted desktop was minimized and maximized or if the local PC was locked and unlocked the screen would freeze for 30-60 seconds before allowing the user to interact with their desktop. This issue was much more frustrating for the India staff.

Root cause: Through WAN emulation and some Wireshark traces both problems were identified to be caused by the AppData Folder redirection. Specifically it was the Desktop Receiver client attempting to read/write to the various INI/Log files from the ICA Client folder (Appsrv.ini, UIState.ini, Wfcwin32.log).  This is NOT a XenDesktop issue, but is related to the ICA Client itself.

Solution 1: Shut off AppData redirection across the WAN. While this is definitely the best case solution, it wasn't practical to do at this time. There are over 3,000 desktops at this site (not all through that single circuit of course) and there is not sufficient infrastructure for local folder redirection at this moment. In addition, folder redirection policy is tied to file server-based GPOs. Since the India resources logon to both local PCs that are receiving GPO as well as remote hosted desktops that receive GPO, there isn't an easy way to solve this folder redirection solution unless we perform loopback policy and restrict it to the local machines which causes issues since there are some people that hotel the same machines that require localized folder redirection. Ultimately this issue will be resolved, but it's going to take some effort to fix.

Solution 2: Find a workaround until the AppData redirection can be localized. In pursuit of a workaround, a Wireshark trace of the traffic was taken and I found multiple redundant QUERY_PATH_INFO calls to the file system structure of the redirected ICA Client folder in AppData. In researching the redundant QUERY_PATH_INFO calls, it appears that there is an optimization for Windows Explorer where Windows Explorer can cache the contents of a directory/file listing in order to prevent multiple QUERY_PATH_INFO calls to the same remote file server. Microsoft made a change in Windows XP to no longer cache long file name paths whereas in Win2k and below, the cached both 8.3 names as well as LFNs. Since Application Data resolves to a long file name (LFN), it is not cached and causes repetitive QUERY_PATH_INFO calls across the network every time that file system data is requested. Explorer also tends to walk the directory path in order to seek desktop.ini files which compounds the problem. The solution to the issue is to get Windows Explorer to cache the long file name paths which dramatically reduces the multiple redundant QUERY_PATH_INFO calls. The ICA Client still needs to go across the WAN to read the INI files, but there's a dramatic impact on the total time required to do so. After making the modification to the local XP workstations, the logon time dropped from 90 seconds to 60 (which is still high of course, but is a once per day delay). More importantly, when minimizing/maximizing or unlocking the local PC, the desktop refresh is subsecond whereas it was 30-60 seconds of freeze beforehand. The specific optimization is named InfoCacheLevel and is found under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MrxSmb\Parameters. The value needs to be set 10 decimal or A hex. More information on this registry setting can be found here:

http://support.microsoft.com/kb/834350

I've sent this info to Citrix so perhaps it'll make it's way to a KB article.  It's certainly a niche situation, but perhaps someone else might run into this.  To re-iterate, this is NOT a XenDesktop problem but is an ICA Client issue.  It just happens that the client was using XenDesktop when the issue was discovered.

8/4/2009 10:41:52 AM

Page:   of 5 
 
   
     
Follow me