Citrix XenApp Performance Essentials - Luca Dentella - E-Book

Citrix XenApp Performance Essentials E-Book

Luca Dentella

0,0
23,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.

Mehr erfahren.
Beschreibung

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.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 127

Veröffentlichungsjahr: 2013

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Citrix XenApp Performance Essentials
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Errata
Piracy
Questions
1. Designing a Scalable XenApp Infrastructure
XenApp infrastructure
Virtual versus physical servers
Sizing controllers
Data store
Data collector
XML Broker
License server
Web Interface
Sizing session hosts
Application delivery methods
Installed on the server
Streamed to server
Streamed to desktop
Dual mode delivery
Applications on servers – siloed versus nonsiloed
Siloed
Nonsiloed
Provisioning Services
Provisioning Services infrastructure
Infrastructure hierarchy
Sites
Views
Stores
vDisks
Cache on device hard drive
Cache in device RAM
Cache on a server
Cache on a server persistent
The boot process
Using PVS with XenApp
Performing load tests with EdgeSight for Load Testing
Session-host server requirements
Ending sessions automatically
User session limit
Web Interface server requirements
Installation
License server
Your first script
Connecting to the farm
Managing users
Adding a load
Recording instructions
Running a test
Summary
2. Monitoring and Improving Server Performances
Health Monitoring & Recovery
Standard tests
Recovery actions
Configuring Health Monitoring & Recovery
Custom tests
Using Citrix performance monitoring counters
Citrix CPU Utilization Mgmt User
Citrix IMA Networking
Citrix Licensing
Citrix MetaFrame Presentation Server
ICA Session
Secure Ticket Authority (STA)
XenApp on a virtual infrastructure
PowerShell SDK
CPU Utilization Management
Enabling CPU Utilization Management
Shares and reservations
Windows Dynamic Fair Share Scheduling
High CPU load on datastore
Memory optimization
DLL collisions
DLL rebasing and binding
Configuring Memory optimization
Excluding applications
Troubleshooting
OS optimization
All the servers
Paging system components
Power saving
Worker threads
Page file
Provisioned servers
System restore
Background defragmentation and layout service
Antivirus
Worker groups
Creating a worker group
Publishing applications
Load-balancing policies
Load evaluators
Load rules
Default load evaluator
Creating and assigning a load evaluator
Analyzing load evaluators
Preferential Load Balancing
Enabling Preferential Load Balancing
Testing load balancing
Summary
3. Optimizing Session Startup
The logon process
Resolution
Connection
Remote Desktop Services (RDS) license
AD authentication
Citrix license
Session startup
Analysing the logon process
Citrix EdgeSight
Windows Performance Toolkit
Common causes of logon delays
Authentication issues
Profile issues
Folder redirection
Background upload
Citrix Profile Management
Features
Configuring
Troubleshooting
GPO and logon script issues
Session pre-launch, sharing, and lingering
Session pre-launch
Configuring
Life cycle of a session
Session sharing
Session lingering
Configuring
Summary
4. Improving End User Experience
Optimizing Windows GUI
Windows settings
Menu show delay
Internet Explorer offscreen composition
Screensaver
Auto end tasks
Citrix settings
Desktop UI – user policy
Graphics – computer policy
Visual Display – computer policy
Citrix HDX
HDX MediaStream
Flash redirection
Windows Media redirection
HDX RealTime
Generic HDX RealTime
Optimized HDX RealTime
HDX RichGraphics
OpenGL
GPU offloading in a virtual environment
HDX Monitor
Summary
5. Optimizing for WAN Links
Characteristics of a WAN link
Emulating links with WANem
Installing
Configuring
Using
WANalyzer
Optimizing the ICA protocol
ICA Virtual Channels
Virtual Channel Priorities
ICA MultiStream
Enabling ICA MultiStream
Traffic shaping
SpeedScreen latency reduction
Mouse Click Feedback
Local Text Echo
Adding applications
Configuring applications
Configuring input fields
Summary
Index

Citrix XenApp Performance Essentials

Citrix XenApp Performance Essentials

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: August 2013

Production Reference: 1120813

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78217-044-0

www.packtpub.com

Cover Image by Abhishek Pandey (<[email protected]>)

Credits

Author

Luca Dentella

Reviewer

Andy Paul

Acquisition Editor

Pramila Balan

Commissioning Editor

Llewellyn Rozario

Technical Editors

Sanhita Sawant

Sonali S. Vernekar

Copy Editors

Adithi Shetty

Laxmi Subramanian

Project Coordinator

Suraj Bist

Proofreader

Amy Guest

Indexer

Hemangini Bari

Graphics

Ronak Dhruv

Abhinash Sahu

Production Coordinator

Manu Joseph

Cover Work

Manu Joseph

About the Author

Luca Dentella is an IT architect working for an Italian consulting company, Sorint.lab.

He graduated in Telecommunication engineering from the Polytechnic University of Milan and he specialized in Windows and virtualization technologies, becoming both a Microsoft and a VMWare Certified Professional.

In the last five years, he worked mainly for INGDirect, Italy, where he helped to design and develop the IT infrastructure. Some projects he was involved in include call center virtualization, design of bank shops infrastructure, and outsourcing part of the back office.

He also worked as a Java/C# developer, and now he administers Java Application Servers such as IBM WebSphere and RedHat JBoss, and uses his programming skills to write scripts and programs for automating administrative tasks.

He designs, implements, and administers XenApp farms for different customers.

I’d like to thank my family and my girlfriend for supporting me during the writing of this book. Special thanks goes to my colleagues Albino, Aldo, and Marco who helped me in understanding network and security concepts and suggested the use of WANem.

About the Reviewer

Andy Paul is an accomplished virtualization architect, instructor and speaker. He has designed and delivered virtualization projects for Fortune 500 companies, public and private healthcare organizations, and institutions of higher education. He has also served as a lead technical trainer, an adjunct professor, and a guest speaker for multiple organizations.

Andy is currently the Virtualization Practice Director at GlassHouse Technologies, where he manages the delivery teams, oversees project architecture, and also is a VDI subject matter expert.

Visit Andy’s Blog at www.paultechnologies.com/blog.

I would like to thank my wife, Mandy, for her support and dedication which has enabled me in all of my professional pursuits.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt’s online digital book library. Here, you can access, read and search across Packt’s entire library of books. 

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

Instant Updates on New Packt Books

Get notified! Find out when new books are published by following @PacktEnterprise on Twitter, or the Packt Enterprise Facebook page.

Preface

Citrix XenApp is an application-delivery solution that allows apps to be virtualized, centralized, and managed in the datacenter.

A critical task every Citrix administrator has to perform is to design and maintain an infrastructure that performs well; poor performances have a high impact on users' satisfaction.

What this book covers

Chapter 1, Designing a Scalable XenApp Infrastructure, helps IT architects design a good XenApp infrastructure.

Chapter 2, Monitoring and Improving Server Performances, helps XenApp administrators monitor XenApp servers and fine-tune them for best performance.

Chapter 3, Optimizing Session Startup, helps XenApp administrators reduce the session start-up time.

Chapter 4, Improving End User Experience, helps XenApp administrators improve the end user experience.

Chapter 5, Optimizing for WAN Links, helps XenApp administrators optimize and test XenApp farms for WAN users.

What you need for this book

This book covers the latest version of Citrix XenApp 6.5, but some of the optimizations described are applicable for previous versions too. During the writing of this book, particular attention was given to pointing out which features are available only in XenApp 6.5 or with a particular licensing.

Who this book is for

This book is for IT architects and administrators who need a quick guide to design and optimize XenApp farms.

It helps to design and maintain a scalable, high-performing XenApp infrastructure with guidelines and tips to optimize system loads, sessions, and user experience.

A chapter is dedicated to WAN links, with specific suggestions about how to optimize and test farms in that scenario.

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "They consist of a .vhd file (contains the data of the virtual disk)."

Any command-line input or output is written as follows:

D:\Support\debug> QueryDS /table:LMS_ServerLoadTable

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: " You can change the priority of a policy from the context menu or from the Actions pane".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

Reader feedback

Feedback from our readers is always welcome. Let us know what you think about this book—what you liked or may have disliked. Reader feedback is important for us to develop titles that you really get the most out of.

To send us general feedback, simply send an e-mail to <[email protected]>, and mention the book title via the subject of your message.

If there is a topic that you have expertise in and you are interested in either writing or contributing to a book, see our author guide on www.packtpub.com/authors.

Customer support

Now that you are the proud owner of a Packt book, we have a number of things to help you to get the most from your purchase.

Errata

Although we have taken every care to ensure the accuracy of our content, mistakes do happen. If you find a mistake in one of our books—maybe a mistake in the text or the code—we would be grateful if you would report this to us. By doing so, you can save other readers from frustration and help us improve subsequent versions of this book. If you find any errata, please report them by visiting http://www.packtpub.com/submit-errata, selecting your book, clicking on the erratasubmissionform link, and entering the details of your errata. Once your errata are verified, your submission will be accepted and the errata will be uploaded on our website, or added to any list of existing errata, under the Errata section of that title. Any existing errata can be viewed by selecting your title from http://www.packtpub.com/support.

Piracy

Piracy of copyright material on the Internet is an ongoing problem across all media. At Packt, we take the protection of our copyright and licenses very seriously. If you come across any illegal copies of our works, in any form, on the Internet, please provide us with the location address or website name immediately so that we can pursue a remedy.

Please contact us at <[email protected]> with a link to the suspected pirated material.

We appreciate your help in protecting our authors, and our ability to bring you valuable content.

Questions

You can contact us at <[email protected]> if you are having a problem with any aspect of the book, and we will do our best to address it.

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 infrastructureHow those components work togetherThe best practices by Citrix and some suggestions from my experience to design an architecture that respects initial requirements and is scalable for new needsHow to implement Provisioning Services to deploy new session host serversHow 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 XenServerMicrosoft Hyper-VVMware 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