Need to ensure Citrix Xen users run published apps off the same Server in any user session

Posted on 2011-09-08
Medium Priority
Last Modified: 2012-06-27
We have 4 Citrix Xen servers that we use to publish applications to our users - at any point a user's can call an application that will run from any one of the citrix servers based on load balancing.

We have a new DMS product that integrates between published applications (i.e. Outlook, Adobe, Word, etc), and requires that users run all of there applications off the same server so that the DMS app can integrate between them.

Can we change the way that users access their published apps to that all app for that users session will run front he same server? Can we load balance each user sessions across all 4 citrix servers? (I would rather not tie a particular user session to a specific Citrix server, as I want to be able to shutdown a server for maintenance  during the day without impact.

Any guidance here would be appreciated.
Question by:DebbieFost
LVL 26

Expert Comment

by:Tony J
ID: 36506555
Well it should use session sharing where possible, but this doesn't always happen.

I think the only way you could guarantee this would be to install the main application into an isolation environment, and then install Office into this isolation environment.

It'd work, but it'd be a bit clunky. It would, though, give you what you wanted.

Or give the selected users a published desktop - that'd run the Office application 'locally' to the main application.

All of it's going to be a bit clunky I think.


Author Comment

ID: 36506967
There is no way to force session sharing on the same server?

If not - can we "hardcode" users 1-20 to use Server1 published apps, users 21049 to use Server2 published apps? (obviously this does not allow for any load balancing, but would be a better alternative than publishing the desktop).
LVL 26

Expert Comment

by:Tony J
ID: 36507145
Well I'd go with an AIE first. It's a pain to set up, but has the beauty of creating a sandbox environment that office will install into.

Otherwise the only way to get them onto a single server is by group.

So create a set of groups, e.g:


And add each of the required users into each group.

Then on each server, publish the apps you want only to that group for only that server.
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.


Author Comment

ID: 36507397
Thanks....I want to confirm AIE further with you - it is not just MSOffice that would be integrated - there are about 20 different applications that the DMS will integrate with (Omnipage, Acrobat, Illustartor, etc) - all must be running on the same box during a user session for the integration to work.

Does AIE guarantee that the DMS and all intgerated Applications will be running on the same citrix box for a user session?
LVL 11

Accepted Solution

KrAzY earned 2000 total points
ID: 36508333
I would just use Session Sharing as it is intended.  It "should" work all the time.  Granted I've seen instances where it breaks, but I would then troubleshoot why.  I think the easiest way would be do use the built in session sharing.  Does it work? Yes, you're done.  No, see why it is breaking.  I'm make sure you are running the latest Rollup for whatever version of Citrix you're running just in case there are fixes for session sharing.  I would continue troubleshooting if it breaks.

The other option would be to publish a XenApp Desktop as Tony1044 said.  Depending on your users they may actually prefer this as it keeps all your applications with in a Single pane.  Just put the ICONs for their applications on their desktop and or start menu.

LVL 15

Expert Comment

ID: 36512153
I wouldn't use application isolation or streaming if you don't need to.  Aside from the overhead (and thus fewer users per server), you have to profile apps and will be adding a lot more work on yourself.

And, I wouldn't force specific users onto specific boxes because if a box is down, you have a group of users that can't access.  Plus, your server loads will probably be a mess.

As KrAzY indicated, session sharing should automatically do this for you by default.  A few reasons why session sharing doesn't work as you might expect:
- User clicks many apps at once.  Although Web Interface has a 2-second delay automatically built into it, if the initial user connection is starting and hasn't quite reached the point where a second session will share the first one, additional sessions may be created.  If that's the case, you can adjust the 2-second delay to something more appropriate within the WebInterface.conf file.
- Session sharing has been disabled in the registry.  This is sometimes done in support of application-based QoS or selectivity for SmartAuditor or a WAN compression solution.
- Older versions of XenApp assigned a higher preference to load balancing as compared to existing sessions.  Previously, if a user had an existing session and requested one more app, load balancing might force the user onto another server.  This was fixed in XA5/2003 HRP3, I believe.

Featured Post

Become an Android App Developer

Ready to kick start your career in 2018? Learn how to build an Android app in January’s Course of the Month and open the door to new opportunities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Citrix XenDesktop 7.6 Citrix Policies Graphics
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question