[THIN] Re: RESOLVED :AIE under Citrix PS 4.0

  • From: Jeremy Saunders <jeremy.saunders@xxxxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Mon, 5 Dec 2005 23:14:49 +0800

Apart from the Isolate rule, I also needed to create an Ignore rule for ALL
files. This will ignore all files from being accessed via the AIE path,
accept for the files added to the Isolate rule.

Effectively you are then only "punching a hole" into the AIE for those
files and ignoring all others. One would have assumed that that was how it
worked anyway.

Now when I run filemon, eveything is doing what you would expect, and the
application opens and closes at normal speed. You wouldn't even know it is
being executed via an aierun.

When I re-read the section on "Ignore Rules" and "How are Rules
Prioritised?" within the "Isolation Environments Explained" white paper, it
now makes sense. It's just not worded well at all. What makes it very
confusing, is the continual references to the "Documents and Settings"
folder. They need to re-write this and use an actual real world application
as an example. ie. Referencing something within the "Program Files" folder
instead.

Hope this helps anyone who has a similar issue now or in the future.

Cheers.
                                                                
 Kind regards,                                                  
                                                                
 Jeremy Saunders                                                
 Senior Technical Specialist                                    
                                                                
 Integrated Technology Services &                               
 Cerulean                                                       
 IBM Australia                                                  
 Level 2, 1060 Hay Street                                       
 West Perth WA 6005                                           
                                                                
 Visit us at                                                    
 http://www.ibm.com/services/au/its                             
                                                                
 P:Â +61 8 9261 8412                F:Â +61 8 9261 8486         
 M:Â TBA                            E-mail:                     
                                    jeremy.saunders@xxxxxxxxxxx 
                                                                
                                                                








                                                                           
             Jeremy                                                        
             Saunders/Australi                                             
             a/IBM@IBMAU                                                To 
             Sent by:                  thin@xxxxxxxxxxxxx                  
             thin-bounce@freel                                          cc 
             ists.org                                                      
                                                                   Subject 
                                       [THIN] Re: AIE under Citrix PS 4.0  
             22/11/2005 05:28                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                   thin                                                    
                                                                           
                                                                           




Hi ClÃudio,

The application behaves correctly when run normally, outside the AIE. But
then only one user can use the app at any time. I've sent the two filemon
comparisons off to Citrix for comment. If the application behaves correctly
outside the AIE, and inefficiently within the AIE, then surely this is a
Citrix issue, and not an application issue. Level 1 Citrix support was
trying to tell me it's a Quicken issue, but he couldn't explain why?

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth WA 6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:Â +61 8 9261 8412                F:Â +61 8 9261 8486
 M:Â TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx











             ClÃudio Rodrigues
             <Claudio.Rodrigue
             s@xxxxxxxxxx>                                              To
             Sent by:                  <thin@xxxxxxxxxxxxx>
             thin-bounce@freel                                          cc
             ists.org
                                                                   Subject
                                       [THIN] Re: AIE under Citrix PS 4.0
             22/11/2005 11:28
             AM


             Please respond to
                   thin






Not sure why the application behaves like that. I had exact the same issue
with a medical application running on plain TSs. After using FILEMON I
could
see it was doing exactly as in your case, looking for files (that were
there) many times before actually launching the application.
The fix was to create a folder per user on the TSs and copy stuff over from
the home directory when logging in and dumping it back at logoff. Then a
simple SUBST command to 'map' the drive letter the app needed and
everything
was extremely fast.
I know it was something on the application as I contacted the vendor,
explained the issue and they released a fix after all I had to do. :-)

ClÃudio Rodrigues

Microsoft MVP
Windows Server - Terminal Services
http://www.2x.com.


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Mike Semon
Sent: Monday, November 21, 2005 8:12 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0

Thanks for the clarification. I will keep this in mind with future
apps that misbehave under AIE. Let us know what the outcome is.

-Mike


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx]On
Behalf Of Jeremy Saunders
Sent: Monday, November 21, 2005 6:02 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0


I agree with you and Steve that having the AppData redirected out of the
profile does slow things down. Changing it to %HOMEDRIVE%%HOMEPATH% spead
it up a bit to a point where it's acceptable. And I guess if we let it go
to a local disk (local to the server) then it will speed up even further.
But I'm more concerned about the search path than anything else.

Using a Redirect rule over an Isolate rule seems to make little noticeable
difference.

Sorry Joe, I didn't answer one of your earlier posts. Yes, the application
is installed normally. I'm just isolating a few files which give a file
protection error when more than one user tries to open the app.

Hopefully Citrix will find an AIE guru to help me with this. All I really
want is for them to check my config and explain why it looks for all exe's
and dll's in the AIE environment before the normal path. I think that once
this is resolved the application will open at normal speed.

Cheers.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx











             "Joe Shonk"
             <joe.shonk@gmail.
             com>                                                       To
             Sent by:                  <thin@xxxxxxxxxxxxx>
             thin-bounce@freel                                          cc
             ists.org
                                                                   Subject
                                       [THIN] Re: AIE under Citrix PS 4.0
             22/11/2005 06:51
             AM


             Please respond to
                   thin






Jeremy,

Like I was saying before, don't isolate or redirect AIE to a redirected
%APPDATA%.

A simple test:

Create a new isolation environment and associate it to a test published
app.
Remove ALL the default AIE crap from this AIE environment.
Create the specific isolation/redirection rules  (point to
%userprofile%\Citrix\AIE\MyApp)




-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Steve Greenberg
Sent: Monday, November 21, 2005 3:29 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0


As I posted earlier, we saw major performance issues when using a redirect.
Is it possible to test it without any redirection or network paths in
place,
i.e. just have it look at the locally cached profile? I realize that this
does not address the search path issue, but we have seen performance issues
in a similar scenario. Once we got rid of the redirect everything started
working nicely, including issues with finding files that it ought to have
seen.

Regards,


Steve Greenberg
Thin Client Computing
34522 N. Scottsdale Rd. suite D8453
Scottsdale, AZ 85262
(602) 432-8649
(602) 296-0411 fax
steveg@xxxxxxxxxxxxxx


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Jeremy Saunders
Sent: Monday, November 21, 2005 2:50 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0

I'm not sure what you are trying to tell me here Mike?

I've actually changed the User Profile Root from %APPDATA% to
%HOMEDRIVE%%HOMEPATH%, but that has nothing to do with the problem.

The problem is that when I execute the application by aierun, it takes a
long time to open. When watching filemon it shows that every file is being
referenced from the AIE path first before it them finds it in the
%ProgramFiles% folder. Citrix has been unable to explain why this is so,
and
I was wondering if anyone on this list would know why.

i have tried both Isolate and Redirect with the same results.

It seems as though most people on this list have not delved into the AIE
world yet.

Cheers,
Jeremy.




             "msemon@xxxxxxx"
             <msemon@xxxxxxx>
             Sent by:                                                   To
             thin-bounce@freel         thin@xxxxxxxxxxxxx
             ists.org                                                   cc

                                                                   Subject
             22/11/2005 04:03          [THIN] Re: AIE under Citrix PS 4.0
             AM


             Please respond to
                   thin






Have you redirected the user's Appdata folder? Files created or saved by
the
current user are located in the folder called
%APPDATA%\Citrix\AIE\AIE_NAME\Device\drive_letter.

%APPDATA is a Windows environment variable and is replaced by the
application data folder for the current user.

Hope that helps,

Mike

Original Message:
-----------------
From: Steve Greenberg steveg@xxxxxxxxxxxxxx
Date: Mon, 21 Nov 2005 10:14:34 -0700
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0



Well, I could be off here, but doesnât redirect do exactly what you want? I
thought redirect leaves the local files in place where they reside normally
and then re-directs the user specific stuff to the new location.

Worth a check, sorry if I am wrong, I find AIE a bit confusing....


Steve Greenberg
Thin Client Computing
34522 N. Scottsdale Rd. suite D8453
Scottsdale, AZ 85262
(602) 432-8649
(602) 296-0411 fax
steveg@xxxxxxxxxxxxxx


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Jeremy Saunders
Sent: Monday, November 21, 2005 3:56 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0

Nope...I definitely want Isolate and not Redirect. All default settings are
correct.

Filemon shows that all exe's and dll's are first searched through the AIE
path instead of the normal path. This is why it's so slow to execute the
application. No one at Citrix thus far has been able to explain why.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx











             "Steve Greenberg"
             <steveg@thinclien
             t.net>                                                     To
             Sent by:                  <thin@xxxxxxxxxxxxx>
             thin-bounce@freel                                          cc
             ists.org
                                                                   Subject
                                       [THIN] Re: AIE under Citrix PS 4.0
             20/11/2005 09:49
             AM


             Please respond to
                   thin







Double check your default settings and check out the precise description of
isolate versus redirect. There may be some subtly here that happens to
impact this application........


Steve Greenberg
Thin Client Computing
34522 N. Scottsdale Rd. suite D8453
Scottsdale, AZ 85262
(602) 432-8649
(602) 296-0411 fax
steveg@xxxxxxxxxxxxxx


-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Jeremy Saunders
Sent: Friday, November 18, 2005 1:02 PM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: AIE under Citrix PS 4.0

Hi Evan,

My appologies. I should have said CashBook, and not QuickBooks. I have the
"QuickBooks" series of apps working, but the "CashBook" series of apps will
not work, and are not supported by Quicken mainly due to sharing violations
in the %ProgramFiles% folder.

I've done approximately 40 different accountancy applicatsions for one of
Australias largest Accountancy firms. This is really the last on to get
working, and the only one that has required the use of an AIE.

Isolating it in that manner should be supported, as it's documented as a
function of AIE.

Cheers.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx











             "Evan Mann"
             <emann@pinnaclefi
             nancial.com>                                               To
             Sent by:                  <thin@xxxxxxxxxxxxx>
             thin-bounce@freel                                          cc
             ists.org
                                                                   Subject
                                       [THIN] Re: AIE under Citrix PS 4.0
             19/11/2005 01:19
             AM


             Please respond to
                   thin






I just installed QuickBooks Enterprise 5.0 on PS4 and do not appear to be
having any issues. I did get a weird "files not found, click to download
again" the first time each user logged in.  I redirect the home folder, but
QuickBooks is just installed to program files and not running in an AIE.
I have not heard any complaints yet.



-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On
Behalf
Of Jeremy Saunders
Sent: Friday, November 18, 2005 7:39 AM
To: thin@xxxxxxxxxxxxx
Subject: [THIN] AIE under Citrix PS 4.0

Hi All,

I'm having a bit or trouble trying to isolate an application using an AIE
and am looking for an "expert" that has a real good understanding of how it
should work.

Don't get me wrong, it isolates and lauches the application, but it takes
so
long to launch the app and close it that it is not acceptable for the
production environment.

The applications I am working with is Quicken 2003 QuickBooks and Quicken
2004 QuickBooks (for an accountancy firm). These programs are not multiuser
and Terminal Server aware, so there are a couple of files in the
%ProgramFiles% folder that generate a sharing violation, therefore I am
using an AIE to Isolate ONLY these files.

When lanuching the program normally outside the AIE, it opens and closes
really quickly. But when lanching it via AIERUN, it's terribly slow. If you
trace them with filemon you can see that it's searching the AIE User
Profile
Root for ALL files (exe's, dll's, etc) first, instead of from the
%ProgramFiles% folder. It is my understanding that it should only refer to
the AIE User Profile Root for the isolated files.

I have a call logged with Citrix. So far level 1 support has not been that
helpful to a point where they are blaming the Quicken application. I find
this hard to believe and have asked for it to be escalated. In fact, I have
asked to speak to an AIE expert who can explain why this is happening, and
hopefully provide me with a solution, or tell me if I have correctly
configured it. But I'm not confident that they will find me one for Monday,
so thought I'd put this to the forum.

The server OS is Windows 2003 (not SP1).

Any help and advice would be appreciated.

Cheers.

 Kind regards,

 Jeremy Saunders
 Senior Technical Specialist

 Integrated Technology Services &
 Cerulean
 IBM Australia
 Level 2, 1060 Hay Street
 West Perth  WA  6005

 Visit us at
 http://www.ibm.com/services/au/its

 P:  +61 8 9261 8412                F:  +61 8 9261 8486
 M:  TBA                            E-mail:
                                    jeremy.saunders@xxxxxxxxxxx









************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************


************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************


************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************



--------------------------------------------------------------------
mail2web - Check your email from the web at http://mail2web.com/ .


************************************************
For Archives, RSS, to Unsubscribe, Subscribe or set Digest or Vacation mode
use the below link:
//www.freelists.org/list/thin
************************************************
z?zZ0) i 0 zX?+?b

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************bE$'r{n+o
(+U*'^o?%yi??lXa




************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

Other related posts: