VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 17 Replies Last post: Feb 14, 2008 1:45 PM by jasonboche  

To virtualise or not to virtualise TS and Citrix, that is the question? posted: Jun 15, 2007 1:04 AM

Click to view jimthesai's profile Novice 9 posts since
Jan 4, 2007
What is the current recomendation on virtualising these types of servers? Are there a set of rules to adhere to or is it just a no no.

I see in previous posts some people have had problems.

Thanks
Click to view oreeh's profile Guru 9,872 posts since
Nov 30, 2005
It depends on the number of users and the workload of the Citrix / TS servers.
Click to view Dave.Mishchenko's profile Guru 8,948 posts since
Nov 15, 2005
It seems that people get around 15 to 20 users per Citrix VM and going with one vCPU seems the way to go. Ideally you could use it for

1) Citrix web interface, secure gateway, dedicated zone data collector.
2) Low user Citrix/TS users.
3) Perhaps to silo a unique application.

If you expect to need more that 20 user per server then it would be best to stick with physical hardware.
Click to view Chris_S_UK's profile Expert 598 posts since
Feb 20, 2006
We have virtual Citrix servers with 40 or so users on, and they report no problems. It completely depends upon the application(s) and their I/O requirements.

Chris
Click to view caciolli's profile Expert 630 posts since
Mar 18, 2005
Yes, 12-15 users seems to be the maximum concurrent users supported in TS/Citrix vm. But it depends a lot from applications

Working on resources (CPU and Memory and shares) is useless.

I have some Citrix servers running in ESX but no more than 10 concurrent users per server and the performances are not great.

Stay away from virtualizing TS/Citrix.
Click to view caciolli's profile Expert 630 posts since
Mar 18, 2005
Running a 2 or 3 vm (TS/Citrix) on the same box can be another issue and you will run out of CPU resources quickly!

Go with 3 Blade servers (2 CPU, 3/4GB) and make 120 users happy.....(and have redundancy too! I can run 110 users with 2 blade, and make users less happy :) )
Click to view skippy33's profile Novice 20 posts since
Jun 6, 2007
The bigest problem is CPU context switch. If you application is using a lot of CPU it's not a got idea to virtualize.
I had clients who virtualize citrix for 40/50 users on a blade (bl20p) whithout any problem and they try another application, 5 users can't work. You have tools to test context switch...
But when it works there is not problem, he show me vmotion with 40 uses on citrix VM, no deconnection!
Click to view tom howarth's profile Guru 7,351 posts since
Jul 25, 2005
I agree, the biggest issue for Citrix/TS sesions is Contex switching. YMMV but 10-15 is average for standard application set such as Office Plus one or two well behaving LOB applications,

single App Terminal Servers may acheive more if they behave well, on significantly less if they are running a badly writen custom app.

this is definantly one of those cased where it is suck it and see, one thing is certain, do not put more than one TS on a VM host, they are usually Memory intensive and regularly CPU. Context switches hungry.
Click to view jagripino's profile Enthusiast 38 posts since
Jun 1, 2006
You have tools to test context switch...

Could you point us to one of these tools? I'm not being sarcastic, I just couldn't find any pointers with a quick internet search for context switch test tool.
Click to view king@it.ibm.com's profile Virtuoso 2,927 posts since
Jan 16, 2004
Windows Perf Mon can tell you the ratio of context switches.

Massimo.
Click to view HBBC's profile Enthusiast 67 posts since
Apr 9, 2007
I'm currently thinking about virtualising our Citrix farm (175 users currently, running on 3 x DL360 R01 & 3 x DL360 G3, upping to 200 users in new environment).

I am actually quite lucky in that I have a "choice" as we do have 4 x Quad-core / 10Gb BL460c's potentially allocated for the replacement Citrix farm but I can't help thinking that this would be a "waste" of good hardware and it's worth testing their virtualisation.

I read, with interest, the presentation from http://www.vmware.com/vmtn/vmworld/ (TAC9728: Citrix and VMware: How These Two Technologies Work Together to Provide More Efficient Computing) in which a test/demo illustrates running around 225 citrix sessions when installed natively on a DL585 with 4 x Dual Cores and managing 140 users in a citrix VM in ESX running on the same hardware.

They then go on to "claim" that this scales to around 110 users in 8 VMs on the same hardware!

Now, I know as well as the next man that demos rarely reflect real life, but it has to be admitted that there's a rather significant difference between 12 users per Citrix VM & 140!

I'd happily virtualise if I got acceptable performance with 30+ users (our current hardware struggles at over 40 users, especially the G1's).

At the end of the day, I can't decide between native on, say, 3 of the BL460s or throw ESX on each of them and have greater opportunities for application isolation & fault-tolerance.

Just need to find the time to create a test environment whilst I've got the hardware "lying around".

Regards,

Paul
Click to view nthornhill's profile Novice 7 posts since
Apr 21, 2005
A few things about that presentation:
- They were careful to ensure that their VMs all fitted into the available capacity with no sharing of resources (each VM effectively had access to 1 host CPU directly and there was enough RAM to give each VM 3.5GB without any need to share).

I really would love to see a mixed workload environment (for instance using Outlook with .pst files stored on a file server somewhere plus another 4-5 apps per session).
I'd love to see test results of the 09:00 login rush with 8 VMs on the same host all running Citrix, running blackhole protector software or not.
It would be very nice to get a glimpse of the number of users capable of being hosted on an 8 core 32GB machine using x64 Citrix, even with that unrealistic Word workload. But I've never been able to find a whitepaper daring to head there.

All in all, take the VMWare test results with a good degree of common sense and you can see some unspoken advice: Dedicate virtual resources to VMs, don't overbook RAM or CPU. And sizing depends on your actual apps. Test, test and test before sizing.

You can also see some reasonable advice (either side of the very same vmware test results) in this VMWorld 2006 presentation: http://download3.vmware.com/vmworld/2006/med0115.pdf

Message was edited by:
nthornhill
Click to view HBBC's profile Enthusiast 67 posts since
Apr 9, 2007
Agree with everything you say!

One thing though is that I'd definitely not mix Citrix VMs with other VMs, I'd love to test, say, three 32bit Citrix VMs running on a quad-core box with 12Gb mem. As it happens, I have that hardware "lying around" at the moment, but what I don't have is time to "play" :(

Biggest issue in reality though is that even if you or I were to develop a test-lab, everyone knows that each site's app footprints & usage is likely to be very different at the end of the day...

Paul
Click to view tom howarth's profile Guru 7,351 posts since
Jul 25, 2005
I agree completely, we have a test bed of 2 vitual Citrix PS4 servers running on a G5 DL360 together with a windows 2000 Print server. and due to an Admin cockup we ended up with 15 users on each server with no issues at all, After I re-educated the errent admin, I reviewed the issue over a cup of coffee and thought that my VM PS4 servers did quite well considering that they were running with 1Gb of memory. Our sites users are quite intensive.

not a true test but it did give me a warm feeling :)

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities