the top-5 challenges and best practices for virtualizing citrix xenapp & xendesktop on vsphere

33
The Top-5 Challenges & Best Practices for Virtualizing Citrix XenApp & XenDesktop on VMware vSphere Presenters Elias Khnaser (Virtualization Review) Bala Vaidhinathan (eG Innovations) Contact Us: [email protected]

Upload: eg-innovations

Post on 18-Nov-2014

7.587 views

Category:

Technology


7 download

DESCRIPTION

A growing number of companies are virtualizing Citrix XenApp and XenDesktop on VMware vSphere to reduce cost and boost flexibility. While Citrix virtualization seems like an easy, straightforward project, many virtualization initiatives experience performance problems, delayed deployments, cost overruns and frustrated users. Find out how to prevent these issues in the first place and join virtualization expert Elias Khnaser as he shares the top-5 challenges and best practices for virtualizing Citrix XenApp & XenDesktop environments on vSphere. Sign up for the free webinar today (http://www.eginnovations.com/webinar/citrix-vsphere/eG_Webinar_Citrix_vSphere.html) and learn how to:- Prevent common problems in storage, network, compute and memory tiers- Design and configure vSphere and Citrix XenApp & XenDesktop for maximum reliability, performance and scalability- Deliver the cost and flexibility benefits of virtualization - Identify and monitor the right performance metrics- Get complete visibility into your virtualized Citrix environment- Build performance assurance into your Citrix environment to deliver performance, user satisfaction and cost control

TRANSCRIPT

Page 1: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

The Top-5 Challenges & Best Practices for Virtualizing Citrix XenApp & XenDesktop on VMware vSphere

Presenters Elias Khnaser (Virtualization Review)

Bala Vaidhinathan (eG Innovations)

Contact Us: [email protected]

Page 2: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Audience Poll

What is your biggest challenge with virtualizing Citrix XenApp & XenDesktop on VMware vSphere?

User experience

Performance & scalability

Offline access & distributed computing

Cost & ROI

Security

Page 3: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Virtualizing Citrix XenApp & XenDesktop on VMware vSphere

Elias Khnaser CTO, Sigma Solutions vExpert, CTP [email protected] @ekhnaser

Page 4: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

#1 Don’t Discard Compute

CPU with HWmmu – Intel Extended Page Tables (EPT) – Nehalem+ – AMD Rapid Virtualization Indexing (RVI) – Shanghai+

BIOS Settings – NUMA: ON – Hyper-threading: ON – Turbo: ON – Power Management: OFF – Processor C-states including CIE: OFF

Physical Server Platforms – 8 vCPUS = Quad socket or higher

Page 5: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

#2 Memory Matters

5 Memory Management Technologies

– TPS – Balloon – Compression – Host Cache – Swap

Swap to host cache Memory speed is relatively insignificant Balance physical memory on NUMA nodes Full memory reservations Verify monitor mode

– vmware.log for: virtual mmu = ‘hardware’

Page 6: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

#3 Tweak the Network

vSwitch Uplink Teaming Policy

– Load Balancing policy efficient

– IP Hash complex and no significant performance

Use NetIOC

Separate IP storage networks

Disable interrupt coalescing (pNIC)

– Lower latency, higher bandwidth demands

– esxcli system module parameters set –m <driver> -p

“InterruptThrottleRate=0”

Page 7: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

#4 Storage is critical

Virtual Machines – Alignment – Snapshot – No noticeable performance difference between RDM vs

VMDK

ESXi Host – Multi-pathing – RR SIOC

Storage Array – VAAI (FC, iSCSI & NFS)

RAID Configuration Spindle Count

Page 8: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

#5 Your VM hardware matters

Paravirtualized drivers – vmxnet3 – checksum, TSO, JF, LRO, RSS – pvscsi – lowers cost per IO

Disable ISO CD-ROMs Set NIC as first boot device in VM BIOS Multiple virtual SCSI controllers vNUMA sizing

– Size large VM (>8 vCPU) in multiples of NUMA node)

Is the application tuned correctly? Disable Interrupt Coalescing for VMXNET3

– ethernetX.coalescingScheme=disbled (VSPH 5.x) – CoalesceDefaultOn=0 (VSPH 4.x)

Page 9: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

XenDesktop Infrastructure

Dedicated vCenter server(s) for large deployments

vCenter self-signed or commercial server certificate

XD infrastructure services on general vSphere clusters

VM-Affinity and Host-Affinity rules

DRS

High Availability

Page 10: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

XenDesktop Controller

Multiple XDCs for redundancy and LB

Configure all VDAs with address of all XDC

Database HA

Power operations can overwhelm vCenter

Adjust concurrent power operations

appropriately

Page 11: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Provisioning Services / XenApp

You can use LACP (EtherChannel)

Disable DRS for PVS

Use VMXNET3

Intel E1000 not supported in VSPH 5

Use multiple virtual SCSI controllers

Enable interrupt safe mode

Use LB for TFTP

Make sure you have enough UDP ports and threads per Port

Page 12: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Misc. Considerations

MCS is best used with NFS

Remember to install VDA tools after you install

VMware Tools

Install VDA tools in Private Image Mode after you

have created your vDisk

SvM / SDRS with MCS will require pool recreation

Page 13: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Anti-virus = Angry VMs

Up to 100 IOPS per VM

Randomized scans & scheduled updates will

not scale

Leverage vShield Endpoint

AV appliances

Cloud based AV agents

Page 14: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

What to monitor?

Kernel Latency Average (KAVG)

– This counter tracks the latencies of IO passing thru the Kernel

– Investigation Threshold: 1ms

Device Latency Average (DAVG)

– This is the latency seen at the device driver level. It includes the

roundtrip time between the HBA and the storage.

– Investigation Threshold: 15-20ms, lower is better, some spikes okay

Network Latency

– Anything over 200ms is going to yield a bad user experience

Page 15: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

What to monitor?

Dropped Packets

Re-transmits

Bandwidth

Concurrent vCenter operations

Individual VM I/O

Context Switches

Page 16: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Mind the Gap: EdgeSight & vCenterOps

Citrix Edgesight

VMware vCenterOps

- Developed

pre-virtualization

- A resource hog

- Difficult to extract

information

- Not very intuitive GUI

- Great for monitoring

VMware

Infrastructure

- Is not optimized for

Citrix applications

(no HDX)

Page 17: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Close the Gap

Metrics are important but how about …

Complete visibility and insight into dependencies with auto-correlation so you can tell root cause from effect and diagnose with speed and accuracy

Pre-emptive performance alerts so you can act before users complain

Automated performance diagnosis so you don’t need a staff with PhD’s in performance management

Page 18: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Performance Assurance for Virtualized XenApp & XenDesktop

Bala Vaidhinathan CTO eG Innovations [email protected]

Page 19: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

“Traditional management tools fail to address

today’s Citrix virtualization

performance challenges: too complex, too slow,

too costly, too fragmented, too manual.”

Citrix Performance Challenges

Performance Challenges

IT Talent Shortage

High downtime

Complexity & Fragmentation

User Frustration

Cost overrun

Page 20: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Network Web on

ESX

Active Directory SQL

XenApp on

VMware ESX

License Server

Profile Server

Enterprise

Apps

vCenter Oracle

Client

Where is the Root-Cause?

SAN Switch

What is the root cause of the service problem? Network? VMware? Citrix? AD? SQL? Storage? Profile Server?

ZDC on

VMware ESX

Page 21: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Network Web on

XenServer

Active Directory SQL

XenApp on

VMware ESX ZDC on

VMware ESX

License Server

Profile Server

Enterprise

Apps

vCenter Oracle

Client

SAN Switch

EdgeSight is focused on the Citrix tiers

Limited visibility into other parts of the infrastructure

This makes it hard to diagnose non-Citrix related issues that impact desktop service delivery – yet Citrix gets blamed

ZDC XenApp

License Server

What Citrix EdgeSight Shows

Page 22: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Network Web on

XenServer

Active Directory SQL

XenApp on

VMware ESX ZDC on

VMware ESX

License Server

Profile Server

Enterprise

Apps

vCenter Oracle

Client

SAN Switch

Page 23: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Network Web on

XenServer

Active Directory SQL

XenApp on

VMware ESX ZDC on

VMware ESX

License Server

Profile Server

Enterprise

Apps

vCenter Oracle

Client

eG Enterprise – How does it help?

SAN Switch

Complete visibility – every layer, every tier!

Page 24: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Performance Assurance w/ eG Enterprise

Automated Diagnosis

User Experience Management

Right-Sizing & Capacity Planning

Pre-emptive Alerting

Total Performance

Visibility

End User Experience

Storage

Connection Brokers

Profile Servers

Network

Applications

Virtualization

Infrastructure Performance

Service Performance

Online Banking

Accounting

Trading

Patient records

. . .

eG Enterprise

Page 25: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

eG Enterprise Delivers

Complete 360o Performance Visibility Get total performance visibility and auto-correlation of all components and dependencies that impact user experience across XenApp, User Sessions, VMware, Network, AD, SQL, EMC, Applications, etc.

Automatic Root-Cause Diagnosis Automate and accelerate discovery, diagnosis and resolution of performance issues – so your highly skilled staff can be more productive.

Pre-Emptive Problem Detection & Alerting Pre-emptively monitor, detect and resolve performance issues – before users notice. Prevent downtime, ensure exceptional performance and enhance user satisfaction.

Rapid ROI and Service Assurance Right-size your virtualized IT infrastructure, maximize resource utilization and reduce hardware/software cost.

Page 26: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Citrix Performance Assurance

Page 27: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

“Dramatically simplify and accelerate virtualization

performance management. Deliver peak performance, user satisfaction and ROI.”

Performance Assurance Benefits

Performance Assurance

IT Productivity

Higher service uptime

Simplicity

User Satisfaction

Cost control & ROI

Page 28: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Better Performance, Better ROI

20% more users per

physical server

Page 29: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

About eG Innovations

Performance Assurance

Made Easy

Deliver exceptional performance, user productivity, and ROI

eG Innovations helps you to dramatically simplify, accelerate, and optimize performance management across mission-critical virtual, cloud and physical IT environments

Only eG Innovations award-winning root-cause diagnosis technology can automatically pinpoint performance issues by auto-correlating the user’s service experience with the underlying infrastructure and application components

Worldwide Locations

New York, New Jersey, Boston, Chicago, Los Angeles, Dallas, Austin, Singapore, London, Chennai

Customers Over 1,000 customers worldwide

Certifications &

Sample Awards

Page 30: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Customer Success

Page 31: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Audience Poll

How are you addressing virtualized XenApp and XenDesktop issues today?

VMware vCenterOps or Citrix EdgeSight

Looking for a better performance management solution

Third-party monitoring tools

Manually diagnose and resolve performance issues

Flip a coin and pray

Page 32: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Next Steps

More details www.eginnovations.com/citrix

Send an Email [email protected]

Call Us

+1 732-794-1259

Page 33: The Top-5 Challenges and Best Practices for Virtualizing Citrix XenApp & XenDesktop on vSphere

© eG Innovations, Inc | www.eginnovations.com

Visit eG Innovations @ vmworld 2012