WHITE PAPER Citrix XenDesktop XenDesktop Planning Guide: Load Balancing Web Interface with NetScaler



Similar documents
High Availability for Desktop Virtualization

Desktop Virtualization Made Easy Execution Plan

High Availability for Citrix XenApp

Citrix XenServer: VM Protection and Recovery Quick Start Guide

Citrix StoreFront 2.0

Citrix Lab Manager 3.6 SP 2 Quick Start Guide

Deployment Guide for Citrix XenDesktop

Best Practices for Upgrading the Virtual Desktop Agent

Advanced Farm Administration with XenApp Worker Groups

Success Accelerator. Citrix Worldwide Consulting Solutions. Planning and Executing a Successful Go Live

Benchmarking Citrix XenDesktop using Login Consultants VSI

WHITE PAPER Citrix XenServer: Virtual Machine Backup. Citrix XenServer. Virtual Machine Backup.

Consulting Solutions WHITE PAPER Citrix XenDesktop Citrix Personal vdisk Technology Planning Guide

Citrix Receiver for Mobile Devices Troubleshooting Guide

SOLUTION BRIEF Citrix Cloud Solutions Citrix Cloud Solution for On-boarding

White paper. Microsoft and Citrix VDI: Virtual desktop implementation scenarios

HDX 3D Version 1.0 Release Notes

Citrix XenDesktop Modular Reference Architecture Version 2.0. Prepared by: Worldwide Consulting Solutions

Windows 7 Optimization Guide

DEPLOYMENT GUIDE XenApp, Avaya 1X Agent. Deployment Guide. Avaya 1X Agent. XenApp.

SOLUTION BRIEF Citrix Cloud Solutions Citrix Cloud Solution for Disaster Recovery

How to Configure NetScaler Gateway 10.5 to use with StoreFront 2.6 and XenDesktop 7.6.

Deployment Guide ICA Proxy for XenApp

Deploying NetScaler Gateway in ICA Proxy Mode

1Y0-250 Implementing Citrix NetScaler 10 for App and Desktop Solutions Practice Exam

Consulting Solutions WHITE PAPER StoreFront Planning Guide StoreFront Planning Guide

High Availability for Citrix XenServer

605: Design and implement a desktop virtualization solution based on a mock scenario. Hands-on Lab Exercise Guide

Payment Card Industry and Citrix XenApp and XenDesktop Deployment Scenarios

Easy and secure application access from anywhere

DEPLOYMENT GUIDE Version 1.1. Deploying the BIG-IP LTM v10 with Citrix Presentation Server 4.5

Features of a comprehensive application security solution

AppSense Environment Manager. Enterprise Design Guide

NetScaler 2048-bit SSL Performance

SCENARIO EXAMPLE. Case study of an implementation of Swiss SafeLab M.ID with Citrix. Redundancy and Scalability

Guangzhou Macau Hong Kong Shanghai Beijing

DEPLOYMENT GUIDE DEPLOYING THE BIG-IP LTM SYSTEM WITH CITRIX PRESENTATION SERVER 3.0 AND 4.5

Advanced Memory and Storage Considerations for Provisioning Services

Deployment Guide ICA Proxy for XenApp

Building a better branch office.

WHITE PAPER. Pay-as-You-Grow Licensing. Pay-as-You-Grow: Flexible Capacity in the Datacenter with On-Demand Licensing.

How To Use Netscaler As An Afs Proxy

XenDesktop 5 with Access Gateway

High Availability for Citrix XenDesktop and XenApp

WHITE PAPER Citrix Service Provider Secure Multi-tenant Desktop as a Service with NetScaler VPX

The Citrix guide to desktop virtualisation

603: Enhancing mobile device experience with NetScaler MobileStream Hands-on Lab Exercise Guide

Citrix XenApp 6.5 Advanced Administration (CXA-301)

Application Template Deployment Guide

CNS-207 Implementing Citrix NetScaler 10.5 for App and Desktop Solutions

SKU Services Citrix Consulting

Communication ports used by Citrix Technologies. July 2011 Version 1.5

Technical Guide for Adding XenDesktop 4 to an Existing XenApp 5 Environment

Consulting Solutions WHITE PAPER Citrix XenDesktop Desktop Virtualization Top 10 Mistakes Made

Cisco WAAS Optimized for Citrix XenDesktop

Advanced virtualization management for Hyper-V and System Center environments

Features. Key benefits. HDX WAN optimization. QoS

Advanced virtualization management for Hyper-V and System Center environments.

WHITE PAPER Citrix Secure Gateway Startup Guide

Five reasons why you need Citrix Essentials for Hyper-V now

Is your load balancer cloud ready? How NetScaler helps enterprises achieve cloud computing benefits.

609: Front-ending and load balancing XenDesktop and XenApp with NetScaler

Comprehensive List of XenDesktop Event Log Entries

S caling B ig DaaS and SaaS Deployments for Citrix S ervice Providers

XenDesktop 5.6 Remote PC Deployment Checklist

App Orchestration 2.0

Citrix XenApp 6.5 and XenDesktop 5.6 Security Standards and Deployment Scenarios Supplementary scenarios

How To Manage A Netscaler On A Pc Or Mac Or Mac With A Net Scaler On An Ipad Or Ipad With A Goslade On A Ggoslode On A Laptop Or Ipa On A Network With

White Paper. ThinRDP Load Balancing

NetScaler SD-WAN. Securely delivers optimal application performance over any network

Microsoft SharePoint 2013 with Citrix NetScaler

XenDesktop 4 Product Review

XenDesktop Implementation Guide

"Charting the Course... Implementing Citrix NetScaler 11 for App and Desktop Solutions CNS-207 Course Summary

NetScaler Cloud Bridge

PDFDumps. PDFDumps can solve all your IT exam problems and broaden your knowledge

Using the Citrix Service Provider License Reporting Tool

Citrix EdgeSight Administrator s Guide. Citrix EdgeSight for Endpoints 5.3 Citrix EdgeSight for XenApp 5.3

Connection Broker Managing User Connections to Workstations, Blades, VDI, and More. Quick Start with Citrix XenDesktop, XenServer & XenApp

A Converged Appliance for Software-Defined VDI: Citrix XenDesktop 7.6 on Citrix XenServer and NexentaStor

Remote access to enterprise PCs

CVE-401/CVA-500 FastTrack

CITRIX 1Y0-A16 EXAM QUESTIONS & ANSWERS

Configure SQL database mirroring

Worldwide Consulting Solutions WHITE PAPER Operations Guide. Operations Guide: Monitoring

Microsoft and Citrix: Joint Virtual Desktop Infrastructure (VDI) Offering

ShareFile On-Demand Sync can be installed via EXE or MSI. Both installation types can be downloaded from

Secure SSL, Fast SSL

Communication Ports Used by Citrix Technologies. April 2011 Version 1.5

App Orchestration Setup Checklist

CITRIX 1Y0-A14 EXAM QUESTIONS & ANSWERS

How to Migrate Citrix XenApp to VMware Horizon 6 TECHNICAL WHITE PAPER

WHITE PAPER. Citrix XenDesktop. Cost savings with centralized virtual desktops.

Centralized Orchestration and Performance Monitoring

Citrix Workspace Cloud Apps and Desktop Service with an on-premises Resource Reference Architecture

This white paper has been deprecated. For the most up to date information, please refer to the Citrix Virtual Desktop Handbook.

SOLUTION BRIEF Citrix Cloud Solutions Citrix Cloud Solution for Dev and Test

NetScaler SQL Intelligent Load Balancing. Scaling the Data Tier with.

CITRIX 1Y0-A25 EXAM QUESTIONS & ANSWERS

Transcription:

WHITE PAPER Citrix XenDesktop XenDesktop Planning Guide: Load Balancing Web Interface with NetScaler www.citrix.com

Overview Citrix Web Interface is a common method of connecting to both XenApp and XenDesktop. Consequently, if a Web Interface server fails then users will lose access to their applications and desktops. Therefore, ensuring that your Web Interface server is always available is critical. The easiest way to ensure availability is to have a second server available for redundancy. This is simple to implement especially in a virtualized environment such as Citrix XenServer where both Web Interface and Citrix NetScaler can run as virtual machines. NetScaler is available in both a physical (MPX) and virtual (VPX) appliance and provides intelligent load balancing for both Web Interface and the XML components of XenApp and XenDesktop. Additionally, NetScaler includes out of the box integration for secure remote access for both XenApp and XenDesktop environments. Guidelines The goal for load balancing is two-fold: provide resiliency in the event of component failure and provide scalability by achieving high throughput and utilization of resources while avoiding overload. Redundancy for Web Interface can be achieved via a traditional spare approach (cold, warm, hot) where a backup server is available in case of disaster. However this model may be neither automatic nor efficient. A manual failover is required (or worse a new server must be built) during which there is down time and users will be unable to access their applications and desktops. Additionally, spare resources are underutilized since they are not taking user requests. A number of load balancing solutions exist including the Windows NLB service. The main reason to choose a load-balancer such as NetScaler over a Windows NLB is because NLB isn t intelligent when it comes to checking the health of an application. Of course NLB will not direct any incoming requests to servers that crash, but what if your Web Interface application itself crashes? Consider a situation where the server is network accessible via ICMP/TCP but the IIS service is down. Half the users could be directed to a non-functioning Web Interface. NetScaler has built-in health checks or monitors that are application specific for Web Interface, the XML Broker service, and the XenDesktop DDC. The monitors probe the health of the service and essentially determine if the service is viable to take user requests. Configuration The Web Interface monitor (CITRIX-WEB-INTERFACE) by default probes the health of the service every 5 seconds and has a 2 second response time out with 3 retries. These settings are configurable and can be extended in environments with additional latency. If a response is not received, the service is put into a DOWN state and no requests are load balanced to it. While in a DOWN state, the service is probed and revaluated every 30 seconds. The monitor will check a user configurable Web Interface site path that must be identical for all Web Interface services. For example a monitor can be configured to probe the following site path /Citrix/XenApp/Auth/login.aspx. As long as the login page is available and the Set-Cookie Page 2

header is received in the response, the NetScaler determines that the services is UP and available to take user requests. The XML Broker monitor (CITRIX-XML-SERVICE) probes the health of the XenApp XML service that handles application enumeration among other tasks. When XenApp servers become highly utilized, the XML service stops responding and ultimately, application enumeration stops working until the server s utilization returns to normal or the server is rebooted. The XML Black hole describes the following scenario: An XML Broker, IMA, or Terminal Services error occurs on the XML Broker (XenApp Server) Web Interface is able to Query the XML Broker The XML service is not able to query the IMA The result is the Web Interface receives valid XML data without any Published Applications for the user. Web Interface treats this scenario as a success and does not remove the server from load balancing. Users that logon to Web Interface may or may not receive Published Applications in their list. The NetScaler monitor is configured with a specific Published Application that will then poll the XML Broker services every 5 seconds. If the XML service does not respond with the Published Application, the service will be taken out of the load balancing scheme. The XenDesktop Controller monitor (CITRIX-XD-DDC) probes the health of the DDC service at the same interval. This monitor periodically checks on to the DDC service, and awaits the expected response. If it receives no response or the wrong response, it marks the service DOWN. The monitor sends an XML request for farm data including the farm name and expects the response. This monitor has no special parameters but future releases will include credential validation. Request Response <<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE NFuseProtocol SYSTEM "NFuse.dtd"> <NFuseProtocol version="4.0"> <RequestServerFarmData> <Nil /> </RequestServerFarmData> </NFuseProtocol> <<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE NFuseProtocol SYSTEM "NFuse.dtd"> <NFuseProtocol version="5.1"> <ResponseServerFarmData> <ServerFarmData> <ServerFarmName>Readiness</ServerFarmName> </ServerFarmData> </ResponseServerFarmData> Citrix continues to update and add more intelligent NetScaler monitors. An example includes a PERL script based Web Interface monitor which ensures that critical components are functioning by validating logon and establishing a Web Interface session. Page 3

Considerations Below are a number of common questions and issues that can be encountered while setting up load balancing of Web Interface. Load Balancing Secure Ticket Authority When NetScaler is configured to use the Access Gateway Enterprise module for secure remote access, the Secure Ticket Authority (STA) must be configured on the Access Gateway virtual server. The Access gateway virtual server needs separate references to all STA's. You can't refer to a load balanced virtual server. When a user tries to start a Published Application, the STA's identifier is given to the Access Gateway; the Access Gateway must connect directly to the server and check if the given ticket is valid. However, Web Interface can have a virtual server configured to load balance STA ticket requests. In short, Web Interface can use a load balanced virtual server for its STA, but all possible STA servers within the load balanced cluster need to be entered in the Access Gateway explicitly. Affinity Persistence Many applications are session-based and require persistence; users must connect to the same server to maintain their session. NetScaler will direct all user requests to the same backend server after the initial load balancing decision. Cookie Insert is the recommended persistence method for Web Interface and NetScaler. NetBios Using a NetScaler appliance to load balance XenApp XML Broker servers may cause enumeration and launching of applications to take a noticeable amount of time. This is the case when Web Interface uses a load balancing virtual server as the XML Broker. A full explanation of the issue and solution is available at the link. http://support.citrix.com/article/ctx118670 User Agent header You may notice log entries in the event viewer of the Web Interface server with Access Gateway Enterprise or NetScaler related to missing http header User-Agent. The request from the browser running on the user device <ip address> cannot be processed because the User-Agent HTTP header, which provides platform information, is missing.a full explanation of the issue and solution is available at the link. http://support.citrix.com/article/ctx124858 Page 4

Revision History Revision Change Description Updated By Date 0.1 Document created Florin Lazurca - Architect February 24 2011 About Citrix Citrix Systems, Inc. (NASDAQ:CTXS) is the leading provider of virtualization, networking and software as a service technologies for more than 230,000 organizations worldwide. Its Citrix Delivery Center, Citrix Cloud Center (C3) and Citrix Online Services product families radically simplify computing for millions of users, delivering applications as an on-demand service to any user, in any location on any device. Citrix customers include the world s largest Internet companies, 99 percent of Fortune Global 500 enterprises, and hundreds of thousands of small businesses and prosumers worldwide. Citrix partners with over 10,000 companies worldwide in more than 100 countries. Founded in 1989, annual revenue in 2008 was $1.6 billion. 2010 Citrix Systems, Inc. All rights reserved. Citrix, Access Gateway, Branch Repeater, Citrix Repeater, HDX, XenServer, XenApp, XenDesktop and Citrix Delivery Center are trademarks of Citrix Systems, Inc. and/or one or more of its subsidiaries, and may be registered in the United States Patent and Trademark Office and in other countries. All other trademarks and registered trademarks are property of their respective owners. Page 5