34
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All- Flash REFERENCE ARCHITECTURE

Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All

  • Upload
    others

  • View
    30

  • Download
    0

Embed Size (px)

Citation preview

Flash
R E F E R E N C E A R C H I T E C T U R E
R E F E R E N C E A R C H I T E C T U R E / 1
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Table of Contents
Introduction ............................................................................................................................................ 4 Purpose ................................................................................................................................................................ 4 Scope .................................................................................................................................................................... 4 Audience.............................................................................................................................................................. 4
Technology Overview ........................................................................................................................ 5 Overview .............................................................................................................................................................. 5 VMware vSphere 6.5 ....................................................................................................................................... 5 VMware vSAN 6.5 ............................................................................................................................................. 5
All-Flash Architecture ................................................................................................................................................. 5 Deduplication and Compression .......................................................................................................................... 6 Erasure Coding ............................................................................................................................................................. 6
RAID 5 ................................................................................................................................................................................................ 7 RAID 6 ................................................................................................................................................................................................ 7
Client Cache ................................................................................................................................................................... 7 Citrix XenApp and XenDesktop 7.12 ....................................................................................................... 7 Citrix Provisioning Services ....................................................................................................................... 9 Citrix Machine Creation Services ............................................................................................................. 9 VMware App Volumes 2.11 .......................................................................................................................... 9
Solution Configuration .................................................................................................................... 11 Architecture Diagram .................................................................................................................................. 11 Hardware Resources ................................................................................................................................... 12 Software Resources .................................................................................................................................... 12 Virtual Machine Test Image Build .......................................................................................................... 13 Network Configuration ............................................................................................................................... 14 vSAN Configuration ..................................................................................................................................... 15
vSAN Storage Policy ................................................................................................................................................ 15 App Volumes Setting ............................................................................................................................................... 15
VMware Cluster Configuration ................................................................................................................ 15 VMware ESXi Server: Storage Controller Mode .............................................................................. 16 Desktop Provisioning Mechanism ........................................................................................................ 16
Overview ........................................................................................................................................................................ 16 PVS Desktops ............................................................................................................................................................. 16 MCS Desktops ............................................................................................................................................................ 17
Solution Validation ............................................................................................................................ 18 Testing Overview .......................................................................................................................................... 18 Testing Tools .................................................................................................................................................. 18
Monitoring Parameters ............................................................................................................................................ 19 PVS XenDesktop with Natively Installed Applications ................................................................. 19
Testing Scenarios ...................................................................................................................................................... 19 Testing Results ........................................................................................................................................................... 19
MCS XenDesktop with AppStack ........................................................................................................... 22 Testing Scenarios ...................................................................................................................................................... 22
R E F E R E N C E A R C H I T E C T U R E / 2
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Testing Results ........................................................................................................................................................... 22 PVS XenApp with Windows Server ....................................................................................................... 24
Testing Scenarios ...................................................................................................................................................... 24 Testing Results ........................................................................................................................................................... 24
MCS XenApp with Windows Server ...................................................................................................... 27 Testing Scenarios ...................................................................................................................................................... 27 Testing Results ........................................................................................................................................................... 27
Best Practices ..................................................................................................................................... 30 AppStack Storage Policy ....................................................................................................................................... 30 vSAN Sizing .................................................................................................................................................................. 30
Recommendation ............................................................................................................................... 30
Conclusion ............................................................................................................................................ 31
Reference .............................................................................................................................................. 32
About the Author ................................................................................................................................ 33
R E F E R E N C E A R C H I T E C T U R E / 3
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Executive Summary
Business Case Customers today wanting to deploy a virtual desktop infrastructure on all-flash require a cost-effective, highly scalable, and an easy-to-manage solution. Applications need to be refreshed and published at will and should not require multiple levels of IT administration. Most importantly, the infrastructure itself must be able to scale with minimal cost impact yet still provide enterprise-class performance.
All-flash storage products have traditionally been regarded as too expensive. VMware vSAN™ changes this by supporting all-flash configurations with extreme performance and radically simple management at a cost that is lower than many competing solutions.
This solution demonstrates the performance of virtual desktops enabled by vSAN 6.5 all-flash with Citrix XenApp and XenDesktop 7.12, and VMware vSphere® 6.5.
Through extensive tests, we provide an optimal configuration for virtual desktop infrastructure (VDI) deployments including various provisioning methods. Using Login VSI, we validate the performance to ensure the optimal configuration.
Key Results Key Results Overview
Outstanding Performance with Substantial Space Saving Up to 80 percent space saving by vSAN
deduplication and compression, erasure
heavy workloads
applications in real time at scale
Dynamically attach applications to users, groups, or devices
Ease of VDI management
Simplified storage configuration and
features (high availability, VMware
effective hardware, particularly CPUs
VSImax v4.1: Not reached
1,000* PVS XenDesktops, 100 percent concurrency
VSImax v4.1: Not reached
1,000* MCS Desktops with VMware App Volumes™, 100 percent concurrency
VSImax v4.1: Not reached
1,000* sessions PVS XenApp, 100 percent concurrency
VSImax v4.1: Not reached
percent concurrency
R E F E R E N C E A R C H I T E C T U R E / 4
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Introduction
Purpose This document is the reference architecture of VDI deployments, which is enabled by vSAN 6.5 all-flash, Citrix XenApp and XenDesktop 7.121, and VMware vSphere 6.5.
Scope This reference architecture:
Demonstrates the storage performance of VDI deployments using vSAN 6.5 all-flash with Citrix XenApp and XenDesktop.
Proves that vSAN with space efficiency features enabled can easily support sustainable workloads with minimal resource overhead and impact on desktop application performance.
Validates that Citrix XenApp and XenDesktop 7.12 with App Volumes 2.11 works well with vSAN to manage desktops and applications.
Audience This reference architecture is intended for customers—IT architects, consultants, and administrators—involved in the early phases of planning, design, and deployment of VDI solutions running on all-flash vSAN. It is assumed that the reader is familiar with the concepts and operations of Citrix XenApp and XenDesktop technologies and VMware vSphere products.
1 Citrix Hotfix for XenApp and XenDesktop 7.12 Machine Creation Service (MCS)—Binary fix for Catalog Deletion Error on vSAN 6.2.
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Technology Overview
Overview This section provides an overview of the technologies that are used in this solution:
VMware vSphere 6.5
VMware vSAN 6.5
Citrix Provisioning Services
Citrix Machine Creation Services
VMware App Volumes 2.11
VMware vSphere 6.5 VMware vSphere is the industry-leading virtualization platform for building cloud infrastructures. It enables users to run business-critical applications with confidence and respond quickly to business needs. vSphere accelerates the shift to cloud computing for existing data centers and underpins compatible public cloud offerings, forming the foundation for the industry’s best cloud model. VMware vSphere 6.5 accelerates customer transition to digital transformation and cloud computing by addressing key challenges:
Environments growing increasingly complex
Growing IT security threads
The need to support both existing and new applications and services
VMware vSAN 6.5 VMware vSAN is VMware’s software-defined storage solution for hyper-converged infrastructure, a software-driven architecture that delivers tightly integrated compute, networking, and shared storage from virtualized x86 servers.
vSAN 6.5 delivers new capabilities that further help customers respond faster to dynamic business needs across a broader set of workloads while lowering total cost of ownership of your IT infrastructure. The most significant new capabilities and updates include:
License required: support all-flash in all vSAN editions providing greater choice and flexibility to deploy all-flash solutions for any workload.
2-node direct connect: minimize the upfront cost of deployment in remote sites by directly connecting two vSphere servers together using simple crossover cables.
Full-featured PowerCLI: improve automation with a complete set of PowerCLI cmdlets.
All-Flash Architecture All-flash vSAN aims at delivering extremely high IOPS with predictable low latencies. In an all-flash architecture, two different grades of flash devices are commonly used: lower capacity and higher endurance devices for the cache layer; more cost-effective, higher capacity, and lower endurance devices for the capacity layer. Writes are performed at the cache layer and then destaged to the capacity layer, only as needed. This helps extend the usable life of lower endurance flash devices in the capacity layer and lower the overall cost of the solution.
R E F E R E N C E A R C H I T E C T U R E / 6
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
vSAN All-Flash Datastore
Deduplication and Compression Near-line deduplication and compression happens during destaging from the caching tier to the capacity tier. Deduplication and compression is a cluster-wide setting that is disabled by default and can be enabled using a simple drop-down menu. The deduplication algorithm utilizes a 4K-fixed block size and is performed within each disk group. In other words, redundant copies of a block within the same disk group are reduced to one copy, but redundant blocks across multiple disk groups are not deduplicated. Bigger disk groups might result in a higher deduplication ratio. The blocks are compressed after they are deduplicated.
Deduplication for Space Efficiency
Erasure Coding Erasure coding provides the same levels of redundancy as mirroring, but with a reduced capacity requirement. In general, erasure coding is a method of taking data, breaking it into multiple pieces and spreading it across multiple devices, while adding parity data so it may be recreated in the event that one or more pieces are corrupted or lost.
In vSAN, two modes of erasure coding are supported:
RAID 5 in 3+1 configuration, which means 3 data blocks and 1 parity block per stripe.
R E F E R E N C E A R C H I T E C T U R E / 7
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
RAID 6 in 4+2 configuration, which means 4 data blocks and 2 parity blocks per stripe.
RAID 5 In this case, RAID 5 requires four hosts at a minimum because it uses a 3+1 logic. With four hosts, one can fail without data loss. This results in a significant reduction of required disk capacity. Normally, a 20GB disk would require 40GB of disk capacity in a mirrored protection, but in the case of RAID 5, the requirement is only around 27GB.
RAID 5 Data and Parity Placement
RAID 6 With RAID 6, two host failures can be tolerated the same as RAID 1 protection. In the RAID 1 scenario for a 20GB disk, the required disk capacity would be 60GB. However, the required disk capacity is 30 GB with RAID 6. Note that the parity is distributed across all hosts and there is no dedicated parity host. A 4+2 configuration is used in RAID 6, which means that at least six hosts are required in this configuration.
RAID 6 Data and Parity Placement
Space efficiency features (including deduplication, compression, and erasure coding) work together to provide up to 10x reduction in dataset size.
Client Cache vSAN has a small in-memory read cache. Small in this case means 0.4 percent of a host’s memory capacity up to a max of 1GB. Note that this in-memory cache is a client side cache, meaning that the blocks of a VM are cached on the host where the VM is located. This feature is enabled by default.
Citrix XenApp and XenDesktop 7.12 Citrix provides a complete virtual app and desktop solution to meet customers’ needs from a single, easy-to-deploy platform. Citrix XenApp and XenDesktop 7.12 integrates Citrix XenApp application delivery technologies and XenDesktop desktop virtualization technologies into a single architecture and management experience. This new architecture unifies both management and delivery components to enable a scalable, simple, efficient, and
R E F E R E N C E A R C H I T E C T U R E / 8
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
manageable solution for delivering Windows applications and desktops as secure mobile services to users anywhere on any device.
Figure 5 shows the XenApp and XenDesktop 7.12 architecture components.
XenDesktop 7.12 Architecture Components
The XenDesktop 7.12 architecture includes the following components:
Citrix Director—Director is a web-based tool that enables IT support and helps desk teams to monitor an environment, troubleshoot issues before they become system-critical, and performs support tasks for end users.
Citrix Receiver—Installed on user devices, Citrix Receiver provides users with quick, secure, self-service access to documents, applications, and desktops from any of the user’s devices including smartphones, tablets, and PCs. Receiver provides on-demand access to Windows, web, and software-as-a-service (SaaS) applications.
Citrix StoreFront—StoreFront provides authentication and resource delivery services for Citrix Receiver. It enables centralized control of resources and provides users with on-demand, self-service access to their desktops and applications.
Citrix Studio—Studio is the management console that enables you to configure and manage your deployment, eliminating the need for separate consoles for managing delivery of applications and desktops. Studio provides various wizards to guide you through the process of setting up your environment, creating your workloads to host applications and desktops, and assigning applications and desktops to users.
Delivery Controller—Installed on servers in the data center, Delivery Controller consists of services that communicate with the hypervisor to distribute applications and desktops, authenticate and manage user access, and broker connections between users and their virtual desktops and applications. Delivery Controller manages the state of the desktops, starting and stopping them based on demand and administrative configuration. In some editions, the controller enables you to install profile management to manage user personalization settings in virtualized or physical Windows environments.
License Server—License server assigns a user or device license to the XenDesktop environment. Install License Server along with other Citrix XenDesktop components or on a separate virtual or physical machine.
Virtual Delivery Agent (VDA)—Installed on server or workstation operating systems, VDA enables connections for desktops and applications. For remote PC access, install the VDA on the office PC.
R E F E R E N C E A R C H I T E C T U R E / 9
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Database—Database stores all the XenDesktop site configuration and session information. Microsoft SQL server is required as a database server.
Server OS machines—Virtual machines or physical machines, based on the Windows Server operating system, used for delivering applications or hosted shared desktops (HSDs) to users.
Desktop OS machines—Virtual or physical machines, based on the Windows Desktop operating system, deliver personalized desktops to users or applications from desktop operating systems.
Citrix Provisioning Services Citrix Provisioning Services (PVS) takes a different approach from traditional desktop imaging solutions by fundamentally changing the relationship between hardware and software that runs on it. By streaming a single shared disk image (vDisk) instead of copying images to individual machines, PVS lets organizations reduce the number of disk images that they manage. Because the number of machines continues to grow, PVS provides the efficiency of centralized management with the benefits of distributed processing.
Because machines stream disk data dynamically in real time from a single shared image, machine image consistency is ensured. In addition, large pools of machines can completely change their configuration, applications, and even the operating system during a reboot operation.
Citrix Machine Creation Services Machine Creation Services (MCS) is a provisioning mechanism that is integrated with the XenDesktop management interface, Citrix Studio, to provision, manage, and decommission desktops throughout the desktop lifecycle from a centralized point of management.
MCS enables the management of several types of machines within a catalog in Citrix Studio. Desktop customization is persistent for machines that use the Personal vDisk (PvDisk or PvD) feature, while non-Personal vDisk machines are appropriate if desktop changes are discarded when the user logs off.
Desktops provisioned using MCS share a common base image within a catalog. Because of this, the base image is typically accessed with sufficient frequency to naturally use the VMware vSAN cache, where frequently accessed data is promoted to flash drives to provide optimal I/O response time with fewer physical disks.
VMware App Volumes 2.11 VMware App Volumes 2.11 is an integrated and unified application delivery and end-user management system for VDI and virtual environments:
Quickly provision applications at scale.
Dynamically attach applications to users, groups, or devices, even when users are logged into their desktop.
Provision, deliver, update, and retire applications in real time.
Provide a user-writable volume allowing users to install applications that follow them across desktops.
App Volumes makes it easy to deliver, update, manage, and monitor applications and users across VDI and published application environments. It uniquely provides applications and user environment settings to desktop and published application environments and reduces management costs by efficiently delivering applications from one virtual disk to many desktops or published application servers. Provisioning applications requires no packaging, no modification, and no streaming.
App Volumes works by binding applications and data into specialized virtual containers called AppStacks, which are attached to each Windows user session at login or reboot, ensuring the most current applications and data are delivered to the user.
App Volumes integrates a simple agent-server-database architecture into an existing VDI deployment. Centralized management servers are configured to connect to deploy virtual desktops that run an App Volumes Agent. An administrator can grant application access to shared storage volumes for users or virtual machines or both.
R E F E R E N C E A R C H I T E C T U R E / 1 0
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Figure 6 shows the major components of a VDI environment where App Volumes is deployed.
App Volumes High-Level Architecture
R E F E R E N C E A R C H I T E C T U R E / 1 1
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Solution Configuration This section introduces the resources and configurations for the solution including:
Architecture diagram
Hardware resources
Software resources
Network configuration
vSAN configuration
Desktop provisioning mechanism
vSphere Cluster Design
R E F E R E N C E A R C H I T E C T U R E / 1 2
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Hardware Resources Table 2 shows two vSAN Clusters used in the environment.
One 8-node all-flash vSAN Cluster was deployed to support 1,000 virtual desktops.
One 4-node hybrid vSAN Management Cluster was deployed to support infrastructure, management, and Login VSI launcher virtual machines used for the scalability testing.
Server Profile
P RO P E R T Y S P E C I F I C AT IO N
Server 8 x rack server
CPU 2 sockets, Intel(R) Xeon(R) CPU of 3 GHz 10-core
RAM 512GB
Storage adapter 2 x 12Gbps SAS PCI-Express
Disks SSD: 2 x 800GB class-D 6Gbps SAS drive as cache SSD
SSD: 8 x 400GB class-D 6Gbps SAS drive as capacity SSD
Note: The recommendation cache value is updated on Designing vSAN Disk Groups—All-flash Cache Ratio Update
and you can adjust it based on your real environment requirements. The high cache setting in this solution is unnecessary in your environment.
Software Resources Table 3 shows software resources used in this solution and Table 4 lists the system configurations for different server roles.
Software Resources
S O F TW ARE V E RS IO N P URP OS E
VMware vCenter and ESXi 6.5
ESXi Cluster to host virtual machines and provide vSAN
Cluster. VMware vCenter Server provides a centralized
platform for managing VMware vSphere environments.
VMware vSAN 6.5 Software-defined storage solution for a hyper-converged
infrastructure.
Provides a complete virtual app and desktop solution to
meet customers’ needs from a single, easy-to-deploy
platform. The Citrix Hotfix for XenApp and XenDesktop 7.12
MCS is valid for all vSAN 6.x releases.
Citrix Provisioning Service 7.12 Allows customers to have a single instance image
management of XenApp and XenDesktop VMs.
VMware App Volumes 2.11 An integrated and unified application delivery and end-user
management system for VDI and virtual environments.
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
System Configuration
Table 5 lists the configuration details of Citrix XenApp and XenDesktop.
Citrix XenApp and XenDesktop Configuration
Virtual Machine Test Image Build Two different virtual machine images were used to provision desktop sessions in the Citrix environment, one for desktop image and one for Server OS image. Table 6 lists the virtual machine test images. We used optimization tools according to VMware OS Optimization Tool and the Citrix XenDesktop Windows 7 Optimization Guide. The test image configurations were the same for MCS and PVS except that the PVS template installed a PVS target device to create the vDisk image.
Virtual Machine Test Images
AT T RI BU T E L OG IN V S I X E N DE S K T OP IM AGE L OG IN V S I X E N AP P IM A GE
Desktop OS Windows 7 Enterprise SP1 (32-bit) Windows 2012 R2 (64-bit)
Hardware VMware Virtual Hardware version 11 VMware Virtual Hardware version 11
CPU 2 8
Memory 2,048MB 24,576MB
Virtual disk—VMDK 1 30GB 100GB
Virtual disk—VMDK 2 10GB 40GB
IN FR AS T RU CT UR E
V M R O LE
V CP U R AM ( GB ) S T OR AG E
(G B )
IN FR AS T RU CT UR E
V M R O LE QU AN T I T Y V CP U R AM ( GB )
S T OR AG E
(G B ) OS
XenDesktop Controllers 2 4 8 100 Windows Server 2012 R2 64-bit
StoreFront Servers 2 4 4 100 Windows Server 2012 R2 64-bit
License Server 1 4 4 100 Windows Server 2012 R2 64-bit
PVS Servers 2 4 16 100 (OS)
250 (Store) Windows Server 2012 R2 64-bit
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
AT T RI BU T E L OG IN V S I X E N DE S K T OP IM AGE L OG IN V S I X E N AP P IM A GE
Applications
VMware Tools™ 10.0.6.3560309 10.0.6.3560309
Citrix VDA 7.12 7.12
Network Configuration A VMware vSphere Distributed Switch™ (VDS) acts as a single virtual switch across all associated hosts in the data cluster. This setup allows virtual machines to maintain a consistent network configuration as they migrate across multiple hosts.
vSphere Distributed Switch
Network I/O control was enabled for the distributed switch. The following settings and share values were applied on the resource allocation as shown in 0.
Resource Allocations for Network Resources in vSphere Distributed Switch
NE TW OR K RE S OU RC E
P O O L HOS T L IM I T (M BP S ) P N I C S H ARE S S H ARE S
vSphere vMotion 8000Mbit/s Low 25
Management Unlimited Normal 50
Virtual machines Unlimited High 100
vSAN traffic Unlimited Normal 50
R E F E R E N C E A R C H I T E C T U R E / 1 5
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
vSAN Configuration Each ESXi server had the same configuration of two disk groups, each consisting of one 800GB cache-tier SSD and four 400GB capacity-tier SSDs.
vSAN Storage Policy vSAN can set availability, capacity, and performance policies per virtual machine if the virtual machines are deployed on the vSAN datastore. Citrix uses the default storage policy. We need to modify the default storage policy to enable or disable certain vSAN features. Table 8 shows the storage policy setting of RAID 5.
vSAN Storage Settings with RAID 5
S T OR AG E C AP AB I L IT Y S E T T IN G
Number of FTT 1
Flash read cache reservation 0%
Object space reservation 0%
Failure tolerance method RAID 5 (erasure coding)—capacity
Several vSAN features were used in this solution including deduplication and compression, software checksum, and Erasure Coding (RAID 5).
App Volumes Setting We tested all the applications in a single AppStack except that IE was installed on the OS by default on MCS XenDesktop.
App Volumes—AppStack Configuration
AT T RI BU T E S P E C I F I C AT IO N
Location [vsanDatastore] cloudvolumes/apps/newapp.vmdk (6,536 MB)
Template [vsanDatastore] cloudvolumes/apps_templates/template.vmdk (2.11.0)
Applications Adobe_Flash_Player_16_ActiveX, Adobe_Reader_XI_-11.0.10,
Doro_1.82, FreeMind, Microsoft_Office_Professional_Plus_2010)
VMware Cluster Configuration Table 10 lists the VMware Cluster configuration. We should enable VMware vSphere High Availability (vSphere HA) and DRS features in VMware Cluster.
ESXi Cluster Configuration
P RO P E R T Y S E T T IN G DE F AU L T RE V I S E D
Cluster features vSphere HA – Enabled
DRS – Enabled
R E F E R E N C E A R C H I T E C T U R E / 1 6
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
VMware ESXi Server: Storage Controller Mode The storage controller supports both pass-through and RAID mode. It is recommended to use controllers that support the pass-through mode with vSAN to lower complexity and ensure performance.
Desktop Provisioning Mechanism
Overview This solution was validated using PVS and MCS virtual desktops, both random and static (with PvD), to observe any performance and scaling differences between various provisioning methods.
PVS Desktops Provisioning Services streaming technology allows computers to be provisioned and re-provisioned in real-time from a single shared-disk image.
vDisks can exist on a Provisioning Server, file share, or in larger deployments, on a storage system that the Provisioning Server can communicate with (iSCSI, SAN, NAS, and CIFS). vDisks can be assigned to a single target device as Private Image Mode, or to multiple target devices as Standard Image Mode.
When a target device is turned on, it is set to boot from the network and to communicate with a Provisioning Server:
1. Unlike the thin-client technology, processing takes place on the target device.
2. The target device downloads the boot file from a Provisioning Server, and then the target device boots.
3. Based on the device boot configuration settings, the appropriate vDisk is located and mounted on the Provisioning Server.
The software on that vDisk is streamed to the target device as needed. To the target device, it appears like a regular hard drive to the system. Figure 9 shows the process of booting a target device.
Boot Process of a PVS Target Device
R E F E R E N C E A R C H I T E C T U R E / 1 7
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
MCS Desktops Citrix XenDesktop 7.12 with MCS supports the use of linked clones to quickly provision virtual desktops.
In a linked clone desktop, the operating system reads all the common data from the read-only base disk, and creates the unique data on the linked clone. Figure 10 shows a logical representation of this relationship.
Logical Representation of an MCS-base Disk and Linked Clone
Note: The Citrix Hotfix for XenApp and XenDesktop 7.12 MCS must be applied on MCS desktops. See Binary fix for
Catalog Deletion Error on vSAN 6.2 for detailed information.
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Solution Validation
Testing Overview The solution validates the VDI performance with vSAN 6.5 all-flash, Citrix XenDesktop and XenApp 7.12, and VMware vSphere 6.5.
We deployed Windows 7 virtual desktops for both PVS and MCS, and recorded the performance and resource utilization differences for these two provisioning methods:
For PVS mode, we used native applications installed on the OS image.
For MCS mode, we used VMware AppStack to provision and assign the applications.
For XenApp, we used Windows 2012 R2 as the Server OS and validated the performance and resource utilization for PVS and MCS provisioning methods.
We used Login VSI to load the target environment with simulated user workloads and activities. Common applications such as Microsoft Office, Internet Explorer, and Adobe PDF Reader were utilized during the testing.
Login VSI 4.1 has several different workload templates depending on the type of user to be simulated. Each workload differs in application operations executed and also in the number of operations executed simultaneously. The medium-level Knowledge Worker workload was selected for this test because it was the closest analog to the average desktop user in our customer deployments.
The testing was based on the Login VSI in the benchmark mode, which was a locked-down workload test based on the Knowledge Worker template. In benchmark mode, if you select one workload, all the parameters are fixed (read only). This is an accurate way of performing a side-by-side comparison between VSIMax results in different configurations and platforms.
Note: You might notice the wording of “VSImax was not reached” in some of the test results. This is because we
have more server capacity available for Login VSI. We have previously determined the number of sessions to run concurrently to achieve optimal results.
Testing Tools We used the following monitoring and benchmark tools in the solution:
Monitoring tools
vSAN Performance Service
The performance service collects and analyzes performance statistics and displays the data in a graphical format. vSAN administrators can use the performance charts to manage the workload and determine the root cause of problems. When the vSAN Performance Service is turned on, the cluster summary displays an overview of vSAN performance statistics, including IOPS, throughput, and latency. vSAN administrators can view detailed performance statistics for the cluster, for each host, disk group, and disk in the vSAN Cluster.
esxtop
esxtop is a command line tool that can be used to collect data and provide real-time information about the resource usage of a vSphere environment such as CPU, disk, memory, and network usage. We measure the ESXi Server performance by this tool.
Workload testing tool
Login VSI 4.1.5
Use the Login VSI in Benchmark mode with 20 sessions to measure VDI performance in terms of Login VSI baseline performance score (also called VSIbase or Login VSI index average score). The Login VSI baseline performance score is based on the response time reacting to the Login VSI workloads. A lower Login VSI score is better because it reflects that the desktops can respond in less time. In the tests, the workload type is ‘Knowledge Worker * 2vCPU’. For various Login VSI notations, see VSImax.
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Monitoring Parameters We took the following parameters into consideration to measure the testing performance:
Benchmark VSImax
Capacity and deduplication ratio
PVS XenDesktop with Natively Installed Applications
Testing Scenarios In this test, PVS Imaging Wizard was used to create a vDisk image from the master target device, then a collection of 1,000 streamed Windows 7 VM desktops was provisioned on the vSAN datastore from the PVS server Console and was added to the machine catalogue from the Delivery Controller. The applications were installed with OS disk and a deliver group was created for Login VSI benchmark testing.
The standard vDisk image was configured with cache in device RAM with overflow on the hard disk. The maximum RAM size was 512 MB.
Testing Results As shown in Figure 11, there were 1,012GB used space and 1.23TB deduplication and compression overhead, which was 5 percent of the vSAN datastore capacity. Deduplication and compression ratio was 4.35x, which was original used space/space used after deduplication and compression. The total capacity used was 23.29-21.07=2.22TB.
Capacity Information about 1,000 PVS Windows 7 Desktops
Login VSI Knowledge Worker Results As shown in Figure 12, the 1,000 Windows 7 PVS desktops passed the Knowledge Worker workload easily without reaching VSIMax v4.1 at the baseline of 671. This was a stress testing so the peaks were acceptable while running 1,000 PVS desktops.
R E F E R E N C E A R C H I T E C T U R E / 2 0
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
VSImax on Login VSI Knowledge Worker Workload, PVS XenDesktop
From the average ESXi CPU usage in Figure 13, the CPU usage increased steadily because the number of active session increased. The peak average CPU usage was 71 percent.
CPU Usage during Login VSI Knowledge Worker Workload, PVS XenDesktop
0
10
20
30
40
50
60
70
80
90
100
1,000 PVS Desktops Login VSI CPU Usage
Physical Cpu(_Total)\% Util Time \Physical Cpu(_Total)\% Core Util Time
R E F E R E N C E A R C H I T E C T U R E / 2 1
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Figure 14 illustrates the average peak memory consumed was 249,814MB (around 244GB). ESXi memory was 512GB, which was about 48 percent usage. The average kernel memory usage was 29,718MB (around 29GB).
Memory Usage during Login VSI Knowledge Worker Workload, PVS XenDesktop
From vSAN Performance Service as shown in Figure 15, peak write IOPS was 5,770 and peak read IOPS was 6,068. IOPS increased as the number of active sessions increased. vSAN IOPS was low because Login VSI testing was CPU bound.
vSAN IOPS during Login VSI Knowledge Worker Workload, PVS XenDesktop
As shown in Figure 16, vSAN peak write latency was 0.960ms and peak read latency was 0.491ms. There was a sharp increase in latency when sessions became active.
vSAN Latency during Login VSI Knowledge Worker Workload, PVS XenDesktop
0
50,000
100,000
150,000
200,000
250,000
300,000
1,000 PVS Desktops Login VSI Memory Usage
Memory\Kernel MBytes \Memory\NonKernel MBytes
R E F E R E N C E A R C H I T E C T U R E / 2 2
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
MCS XenDesktop with AppStack
Testing Scenarios In this test, 1,000 MCS random Windows 7 virtual desktops were deployed from the Delivery Controller in the machine catalog and a delivery group was created. The AppStack was assigned to those 1,000 desktops.
Testing Results There were 1.21TB used space for 1,000 desktops with AppStack on vSAN datastore as shown in Figure 17 and 1.23TB deduplication and compression overhead, which was 5 percent of the vSAN datastore capacity. Deduplication and compression ratio was 2.43x. The total capacity used was 2.44TB.
Capacity Information about 1,000 MCS XenDesktops with AppStack
Login VSI Knowledge Worker Results As shown in Figure 18, the MCS Windows 7 desktops with AppStack passed the Knowledge Worker workload without reaching VSIMax v4.1 at the baseline of 1,206 and average of 1,482.
VSImax on Login VSI Knowledge Worker Workload, MCS XenDesktop with AppStack
R E F E R E N C E A R C H I T E C T U R E / 2 3
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
From the average ESXi CPU usage in Figure 19, the peak average CPU usage was 80 percent during the Login VSI testing.
CPU Usage during Login VSI Knowledge Worker Workload, MCS XenDesktop
Memory Usage during Login VSI Knowledge Worker Workload, MCS XenDesktop
0
10
20
30
40
50
60
70
80
90
100
0
50,000
100,000
150,000
200,000
250,000
300,000
\Memory\Kernel MBytes \Memory\NonKernel MBytes
R E F E R E N C E A R C H I T E C T U R E / 2 4
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
From vSAN Performance Service, IOPS increased nearly steadily as the number of active sessions increased. Peak read IOPS was 9,540 and peak write IOPS was 6,896 during the Login VSI test.
vSAN IOPS during Login VSI Knowledge Worker Workload, MCS XenDesktop
Figure 22 shows that vSAN peak write latency was 0.836ms and peak read latency was 0.659ms during Login VSI Knowledge Worker workload test.
vSAN Latency during Login VSI Knowledge Worker Workload, MCS XenDesktop
PVS XenApp with Windows Server
Testing Scenarios PVS Imaging Wizard was used to create a vDisk image from the master target device Windows 2012 R2 Server, then a collection of 25 streamed Windows 2012 R2 VMs was provisioned on the vSAN datastore from the PVS server Console and was added to the machine catalog from the Delivery Controller. The applications were installed with the OS disk and a deliver group was created for Login VSI benchmark testing.
Testing Results As shown in Figure 23, there were 895.15GB used space and 1.23TB deduplication and compression overhead, which was 5 percent of the vSAN datastore capacity. Deduplication and compression ratio was 2.23x. The ratio was relatively low because only 25 Windows 2012 VMs were deployed for 1,000 sessions. The total capacity used was 2.11TB.
R E F E R E N C E A R C H I T E C T U R E / 2 5
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Capacity Information about 25 PVS Windows 2012 VMs
Login VSI Knowledge Worker Results During the testing with 1,000 sessions, VSImax 4.1 was not reached with a baseline score of 566 and an average of 995. This was a stress testing so the peaks were acceptable while running the 1,000 sessions.
VSImax on Login VSI Knowledge Worker Workload, PVS XenApp
R E F E R E N C E A R C H I T E C T U R E / 2 6
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
During the Login VSI test, CPU usage was high and peak average CPU usage was 90 percent as shown in Figure 25.
CPU Usage during Login VSI Knowledge Worker Workload, PVS XenApp
The memory usage increased less than 1 percent during Login VSI tests as shown in Figure 26. Peak average memory consumed was 75,200MB (around 73GB). The ESXi memory was 512GB, which was about 14 percent usage. The average kernel memory usage was 29,005MB (around 28GB).
Memory Usage during Login VSI Knowledge Worker Workload, PVS XenApp
0
10
20
30
40
50
60
70
80
90
100
1,000 Sessions PVS XenApp Login VSI CPU Usage
Physical Cpu(_Total)\% Util Time \Physical Cpu(_Total)\% Core Util Time
0
10,000
20,000
30,000
40,000
50,000
60,000
70,000
80,000
1,000 Sessions PVS XenApp Login VSI Memory Usage
\Memory\Kernel MBytes \Memory\NonKernel MBytes
R E F E R E N C E A R C H I T E C T U R E / 2 7
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
From vSAN Performance Service as shown in Figure 27, IOPS increased steadily as the number of active session increased. Peak write IOPS was 8,896.
vSAN IOPS during Login VSI Knowledge Worker Workload, PVS XenApp
From Figure 28, vSAN latency increased because the number of active sessions increased. Peak write latency was 1.592ms and peak read latency was 1.193ms.
vSAN Latency during Login VSI Knowledge Worker Workload, PVS XenApp
MCS XenApp with Windows Server
Testing Scenarios In this test, 25 MCS random Windows 2012 R2 virtual machines were deployed from the Delivery Controller using the machine catalog wizard and a delivery group was created for the applications. These virtual machines are server OS that allows multiple users to log on.
Testing Results Capacity
As shown in Figure 29, there were 1.01TB used space and 1.23TB deduplication and compression overhead, which was 5 percent of the vSAN datastore capacity. Deduplication and compression ratio was 1.68x. The ratio was relatively low because only 25 Windows 2012 VMs were deployed for 1,000 sessions. The total capacity used was 2.24TB.
Capacity Information about 25 MCS Windows 2012 R2 VMs
R E F E R E N C E A R C H I T E C T U R E / 2 8
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Login VSI Knowledge Worker Results Figure 30 shows that 986 sessions ran successfully. VSImax V4.1 was not reached with the baseline score of 570 and average of 1,112 for 1,000 sessions.
Note: VSImax is measured by the average VSI response time. When the threshold is not exceeded by the average
VSI response time during the test, VSImax is considered as the maximum amount of users that have launched. See VSImax for detailed information.
VSImax on Login VSI Knowledge Worker Workload, MCS XenApp
From the average ESXi CPU usage as shown in Figure 31, CPU usage increased because the number of active sessions increased. Peak CPU usage was high, which was about 84 percent. The CPU usage went down when the sessions logged off.
CPU Usage on Login VSI Knowledge Worker Workload, MCS XenApp
0
10
20
30
40
50
60
70
80
90
100
1,000 Sessions MCS XenApp Login VSI CPU Usage
\Physical Cpu(_Total)\% Util Time \Physical Cpu(_Total)\% Core Util Time
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Memory usage increased at the first half hour during Login VSI tests as shown in Figure 32. Peak average memory consumed was 75,683MB (around 75GB). ESXi total memory was 512GB. The average kernel memory usage was 28,408MB (around 28GB).
Memory Usage on Login VSI Knowledge Worker Workload, MCS XenApp
From the backend view of vSAN Performance Service as shown in Figure 33, peak write IOPS was 21,216 and peak read IOPS was 27,540. The IOPS was high from the vSAN backend because vSAN split the client IOs to several disk IOs.
vSAN IOPS during Login VSI Knowledge Worker Workload, MCS XenApp
As shown in Figure 34, vSAN peak write latency was 3.414ms and peak read latency was 2.106ms during the test.
vSAN Latency during Login VSI Knowledge Worker Workload, PVS XenApp
0
10,000
20,000
30,000
40,000
50,000
60,000
70,000
80,000
1,000 Sessions MCS XenApp Login VSI Memory Usage
\Memory\Kernel MBytes \Memory\NonKernel MBytes
R E F E R E N C E A R C H I T E C T U R E / 3 0
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Best Practices We provided the following best practices based on our solution validation:
AppStack storage policy
vSAN sizing
AppStack Storage Policy When we place AppStack on vSAN datastore, make sure FTT is not less than the FTT value of the desktop policy because AppStack is shared by users and desktops. Do not set it to be the availability bottleneck.
vSAN Sizing Acceptable performance of a virtual desktop is the ability to complete any desktop operation in a reasonable amount of time from a user’s perspective. This means the backend storage that supports the virtual desktop must be able to deliver the data (read or write operation) quickly. Therefore, sizing storage configuration should meet the IOPS requirements in a reasonable response time. With various space efficiency features, the required capacity differs. Refer to the vSAN TCO and Sizing Calculator for the virtual desktop sizing on vSAN.
Recommendation For both PVS and MCS, if the user to core ratio (user number/core number per host) value equals or is less than 6.25, it is recommended to enable deduplication and compression, RAID 5, and software checksum features to achieve a good balance of performance and cost.
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Conclusion VMware vSAN is a low-cost and high-performance storage platform for a virtual desktop infrastructure that is rapidly deployed and easy to manage. Moreover, it is fully integrated into the industry-leading VMware vSphere Cloud Suite. Using SSDs in all-flash vSAN with space efficiency features offers the enterprise performance while reducing capacity cost substantially and other Operating Expense (OPEX) costs such as maintenance by IT as well as power consumption and cooling costs.
Extensive workload and operation tests show that Citrix XenApp and XenDesktop with App Volumes 2.11 on an all- flash vSAN delivers exceptional performance, a consistent end-user experience, and a resilient architecture, all with a relative low price.
All-flash vSAN provides an easily scalable Citrix XenApp and XenDesktop 7.12 environment in both PVS and MCS provisioning methods together with App Volumes 2.11, which provides superior performance and manageability.
R E F E R E N C E A R C H I T E C T U R E / 3 2
Citrix XenApp and XenDesktop 7.12 on VMware vSAN 6.5 All-Flash
Reference
White Paper For additional information, see the following white papers:
VMware vSAN 6.2 Space Efficiency Technologies
What’s New in vSAN 6.5
Product Documentation For additional information, see the following product documents:
vSAN Management
Citrix XenApp and XenDesktop
VMware OS Optimization Tool
VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com Copyright © 2017 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
About the Author Sophie Yin, solution architect in the Product Enablement team of the Storage and Availability Business Unit wrote the original version of this paper. Catherine Xu, technical writer in the Product Enablement team of the Storage and Availability Business Unit edited this paper to ensure that the contents conform to the VMware writing style.
Executive Summary
Business Case
Key Results
Citrix Provisioning Services
Network Configuration
vSAN Configuration
Desktop Provisioning Mechanism
Testing Scenarios
Testing Results
Testing Scenarios
Testing Results
Testing Scenarios
Testing Results
Best Practices