Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Citrix XenApp Performance Essentials
Citrix XenApp Performance Essentials

Citrix XenApp Performance Essentials: A practical guide for tuning and optimizing the performance of XenApp farms using real-world examples

eBook
€8.99 €19.99
Paperback
€24.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Table of content icon View table of contents Preview book icon Preview Book

Citrix XenApp Performance Essentials

Chapter 1. Designing a Scalable XenApp Infrastructure

The design of a XenApp infrastructure is a complex task that requires a good knowledge of XenApp components. Taking the right decisions in the design phase may also greatly help system administrators to expand XenApp farms for satisfying new business requirements or to improve the user experience.

In this chapter you will learn:

  • The key components of a XenApp infrastructure

  • How those components work together

  • The best practices by Citrix and some suggestions from my experience to design an architecture that respects initial requirements and is scalable for new needs

  • How to implement Provisioning Services to deploy new session host servers

  • How to run a load test using Citrix Load Testing

XenApp infrastructure


A XenApp infrastructure is composed of two main elements:

  • Servers that publish applications (session hosts)

  • Servers that run infrastructure services (controllers)

Regardless of your farm size, it is recommended to have at least one server dedicated to infrastructure services.

XenApp 6.5 introduces a new server mode, session-only, for servers that only host published applications as shown in the following screenshot:

Choosing the session-host mode only during server setup

Virtual versus physical servers

You can run your XenApp farm on physical servers or on virtual servers.

Citrix supports XenApp running on the following hypervisors:

  • Citrix XenServer

  • Microsoft Hyper-V

  • VMware ESXi

My suggestion is to deploy your farm in a virtual environment; the use of a virtual environment makes possible to deploy new servers in minutes, without the need of buying physical hardware. In the design phase, this means you may choose to split the components on different servers and you may count on the high-availability features of the hypervisor. When the farm is in production, this means you may more easily deploy new servers to fulfill new business requirements or to improve performances.

Sizing controllers

A XenApp farm requires some infrastructure components that run on servers deployed with the controller role. Depending on the size of your farm, you may choose to install all these components on the same server or to scale them on different servers.

Data store

The data store is the repository for all the static information of your farm (farm, servers and applications configurations, administrative accounts, and so on).

Each session-host server in your farm needs a constant connection to the data store. When the Independent Management Architecture (IMA) service starts, it queries the data store and stores the farm configuration in the local host cache (LHC). Every 30 minutes, the IMA service then contacts the data store to ensure that its LHC is consistent.

If you deploy your session-host servers specifying the session-only mode, you may reduce the data store load and make the startup and join processes faster, as they require less data during the join and sync process.

Note

Refer to Citrix Knowledge Base (http://support.citrix.com/article/CTX114501) for the list of supported databases by different Citrix products.

During the setup wizard, you are asked to choose a database. You can choose New database to install a local instance of SQL Server Express or Existing Microsoft SQL Server database to use a database server already present on your network.

The free SQL Server Express is suitable for small (< 100 servers) farms, while for bigger farms I strongly suggest the use of an enterprise-level database server, possibly in a high availability configuration (such as Microsoft Cluster, Oracle RAC). If the data store is unavailable you can't make changes to the configuration of your farm; moreover if servers reboot, the IMA service won't start and they will no longer publish applications.

In both the cases you should not install other components on the servers that run your database.

XenApp does not usually require much storage for the database. A typical storage requirement is as follows:

Number of servers

Number of applications

Database size

10

50

50 MB

100

250

140 MB

1000

1000

500 MB

Data collector

The data collector manages all the dynamic information of your farm (active and disconnected sessions, server loads, and so on). It also performs resolutions, that is, when a user requires an application, the data collector finds the least loaded server that can run that application.

It is, therefore, a key component in the application startup process. A slowness in the resolution process increases the overall time a user has to wait before the requested application is launched.

You need one data collector for each zone in your farm. A zone is a configurable grouping of XenApp servers; a farm requires at least one zone and all your servers must belong to a zone.

The main purpose to configure zones is to create a hierarchical structure to efficiently distribute changes:

  • Servers in a zone notify changes to the data collector of that zone using high-speed links (LAN)

  • The data collector then replicates those changes to data collectors of the other zones, usually through slow-speed links (WAN)

Zones are useful in a geographically distributed topology; for example, when your company has more than one site connected with WAN links. Zones are not necessary to divide servers in the same site. I worked with XenApp farms with more than 500 servers in one zone.

Citrix recommends keeping the number of zones in your farm to a minimum with one being optimal. Every time a dynamic event occurs, indeed the data collector of that zone must forward the event to the data collectors of the other zones: this replication consumes CPU and bandwidth.

The following figure is a flowchart by Citrix that helps to decide how many zones you need to deploy:

How to choose the farm topology

Data collector stores the entire event in the RAM memory. Its consumption depends on the farm size (number of servers, applications, and so on) and usage (number of active sessions and so on). However, this is usually not significant; for example, a data collector in a large farm (about 500 servers) I administer, uses an average of 250 MB of memory. Similarly, CPU usage is not significant. It may increase only if you create several zones in your farm but this is a discouraged practice. Anyhow, I strongly suggest you to dedicate one server to act as the zone data collector; if the data collector is running on a server that also publishes applications, it may experience resource contention and the resolution process may slow down.

Farms choose the data collector for each zone with an election between all the servers in the zone that can run the component (session-host only servers are excluded). XenApp administrators may change the election preference for each server to statically choose which server will be the data collector for the zone. The following screenshot displays the election preference options for the data collector:

Changing the election preference

Set the election preference to Most Preferred only on the dedicated server to be sure it will be chosen as the data collector during the election process.

If the data collector becomes unavailable, a new election is performed. You may also consider to define the backup server (a second dedicated server or a server running rarely used applications) setting its election preference to Preferred. The other servers in the farm should keep the default value (Default Preference).

XML Broker

The XML Broker is a component used by the Web Interface to retrieve information about the published applications. When a user logs on to the Web Interface, it displays the list of applications retrieved from the XML service to the user. When the user selects an application, the XML Broker responds with the address of a server running that application.

As the XML Broker works closely with the data collector, it is recommended that you install the XML Broker on the same server running the data collector component. If you add more XML Broker servers, you can configure the Web Interface or add an external load balancer (for example, a Citrix NetScaler) to balance the requests between them. The following screenshot displays the option of selecting an XML Broker server for load balancing:

Load balancing XML Broker servers

License server

The license server stores and manages Citrix licenses. The first time a user connects to a XenApp server, the server checks out a license for the user. Subsequent connections of the same user share the same license.

A single license server is enough for farms with thousands of servers and users; you could install a second license server in your farm but the two servers cannot share licenses. Because the license server is contacted when the user connects to a XenApp server, slow responses may increase the login time. You should place the license service on a dedicated server or, in case of small farms, on a server that doesn't publish applications. The license server process is single-threaded so multiple processors do not increase its performance.

If the license server is not available, all the servers in your farm enter a grace period of 720 hours; during this period users are still allowed to connect. This means that you usually don't need a high-availability solution for your license server. If a server fault occurs, you can install a new license server during the 30 days of the grace period or power on a second license server you prepared and kept turned off (cold standby).

Web Interface

The Web Interface provides users access to the published application through a web browser. It's an application running on IIS 7 Web Server and developed in Java/.NET.

A single Web Interface, running on a Dual Core Xeon Server, can handle up to 7 to 8 requests per second. You should expect many connections to the Web Interface when the users arrive at work in the morning or after lunch, so size your Web Interface server based on the number of users you expect will log on at the same time.

A tip to provide high availability and load balancing for this component is to deploy two Web Interface servers and balance the incoming connections using an external HTTP load balancer, as shown in the following diagram:

Citrix Web Interface with external balancer

Sizing session hosts

Session host servers publish and run the applications in your farm. Correctly sizing these servers is one of the most critical tasks during the design of your infrastructure; if you underestimate the servers, users will eventually complain about application slowness or worse, some users won't be able to run them at all. If you overestimate them, your boss will probably complain about the cost of the project.

The number of servers you need and their hardware configuration depends on the number of users and applications, but even more on the kind of the applications and how you deliver them to the users. My suggestion is to set up a test farm and to use it to verify the load each application produces. Later in this chapter you'll learn how to use Citrix EdgeSight for Load Testing to simulate real users.

Application delivery methods

Citrix XenApp supports five ways to deliver applications to the users. Each method has pros and cons and the choice of one or another highly changes the resource requirements of the session host servers. The methods are explained in the following sections:

Installed on the server

Applications are installed on the server. When a user launches an application, it runs on the server. Session host servers, therefore, require sufficient resources (CPU and RAM) for the applications, while user devices may be lightweight devices (thin clients, tablets, and smartphones). No offline access is possible.

Streamed to server

Applications are put in profiles and stored on a file or web server. When a user launches an application, this streams to the server where the execution takes place. Session host servers still require sufficient resources (CPU and RAM) for the applications, while user devices don't. No offline access is possible.

Streamed to desktop

Applications are put in profiles and stored on a file or web server. When a user launches an application, this streams to the user device. This device must have enough resources to run the application and must run Windows OS. Applications are cached on the user device, so offline access is possible.

Dual mode delivery

Applications are put in profiles and stored on a file or web server. When a user launches an application, XenApp tries to stream it to the user device. If this is not possible – the device runs an unsupported OS – the application is streamed to the server. This is a more versatile method, but session host servers still require sufficient resources to run the applications in the backup mode.

Applications on servers – siloed versus nonsiloed

The traditional and most common method to deliver applications is to install them on the session host servers. Two strategies available for placing applications on servers are: siloed and nonsiloed.

Siloed

In this approach applications are installed on small groups of servers; you could even have servers running a single application. Applications are usually grouped by their use, for example, all the applications used by the Financial department are installed on the same servers, while the applications used by the HR department are installed on different servers.

This approach is sometimes required if your applications have different hardware requirements or may cause conflicts if installed on the same server. Some application vendors, moreover, don't consider a different licensing if their applications are published through XenApp. So if you pay license fees simply counting the number of installations, you may reduce the cost of installing them on a small number of servers.

Nonsiloed

In this approach all the applications are installed on all the servers. This approach is more efficient as it reduces the number of required servers and it may also improve the user experience because it allows users to share the same server session with different applications. If you're using Provisioning Services, a nonsiloed approach also helps you to reduce the number of different vDisks you have to create and maintain.

My suggestion is to use the nonsiloed approach when possible. Later in this book you'll learn that, with worker groups, you will still be able to logically group applications on servers even with this approach.

Provisioning Services


The Provisioning Services infrastructure allows computers to be provisioned from a single shared image. This technology is widely used in XenDesktop, the desktop virtualization product by Citrix. System administrators prepare a small pool of images and, using Provisioning Services, deploy them to the users. Provisioning Services also becomes very helpful in a XenApp infrastructure, when you need to deploy several session host servers.

The use of this technology offers many benefits. With Provisioning Services, system administrators create and maintain a small number of images (or a single image if all the applications are installed on all the servers) for their servers. If a new application has to be published or an update for an installed application is available, the administrator only has to modify the "master" image and when servers reboot, the change will be deployed on every farm. Server consistency is so assured that there's no risk that some of your servers weren't updated or still run the older version of the application. You may also perform a test of the new image assigning it to a couple of test servers and, if everything is ok, deploy it to the production servers.

If something goes wrong (the updated application doesn't work, an installed patch conflicts with some other component, and so on) and you kept the previous version of the image, a rollback is very easy. Just assign the old image to your servers and reboot them.

Provisioning Services also help to reduce storage costs. The image is streamed via network from a central repository; a local storage is usually required for runtime data caching, but in some scenarios you can remove it entirely.

The use of Provisioning Services certainly requires some more effort during the installation phase, but from my experience I suggest you to consider using this feature if your farm has more than 5 to 10 servers. The time you spend to deploy the Provisioning Services infrastructure is less than the time you would spend for the daily tasks to maintain your farm. In the following sections, you will learn the key concepts of this technology; for a real implementation, please refer to the Citrix documentation.

Provisioning Services infrastructure

The Provisioning Services infrastructure is composed by several components.

At a minimum, you need:

  • A license server; it could be the same license server in your XenApp farm.

  • A database; you can place Provisioning Services database on the same database server that hosts your farm's data store.

  • One or more Provisioning Servers; these run stream services, the software used to stream virtual images to provisioned servers.

  • A store, where the images of your servers are saved. You can place the store on the Provisioning Servers or on an external file server.

The following diagram displays the Provisioning Services infrastructure:

High level view of a PS infrastructure

Infrastructure hierarchy

A Provisioning Services infrastructure is logically divided into a hierarchy of items.

When you install your first Provisioning Server (PVS), a new farm is created. Do not confuse this farm with the farm of your XenApp infrastructure; they don't share configurations or items. A Provisioning Services farm may serve more XenApp and XenDesktop farms.

A farm contains three major components:

  • Sites

  • Views

  • Stores

Sites

Provisioning Services sites allow administrators to logically group items that belong to the same physical site (for example, all the resources located in the headquarters or in a branch office). You need at least one site, which is created when you install your first Provisioning Server. Administrators may create different sites to delegate administrative tasks. You can indeed create accounts that can only administer items in a given site.

A site contains some elements, the most important of them are:

  • Servers: The Provisioning Servers in that site.

  • vDisk Pools: The collection of vDisks (images) available for that site.

  • Device collections: Logical groups of target devices.

Views

A target device belongs to one device collection. Views provide an alternative method for grouping and managing target devices; a target device may indeed belong to different views. You can create views at farm level or at site level; a view at site level may only contain devices from the same site, while views at farm level may contain all the target devices in that farm.

You can perform some administrative tasks at view level, so views become useful with a large number of target devices. For example, you can reboot all the session host servers that publish an application adding them to a view and issuing the Restart... command at the view folder.

Stores

A store is a storage location where you save your vDisks. It may be a local hard disk or a network share.

vDisks

vDisks are disk image files. They consist of a .vhd file (contains the data of the virtual disk), any properties files (.pvp, contain disk geometry, and configuration), and, if applicable, a chain of differencing disks (.avhd).

vDisks may be configured in the following two modes:

  • Private image mode; used by a single target device with read/write access

  • Shared image mode; shared between multiple devices with read-only access

In shared image mode, target devices can only read the content of the vDisk. Write requests can be cached in four different ways as follows:

Cache on device hard drive

In cache on device hard drive option, write requests are cached on a local hard drive of the target. This is the most common setup, as it frees up the Provisioning Server and doesn't require a large amount of RAM memory. Target servers must have a local hard drive.

Cache in device RAM

In cache in device RAM option, write requests are cached in the target device's memory. This is the fastest method for caching but consumes memory of the target device, reducing the total memory available for running applications.

Cache on a server

In cache on a server option, write requests are handled by the Provisioning Server and cached on a temporary file; in the Store properties you can set the location of these files. This method should be used only if the target device doesn't have a local storage because it increases the network usage and the Provisioning Server load.

Cache on a server persistent

All the previous options are volatile; write cache is lost when the target device reboots. With the cache on a server persistent option, you can set the cache file to be persistent: Provisioning Server creates a cache file for each target device and doesn't clean it if the target reboots. A drawback is that any changes to the original vDisk invalidate all the cache files.

Note

Invalid cache files are not automatically deleted. Remember to periodically check if any exist and manually delete them to free some space.

The following screenshot displays the different ways of caching write requests to disks:

vDisk modes

The boot process

When a target device boots, it first needs a bootstrap program, a small software that runs before the operating system. Provisioning Services use a particular bootstrap program to set up the streaming session with a Provisioning Server. Through this session the target device is then able to receive the assigned vDisk and boot the operating system.

Provisioning Services supports three ways to send the bootstrap program to a target device:

  • Dynamic Host Configuration Protocol (DHCP)

  • Preboot eXecution Environment (PXE)

  • Boot device stored on attached media

The most common configuration is the use of a DHCP server. You can configure an existing DHCP server in your network or use the DHCP server provided with the Provisioning Server.

The boot process in this scenario is performed in the following three steps:

  1. The target device requests an IP address from the DHCP server. The response includes the scope options 66 and 67 with the name and the location of the bootstrap file.

  2. Using Trivial File Transfer Protocol (TFTP), the target device requests the bootstrap file from the Provisioning Server. This downloads it to the target.

  3. The target device establishes a stream session with the Provisioning Server and boots the assigned vDisk.

    Boot steps of a target device

As an alternative to network booting, you can use Citrix Boot Device Manager to create a bootstrap file on a USB flash device or a CDROM.

Using PVS with XenApp

Begin by building a XenApp master server. A best practice is to choose the session-host only mode during the XenApp installation. Join the server to your farm or use the wizard to create a new farm if this is the first server you deploy. Install all the needed applications and publish them to your users.

Launch the Citrix XenApp Server Role Manager, select Edit Configuration | Prepare this server for imaging and provisioning as shown in the following screenshot:

Preparing the server for imaging and provisioning

Choose to remove the server from the farm but don't choose to clear the database location unless you plan to create an Active Directory policy to configure it.

Now, install the Provisioning Services Target Device software. At the end of the setup, the Imaging Wizard should start automatically. If not, run it from the Provisioning Services folder in the Start menu.

First, you need to connect to your PVS farm; enter the name (or the IP address) of one of the servers in your farm and the network port. If you're running the wizard with a user that can administer the farm, choose to use the Windows credentials, otherwise enter the appropriate credentials.

PVS can configure and manage Windows licensing. Choose the licensing method (none, KMS, or MAK) you deployed in your infrastructure.

The Imaging Wizard can create a new vDisk for you; as an alternative, if you've previously created an empty vDisk, you can choose it.

The final step is to create a target device in your PVS farm that corresponds to the server you're running the wizard on. Select the name of the device, the MAC address associated with the NIC you chose during the installation of the target device software, and the collection to add the device to.

Review the information, then click on Finish to start the conversion process. After some minutes your vDisk will be ready to use; just remember to change the access mode to Standard image before booting new servers with it.

You can manually create new session host servers (for example, from the vSphere client if you're on a VMware infrastructure) or use the Streamed VM Setup wizard from the PVS console to create your servers at once. The wizard supports XenServer, Microsoft Hyper-V, and VMware vSphere.

If you need to modify the vDisk, make a copy, change the mode to Private, and assign it to a server. Boot the server, perform the changes, and before shutting it down, remember to launch the Prepare server again for the imaging and provisioning wizard.

Performing load tests with EdgeSight for Load Testing


Citrix offers a complete solution to perform load tests in XenApp and XenDesktop environments: Citrix EdgeSight for Load Testing.

This product is available on the Citrix website; at the moment I'm writing the latest version, 3.8.1.

Note

You need a valid XenApp license to download and run the product. It's included in the Enterprise or Platinum version

Using EdgeSight for Load Testing, you are able to simulate real user sessions to analyze how your farm performs with different loads; it's a very helpful tool to correctly design your infrastructure.

EdgeSight for Load Testing has two components:

  • The Controller; used to design and configure test plans and coordinate the launchers during the test execution

  • One or more Launchers; that receive commands from the controller, create ICA sessions to the target hosts, and replay the test plan, simulating user actions

The following screenshot displays the EdgeSight for Load Testing components:

EdgeSight for Load Testing components

Session-host server requirements

You need to change the remote desktop services configuration on the session host servers on which load tests will be applied, using the Remote Desktop Session Host Configuration tool.

Ending sessions automatically

No disconnected sessions must remain when virtual users disconnect from servers. Select ICA-TCP connection and select End session as shown in the following screenshot:

Ending sessions automatically

User session limit

If you're going to use multiple copies of the same virtual users to perform your test, you need to remove the limit of one session per user, and change the Restrict each user to a single session setting to No.

Web Interface server requirements

It's very common to use the Citrix Web Interface to provide users a portal where they may view and run their applications. If you want to test this component with EdgeSight, you need to install on the server an optional component named Web Interface Support that hosts the Web Interface, included in the EdgeSight for Load Testing setup package.

Using this component, simulated users will be able to log on to the Web Interface, retrieve the published application you want to test, and run it.

Note

You need at least Web Interface version 4.5

Installation

You may install both Controller and Launcher on the same test machine, or you may install Launcher on dedicated servers. If you need to simulate a large number of users, the second scenario is preferable; if the test machine is under high load, test results may be mistaken.

The system requirements are as follows:

  • 2 GHz or faster CPU

  • 1 GB RAM

  • 1 GB of free disk space

  • Windows Vista, Windows 7, or Windows Server 2003, 2008, or 2008 R2

The Launcher requires ICA Client, version 10 or later for testing XenApp systems and version 12 or later for testing XenDesktop systems.

The Controller must be able to connect to Launchers on port TCP/18747 and to connect to your license server (default port is TCP/27000).

License server

Before being able to run any tests, you need to configure your license server. When a test is performed, the Controller checks for a valid XenApp Enterprise or Platinum license. If a license is found, you can run as many users as required.

Open the Controller, in the toolbar you can find a button to open the Licensing Server Configuration dialog, enter the address and the port number of your license server and click on OK.

Your first script

A script is a single part of a test; it defines the following:

  • The actions (instructions) that will be performed

  • The users that will perform the actions

  • Where (connections) the actions will be performed

  • How many users and how long the test will last (load)

To create a new script, select Test – Add script....

Connecting to the farm

In your script, you need to define how users will connect to your XenApp infrastructure.

Right-click on the Connections node and select Add connection...; enter the name of the Launcher server from which connections will begin.

If you want to connect to a published desktop, select Server and enter the server name in the Connect To field.

If you prefer to launch an application through the Citrix Web Interface, select Web Interface and click on the Browse... button.

Insert the address of the server that hosts the Web Interface. You usually don't need to change the port number (80 is the default) or Login and Application Page addresses (you selected those addresses when you installed the Web Interface Support component). Enter the account details of a user that could connect and click on Search.

In the Applications tab, you should see all the applications published for that user, select the application your script will test and click on Select.

Creating a connection to the Web Interface

Managing users

For each connection you created, you have to define virtual users. Virtual users are used by Launchers to perform the test. You have to create the users, (usually in your Active Directory) and enable them to connect to your farm, and launch the application(s) you want to test.

If you named your test users like:

  • testuser1

  • testuser2

  • testuser3, and so on

with the same password, the Add Users to Connection dialog helps you to add them at one time. Enter the number of the users to be added in the Count field, then type the base username in the Username field and tick the # checkbox.

Complete the Password and Domain fields and click on OK, EdgeSight will add all the users for you as shown in the following screenshot:

Adding new virtual users

Adding a load

The load defines how long a test will last, how many users will execute it, and at what rate users connect to the server.

If you select the Concurrency checkbox, the system attempts to maintain a given number of virtual users during the test, ramping their count between the start and end values.

If you select the Rate checkbox, the system attempts to create new virtual users at the rate specified.

Recording instructions

The easiest way to define the actions virtual users will perform is to record them during an interactive session.

You may select the user that will connect to the server by left-clicking on the user's icon or let the system choose the first user for you.

Select the Instructions folder and click on the Record Test button. The recording session begins and EdgeSight records all the commands you enter. The session ends when you close the connection or if you click on Stop/Cancel Test button in the main toolbar. If you stop a recording, you can restart it by clicking on the Continue button, while if you cancel it, no instructions are saved.

At the end of the recording, instructions are listed in the Instructions folder.

You can change the recorded instructions or add new ones. Instructions are keyboard/mouse commands or even complex Jscript scripts. You can also group instructions in folders and add breakpoints for debugging.

Running a test

When your test plan is ready, you can run it using the Replay test button in the main toolbar.

During the test execution, you may watch the virtual users' actions and if you click on the Display node, you can get real-time statistics, as shown in the following screenshot:

Real-time statistics

Summary


A XenApp infrastructure is made by several components: data store, data collectors, XML brokers, license servers, Web Interface servers, and session-host servers. All contribute to the correct working of the solution. In this chapter, you learned how to correctly size them based on your business requirements.

If you need to deploy several session-host servers, you may consider using Citrix Provisioning Services. With this tool, you can create a master image of your server and use it to provision as many servers as you need. Day-by-day management is also made easier; updates, patches, and changes have to be applied to the master image only.

Even if guidelines and best practices exist, nothing is better than a real test. With EdgeSight for Load Testing, Citrix offers a complete test suite to simulate real loads on a XenApp farm.

Left arrow icon Right arrow icon

Key benefits

  • Design a scalable XenApp infrastructure
  • Monitor and optimize server performance
  • Improve end user experience
  • Tune the farm for WAN connections
  • Real world examples, ready-to-use suggestions, and best practices

Description

Citrix XenApp is an application virtualization product that allows users to connect to their corporate applications from any device. XenApp can host applications on central servers and allows users to interact with them remotely or stream and deliver them to user devices for local execution. Citrix XenApp Performance Essentials is a practical guide that provides you guidelines, best practices, and real world examples that will help you to improve the performance of your farm, identifying and solving possible bottlenecks and using advanced features including the new features provided by XenApp 6.5. Citrix XenApp is widely used to deliver enterprise applications to end users. This book covers the whole process of optimizing a XenApp farm, starting from the design phase all the way to tuning for remote users and connecting via geographic links. With your farm in production, you will understand what to monitor and how to optimize your farm, as well as how to use an open-source tool, WANem, to test the applications' behavior with different link conditions. You will also learn which settings and features XenApp offers to optimize CPU and memory utilization. This book will help you to prevent or solve performance problems and make your users happy working with published applications.

Who is this book for?

Citrix XenApp Performance Essentials is intended for IT architects and system administrators who work with Citrix XenApp and who need an agile, practical guide to tune and optimize the performance.

What you will learn

  • Learn the key components of a XenApp farm and how they work
  • Design considerations and tips that make a farm scalable
  • Understand counters and tools for health and performance monitoring
  • Discover all about CPU optimization and memory utilisation
  • Learn how to improve the load-balancing and how to handle incoming connections
  • Make, measure, and speed-up the logon process
  • Master the new XenApp 6.5 features for session pre-launch, such as sharing and lingering
  • Learn how to improve the end user experience
  • Understand how to modify Windows and Citrix session settings
  • Find out about HDX and its usage to deliver multimedia applications
  • Stimulate different links with WANem

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Aug 19, 2013
Length: 126 pages
Edition : 1st
Language : English
ISBN-13 : 9781782170457
Vendor :
Citrix

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Billing Address

Product Details

Publication date : Aug 19, 2013
Length: 126 pages
Edition : 1st
Language : English
ISBN-13 : 9781782170457
Vendor :
Citrix

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 68.97
Instant Citrix XenApp
€22.99
Citrix XenApp Performance Essentials
€24.99
Instant EdgeSight for XenApp
€20.99
Total 68.97 Stars icon
Banner background image

Table of Contents

5 Chapters
Designing a Scalable XenApp Infrastructure Chevron down icon Chevron up icon
Monitoring and Improving Server Performances Chevron down icon Chevron up icon
Optimizing Session Startup Chevron down icon Chevron up icon
Improving End User Experience Chevron down icon Chevron up icon
Optimizing for WAN Links Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(3 Ratings)
5 star 33.3%
4 star 66.7%
3 star 0%
2 star 0%
1 star 0%
Esther Barthel Sep 11, 2013
Full star icon Full star icon Full star icon Full star icon Full star icon 5
While writing my own XenApp Cookbook for Packt Publishing, I found the time to read another great XenApp book: Citrix XenApp Performance Essentials. So here's my review on the book.The book consists of 5 chapters and it starts with design guidelines to IT Architects to design a good XenApp infrastructure. The other chapters in the book focus on improvements and optimizations Administrators can implement to optimize server performance, session start-up time, end user experience and WAN connections.The first chapter focuses on the design of a XenApp infrastructure, which in my humble opinion is the most important phase for your XenApp infrastructure to determine how it will perform. A bad design decision can haunt the infrastructure during its entire lifetime.Luca has done a great job addressing the most important design decisions an Architect has to make during the design phase and sharing his vision and advice on the subject. The information he provides on the many components that build your XenApp infrastructure allows Architects to understand the role each component has and make a solid design decision. I also like the style Luca choose, to offer information and suggestions and not mandate the design.A must read chapter for XenApp infrastructure Architects!The other four chapters in the book focus on the improvements and optimizations Administrators can check and implement in a production environment. Luca start off by explaining the different monitoring tools you can use to check the performance of your XenApp servers and additional infrastructure components, like the License server and Hypervisors. I like this setup to focus first on getting the right performance counters and then look at ways to improve the performance when required. The book advices Administrators to get to know the XenApp infrastructure and help them to understand what tuning might or might not be effective by providing in-depth explanations for each optimization setting. Not only does the book focus on server performance, it will run you along all components by focusing on session performance, end user experience and WAN connections as well. This covers the entire flow from server to client and checks each contribution to the experienced performance by the end user. Each tool to check the performance is explained in detail, which makes it an even more valuable book to have when you want to focus on XenApp performance improvements.I for one have added this book to my resource library and expect to use it as a reference quite often when designing and troubleshooting XenApp infrastructures.
Amazon Verified review Amazon
Amazon Customer Dec 27, 2016
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
Easy to understood, helpful if you have perfomance issues in your environment
Amazon Verified review Amazon
Daniele Tosatto Sep 25, 2013
Full star icon Full star icon Full star icon Full star icon Empty star icon 4
The book consists of 5 chapters and it starts with design guidelines about XenApp infrastructure: the first chapter introduces you the main elements of a XenApp environment and help you to understand the role each component has and to make the right decision about farm sizing.Chapter 2 explains you how to monitor XenApp performances and make improvements if needed. In this chapter you will learn how to use some monitoring tools like for example Health Monitoring and Recovery and Performance monitoring counters.The last 3 chapters gives you details about session startup, user experience and WAN optimizations: starting here you can find useful tips to understand deeply the user logon process and discover potential issues and delays in order to provide the best experience to your XenApp users.This book has especially been written to provide you with all the information that you need to design a new XenApp infrastructure: for this reason, the book is written for Citrix administrators with knowledge about Citrix XenApp.The book is about 130 pages so do not expect it is a XenApp Bible!!! It is a guide that helps you make sure your XenApp farm works and performs well.So, a book well-written that point you on the right direction for designing and optimizing a XenApp infrastructure: a good read if you are considering to became a XenApp architect.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.