high-availability for xenapp with xenserver and...

40
High-Availability for XenApp With XenServer and NetScaler February 4, 2009 Daniel Feller, Sr. Architect Worldwide Consulting Solution

Upload: buianh

Post on 21-May-2018

227 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

High-Availability for XenAppWith XenServer and NetScalerFebruary 4, 2009

Daniel Feller, Sr. Architect Worldwide Consulting Solution

Page 2: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

2© 2008 Citrix Systems, Inc. — All rights reserved

Agenda

Overview

Layered High-Availability

Hardware Layer

Component Layer

Intra-Site Layer

Inter-Site Layer

Next Steps

Page 3: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

3© 2008 Citrix Systems, Inc. — All rights reserved

Disaster Recover: Major Outages

T ra n s it S tr ik e

E a r th q u a k e

S n o w s to rm

T y p h o o n

T s u n a m i

B o m b in g

P a n d e m ic

Page 4: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

4© 2008 Citrix Systems, Inc. — All rights reserved

Disaster Recovery

Page 5: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Layered High-Availability

Page 6: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

6© 2008 Citrix Systems, Inc. — All rights reserved

High-Availability Layers

• Hardware

• Components• XML Broker• Web Interface• Mission critical XenApp Servers

• Intra-Site

• Inter-Site

Page 7: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

7© 2008 Citrix Systems, Inc. — All rights reserved

Initial Architecture

Access Gateway172.16.0.22

Access Gateway172.16.0.27

User

User Web Interface172.16.0.51

Web Interface172.16.0.52

XML Broker172.16.0.53

XML Broker172.16.0.54

Web Interface172.16.0.58

XML Broker172.16.0.59

Site Minneapolis

Site Ft. Lauderdale

Page 8: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Hardware Layer

Page 9: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

9© 2008 Citrix Systems, Inc. — All rights reserved

Hardware Layer

• Hard stop of server

• Complete disruption in service

• Solution:

Critical Failure

• Degradation of hardware components

• No disruption in service for time being

• Solution:

Imminent Failure

Overview

Page 10: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

10© 2008 Citrix Systems, Inc. — All rights reserved

Shared Storage

Hardware LayerXenMotion

Page 11: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

11© 2008 Citrix Systems, Inc. — All rights reserved

• Configuration• Enter Maintenance Mode• Accept XenMotion• XenMotion• Repair server• Exit Maintenance Mode• XenMotion

• Failover• Virtual servers move without user impact• Able to mange immanent failures before

they become critical

Hardware LayerXenMotion Configuration

Page 12: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

12© 2008 Citrix Systems, Inc. — All rights reserved

High Availability

Shared Storage

Page 13: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

13© 2008 Citrix Systems, Inc. — All rights reserved

Hardware Layer

• Configuration• Enable HA• Select heartbeat storage• Define protection levels

• Calculates number of XenServers that can fail• Adjusts based on size/resources

• Implement

• Failover• Protected servers have highest priority• Pool restarts virtual machines until

resources exhausted

XenServer High-Availability

Page 14: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

14© 2008 Citrix Systems, Inc. — All rights reserved

Hardware LayerBest Practices

XenApp Role Protection Level Justification

Data StoreLicense Server

Protected Only one of each. Critical to proper functioning of Farm

Data Collector Primary: ProtectedSecondary: Do Not Restart

Primary: XenApp only uses oneSecondary: Resources better used for other XenApp roles

Application Hub

Primary: ProtectedRedundant: Do Not Restart

Must have one to stream applications. Redundant hub’s resources better used for other XenApp roles

Web Interface Primary: ProtectedRedundant: Do Not Restart

Must have one to enumerate/launch applications. Redundant Web Interface resources better used for other XenApp roles

XenApp SiloMission Critical

Protected These servers deliver the most important applications in the farm. Guaranteed availability is a must

XenApp SiloOther Apps

Partial: ProtectedPartial: Restart if Possible

Have enough servers protected to deliver to a percentage of the user population, while not impacting availability of mission critical services.

Page 15: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Component LayerHigh-Availability

Page 16: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

16© 2008 Citrix Systems, Inc. — All rights reserved

Component Layer

• Manages application authentication, enumeration and launch requests

• Potential black hole

• Solution:

XML Broker

• Single point of access for applications

• Potential black hole

• Solution:

Web Interface

Overview

Page 17: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

17© 2008 Citrix Systems, Inc. — All rights reserved

Component Layer

• Web Interface Monitor• Validates Web Interface server, service and site responds correctly• Overcomes Web Interface Black Hole• Interrogates the Web Interface Site Path

(www.company.com/Citrix/AccessPlatform/site/default.aspx)

• XML Broker Monitor• Validates XML Broker services responds correctly• Overcomes XML Black Hole• Queries XML Broker for published application load

NetScaler Smart Monitors

Page 18: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

18© 2008 Citrix Systems, Inc. — All rights reserved

Component Layer

• Web Interface Monitor• Validates Web Interface server, service and site responds correctly• Overcomes Web Interface Black Hole• Interrogates the Web Interface Site Path

(www.company.com/Citrix/AccessPlatform/site/default.aspx)

• XML Broker Monitor• Validates XML Broker services responds correctly• Overcomes XML Black Hole• Queries XML Broker for published application load

NetScaler Smart Monitors

Page 19: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

19© 2008 Citrix Systems, Inc. — All rights reserved

Component LayerArchitecture

Access Gateway172.16.0.22

Web Interface172.16.0.51

Web Interface172.16.0.52

XML Broker172.16.0.53

XML Broker172.16.0.54

Site Minneapolis

Web InterfaceMonitor

XML BrokerMonitor

Page 20: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

20© 2008 Citrix Systems, Inc. — All rights reserved

• Web Interface Monitor• Type:

Citrix-Web-Interface• Secure or unsecure• Interrogates the Site Path

• If monitor does not receive valid response,considered unavaialble

Component LayerNetScaler Smart Monitors Configuration

Page 21: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

21© 2008 Citrix Systems, Inc. — All rights reserved

Component Layer

• XML Broker Monitor• Type:

Citrix-XML-Service• Secure or unsecure• Interrogates defined

published application• Checks application load

• If monitor does not receive a valid response, server offline

NetScaler Smart Monitors Configuration

Page 22: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Intra-Site Layer

Page 23: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

23© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site LayerOverview

Access Gateway Web Interface XML Broker

• Provides secure-remote access

• Failure results in lost connections

• Solution:

• Single point of access for applications

• Failure results in no new connections

• Solution:

• Application authentication, enumeration and launch

• Failure results in no new connections

• Solution:

Page 24: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

24© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• Access Gateway• Active-Passive configuration• Configurations and SSL sessions synchronized • Failure of active device results in no downtime as passive takes control immediately

• Web Interface• Balance to a group of Web Interface servers via a single IP• Verify availability before directing requests to server with smart monitor• Session persistence required

• XML Broker• Balance to a group of XML Broker servers via a single IP• Verify availability before directing requests to server with smart monitor

NetScaler High-Availability and Server Load Balancing

Page 25: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

25© 2008 Citrix Systems, Inc. — All rights reserved

XML Broker HAVIP: 172.16.0.24

Web Interface HAVIP: 172.16.0.23

Intra-Site LayerArchitecture

Access Gateway172.16.0.22

User

Web Interface172.16.0.51

Web Interface172.16.0.52

XML Broker172.16.0.53

XML Broker172.16.0.54

Site Minneapolis

Page 26: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

26© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• Overview• Setup devices in HA Pair• Active-Passive operating mode• Configuration synchronized

between set• SSL sessions synchronized

between devices

• Failover• Passive Access Gateway takes

over immediately• SSL sessions remain active

NetScaler High-Availability Configuration

Page 27: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

27© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• Configuration• Wizard-based configuration

Load Balancing for Citrix XenApp• Virtual IP address• Web Interface port/protocol• Physical IP addresses• Smart Monitor integrated

in wizard

• Failover• New requests sent to

available server

Web Interface High-Availability Configuration

Page 28: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

28© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• Overview• Wizard-based configuration• Virtual IP address• XML Broker port/protocol• Physical IP addresses• Smart Monitor integrated

in wizard

• Failover• New requests sent to

available server

XML Broker High-Availability Configuration

Page 29: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

29© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• XML Monitor• Health Check: User an application name that does not change

• Web Interface• Persistence required, use Cookie then Session

Best Practices

Page 30: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Inter-Site Layer

Page 31: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

31© 2008 Citrix Systems, Inc. — All rights reserved

Inter-Site LayerOverview

Data Center

• With one URL, always receive applications

• Assess entire site availability before directing users

• Solution:

Page 32: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

32© 2008 Citrix Systems, Inc. — All rights reserved

Inter-Site Layer

• Send users to sites with complete availability

• Focus on critical layers of XenApp architecture• Access Gateway• Web Interface• XML Broker

• Numerous configuration options• Active-Active or Active-Passive• Least response time, round robin, least connections, proximity

NetScaler Global Server Load Balancing

Page 33: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

33© 2008 Citrix Systems, Inc. — All rights reserved

XML Broker HAVIP: 172.16.0.29

Web Interface HAVIP: 172.16.0.28

Inter-Site LayerArchitecture

Access Gateway172.16.0.22

User

Web Interface172.16.0.51

Web Interface172.16.0.52

XML Broker172.16.0.53

XML Broker172.16.0.54Site Minneapolis

Access Gateway172.16.0.26 Web Interface

172.16.0.56XML Broker172.16.0.57

Site Ft. Lauderdale

DNS

XML Broker HAVIP: 172.16.0.24

Web Interface HAVIP: 172.16.0.23

Page 34: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

34© 2008 Citrix Systems, Inc. — All rights reserved

Intra-Site Layer

• Overview• GSLB Wizard• Set FQDN• Add local site• Configure remote site

• Failover• New requests routed to next

preferred site

NetScaler Global Server Load Balancing Configuration

Page 35: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

35© 2008 Citrix Systems, Inc. — All rights reserved

Inter-Site Layer

• Available sites must have• Access Gateway• XML Broker• Web Interface

• Use Smart Monitors to determine site availability

Best Practices

Page 36: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

Next Steps

Page 37: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

37© 2008 Citrix Systems, Inc. — All rights reserved

Conclusion

• Disasters happen from minor acts too• Thunderstorms• Traffic accident• Even chipmunks

• Provide avaiability for most criticalXenApp components

• Go beyond simple monitoring of components, validate functionality

Page 38: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

• Download Trial XenServer and NetScaler

• Obtain materials from Citrix.com–Reference Architecture (CTX117933)–Implementation Guide (CTX117934)

• Setup solution in test environment

• Build into production system

Page 39: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler

39© 2008 Citrix Systems, Inc. — All rights reserved

Simplify Optimization Save 10% on Citrix Technical Training

Enter promo code XATECH when you register for the following instructor-led courses and save 10%*: XenServer• CXS-200-1I Implementing Citrix XenServer Enterprise Edition 5.0

NetScaler• CTX-1735BI Citrix NetScaler 8.1: Operations, Administration and Advanced Features

Visit www.citrixeducation.com to register and save! Questions?Contact a training specialist at [email protected] to learn more

*Offer valid through May 1, 2009. Not valid with any other promotions, packages or discount offers. Limit two Savings Certificates per customer per order. Applies only to new registrations.

Page 40: High-Availability for XenApp With XenServer and NetScalers3.amazonaws.com/legacy.icmp/additional/high_availability_for... · High-Availability for XenApp With XenServer and NetScaler