Welcome to TechEdge

94
Welcome to TechEdge

description

Welcome to TechEdge. Why Use Twitter @ TechEdge?. Back channel for real-time conversations Broadcast key takeaways Ask questions Event feedback. How to Use Twitter During TechEdge. Twitter will appear on projector screen during: Breaks Q&A Wireless access code: CTXS_Synergy_TE - PowerPoint PPT Presentation

Transcript of Welcome to TechEdge

Page 1: Welcome to TechEdge

Welcome to TechEdge

Page 2: Welcome to TechEdge

Why Use Twitter @ TechEdge?

• Back channel for real-time conversations

• Broadcast key takeaways

• Ask questions

• Event feedback

Page 3: Welcome to TechEdge

How to Use Twitter During TechEdge

• Twitter will appear on projector screen during:• Breaks • Q&A

• Wireless access code: CTXS_Synergy_TE

• Join the Conversation1.Contribute: Include #TechEdgeC as part of

each Tweet

2.Follow: Visit http://search.twitter.com. Enter #TechEdgeC

Page 4: Welcome to TechEdge

Follow Citrix Tech Support on Twitter

• Join the Conversation and follow Citrix Tech Support: @citrixsupport

• Owner: Mike Stringer - Sr. Director, Americas/India Support

Page 5: Welcome to TechEdge

TechEdge 2009

Citrix Delivery Center

Page 6: Welcome to TechEdge

Presenters

• Kapildev Ramlal• Sr. Escalation Engineer (XenDesktop, XenApp)

• Keith McLaughlin• Escalation Engineer (Provisioning Server)

• Jacob Maynard• Sr. Escalation Engineer (Acess Gateway Enterprise Edition)

• Don Williams• Escalation Manager (Netscaler)

Page 7: Welcome to TechEdge

Citrix Delivery Center Intro

Agenda

XenDesktop and XenApp

XenServer

Provisioning Server

Access Gateway Enterprise Edition

NetScaler

Page 8: Welcome to TechEdge

Citrix Delivery Center

Page 9: Welcome to TechEdge
Page 10: Welcome to TechEdge

XenApp

Page 11: Welcome to TechEdge

• Citrix XenApp was formerly known as Citrix Presentation Server

• Prior to Citrix Presentation Server, it was known as Citrix MetaFrame, and prior to that, Citrix WinFrame

• It is the heart of Application Virtualization

• It delivers applications as an on-demand service to users anywhere using any device

Introducing Citrix XenApp

Page 12: Welcome to TechEdge

• Utilizes a Farm concept

• A server farm is a logical grouping of servers running XenApp that share a data store

Citrix XenApp Architecture

Data StoreNewYork

Florida

California

Page 13: Welcome to TechEdge

• Independent Management Architecture (IMA) - Infrastructure for inter-server communication

• A collection of subsystems that control the various features of the Citrix XenApp family of products

• IMA helps in centralized administration of the farm

• Implemented in the form of a Windows Service (managed by the Service Control Manager)

Citrix XenApp Architecture – IMA

What is IMA?

Page 14: Welcome to TechEdge

• A subsystem is a DLL (*.dll) file.

• Subsystems allow for a modular plug-in architecture.

• The subsystem DLL files can be found typically in the following directory:

x86 Location

Program Files\Citrix\System32\Citrix\IMA\Subsystems

x64 Location

Program Files (x86)\Citrix\System32\Citrix\IMA\Subsystems

Citrix XenApp Architecture – IMA Subsystems

Page 15: Welcome to TechEdge

• The Farm relies on data

• The IMA service is the backbone of the Farm, and is responsible for manipulating the Farm's data

• Each XenApp server runs the IMA service

• There are 2 main forms of data:

• Static Data• Data which changes infrequently such as published applications, Citrix Administrators,

Citrix policies, etc.

• Dynamic Data (Dynamic Store)

• Data which changes frequently, such as connected sessions etc.

Citrix XenApp Architecture – Farm Data

Page 16: Welcome to TechEdge

The Dynamic Store

• The dynamic data is stored in in-memory tables on the Data Collector (Dynamic Store).

• The info can be viewed using the QueryDS.exe utility located in the following directory on the XenApp CD: w2k3\retail\Support\debug\w2k3

Citrix XenApp Architecture – Farm Data

Page 17: Welcome to TechEdge

• The Local Host Cache (Static Data)

• Is a subset of the Data Store containing information required only by that server

• Allows the server to operate if the Data Store goes down

• Must exist and be accessible for the IMA Service to start• Is an Access database located on every XenApp server in the farm

x86

(Program Files\Citrix\Independent Management Architecture\imalhc.mdb)

x64

(Program Files (x86)\Citrix\Independent Management Architecture\imalhc.mdb)

Citrix XenApp Architecture – Farm Data

Page 18: Welcome to TechEdge

Citrix XenApp Architecture – IMA Startup

Service Control Manager

Required Plug-ins

Product Plug-ins

PSRequired=1PSRequired=0

Zone Data Collector LHC

ImaRpcSs.dll

ImaSrvSs.dll

ImaAppSs.dll

MfSrvSs.dll

MfBrowserSs.dll

ImaUserSs.dll

ImaDomain.dll

RMAlertsSS.dll

RMMonitorSS.dll

RMSummaryDBSS.dll………………..

LHCLHC

PSRequiredHKLM\Software\Citrix\MA\Runtime

IMASrv.exe ImaRuntimeSs.dllImaRuntimeSs.dll

Page 19: Welcome to TechEdge

• A server farm can consist of one or more zones

• A server farm is typically divided into zones when the servers in the server farm are separated geographically

• Each zone has a data collector

• The data collector is responsible for collecting data from member servers and distributing it to other data collectors

• The first server in the zone is designated as the data collector for the zone, by default

Citrix XenApp Architecture - Zones

Page 20: Welcome to TechEdge

Citrix XenApp Architecture - Zones

Web Interface XML Broker

ZONE A

ZONE C ZONE B

Page 21: Welcome to TechEdge

Citrix XenApp Architecture – Change Notification

Data Collector

Data CollectorData Store

Access Management Console

Member Server

Member Server

Member Server

Member Server

Member Server

Member Server

Member Server

1) Change is made on the CMC via TCP port 2513

2) The member server writes the change to the DS and forwards the information to the DC via TCP port 25123) The DC updates the LHC on the member servers in its zones via TCP port 2512 and forwards the

information to all the other DC’s

4) The other DCs send the information to their member servers

25132513

25122512

25122512

25122512

25122512

25122512

Zone A Zone B

Page 22: Welcome to TechEdge

Client

Web Interface

XML Broker

Active Directory

Member Services

Data Collector

Data Store

Dynamic Store

LHC

ListsServersAppsTrusts

• IIS Logs

• Network Trace

• CDF Trace

• Verify User Logon Rights

• Event Logs

• Network Trace

• Authentication

• XML Service

• Basic Networking

• CDF Tracing

From Logon to Launch

Page 23: Welcome to TechEdge

XenDesktop Setup

Page 24: Welcome to TechEdge

Active Directory Integration

• Uses Kerberos to Authenticate DDC to VM traffic

• Desktops discover DDCs

• No Schema change

Page 25: Welcome to TechEdge

Active Directory Integration

• Create an OU for XD farm

• Run Active Directory Configuration Wizard

Page 26: Welcome to TechEdge

XenDesktop Setup Wizard

• Integrates with Hosting Infrastructure

• Creates multiple virtual desktops

• Integrates with PVS

Page 27: Welcome to TechEdge

Pool Management

Page 28: Welcome to TechEdge

Services Involved

• Citrix Pool Management Service

• Hosting Infrastructure• XenServer Pool Master

• Vmware Virtual Center

• MS SCVMM

Virtual Machines

Pool MasterPool Management Service

Page 29: Welcome to TechEdge

Virtual MachinesPool Management

Pool MasterDesktop Delivery ControllerPool Management Service

Page 30: Welcome to TechEdge

Troubleshooting

• Logging in Pool Management Service• CTX117452

• XenServer logs

• CDF Tracing

• XDPing tool

Page 31: Welcome to TechEdge

XenServer

Page 32: Welcome to TechEdge

XenServer Benefits

Agenda

Provisioning VM with PVS

Live Migration Xenmotion

XenApp Performance

High Availability

Disaster Recovery

Page 33: Welcome to TechEdge

Why Virtualize?• IT flexibility/agility

• Predictable scaling to dynamically respond to business need

• Key part of disaster recovery strategy

• Improve application availability

• Server or data center consolidation• Higher utilization leads to greater consolidation

• Promotes greater centralization and security

• "Green Computing"• Consume less power, cooling, and real estate

• Support DevTest environments• Works for both IT shops and development houses

Page 34: Welcome to TechEdge

XenMotion – Live VM Movement

• XenMotion allows minimal downtime movement of VMs between physical systems

• Generally 150-200ms of actual “downtime”

• Most of the downtime is related to network switch moving IP traffic to new port

Page 35: Welcome to TechEdge

XenMotion Enables Zero Downtime

Shared Storage

Page 36: Welcome to TechEdge

XenApp Optimizations

• Specific performance optimizations for XenApp

• Pre-built VM Templates for installing XenApp on XenServer

Page 37: Welcome to TechEdge

Simplifying Disaster Recovery

Shared Storage Shared Storage

Production Site DR Site

Automated backup of VM metadata to SR

Replication of SR includes Virtual Disks and VM metadata

Attach replicated SR

Restore of VM metadata will recreate VMs

1

2

3

4

1

2

3

4

Page 38: Welcome to TechEdge

High Availability

• High availability (HA) provides automatic restarts for VMs in a resource pool

• When HA is enabled;• XenServer continually monitors the health of the servers in a resource pool

• XenServer uses heartbeats on the network and a storage device (Heartbeat SR) to determine the state of the servers in the resource pool

• If a server in the resource pool fails, the VMs running on it automatically restart on another server

• If the master fails, a new server is automatically selected to take over the master role

Page 39: Welcome to TechEdge

HA Requirements

Requirements for enabling the HA feature include:

• Shared storage, including at least one iSCSI or Fibre Channel LUN of size 356MiB or greater for the heartbeat storage repository

• A XenServer resource pool

• Adequate licenses on all hosts

• Agile VMs

Note: a separate shared storage setup is required for Metadata

Page 40: Welcome to TechEdge

Considerations for HA

• The iSCSI or Fibre Channel LUN is only required for the storage heartbeat.

• Only agile VMs can be protected by the HA feature

• An agile VM:• Has its virtual disks on shared storage

• Does not have a connection to a local DVD drive configured

• Has its virtual network interfaces on pool-wide networks

Note: It is a good practice to use a bonded management interface on the servers in the pool if HA is enabled, and multipathed storage for the Heartbeat SR

Page 41: Welcome to TechEdge

Configuring HA (XenCenter)

Verify the storage repository is compatible and is attached to the XenServer pool

23

1

2

3

1

Click on an entry for your resource pool in XenCenter. The HA tab appears in the main view.

If HA is configured, an overview of the system status displays. If not, a message appears stating HA is not enabled. Click Configure HA.

Page 42: Welcome to TechEdge

Configuring HA: High Availability Wizard (XenCenter)

Click Next after the High Availability dialog opens

4

4

Select a storage repository and click Next

5

6 Specify restart protection levels and click Next

7 Click Finish 5

5 6

6

Page 43: Welcome to TechEdge

Host Fencing

• If a server failure occurs, the XenServer self-fences to ensure that the VMs are not running on two servers simultaneously

• Server failure examples: • Loss of network connectivity

• A problem with the control stack

• When a fence action is taken, the server immediately is restarted, causing all of the VMs running on it to stop. The other servers detect the VMs are no longer running and the VMs are restarted according to the assigned priorities. The fenced-server enters a reboot sequence and when it has restarted, it attempts to rejoin the resource pool

Page 44: Welcome to TechEdge

High Availability – XenServer Host• Three Components

• High Availability recovery plans created at startup stored in statedb

• Storage heartbeat to Qurorum Vdisk

• Network heartbeat over management interface

Quorum

Database

SAN

VDIs

1

2

3

Heartbeat to SR

Heartbeat to Network

State.DB Recovery Plans

Page 45: Welcome to TechEdge

High Availability – XenServer Host

• Peer Based – Enable recovery plan• Servers 2 and 3 have not heard from server 1 on the network

• Server 2 and 3 have not seen an udpate from Server 1 on the Quorum disk

• Self-Aware – Assume the HA plans are in play• Server 1 cannot see Quorum disk

• Server 1 has not heard from Server 2 or Server 3

• Self Fence network – VMs are expected to be started elsewhere

State.DB

Quorum

Database

SAN

VDIs

1

2

3

•High Availability in the hypervisor•Kernel mode

•Direct control over local interfaces•Never out of resources

Page 46: Welcome to TechEdge

Citrix Provisioning Server

Page 47: Welcome to TechEdge

Agenda

How does Provisioning resolve these issue

Common Issues and Best Practices

What active directory issue arise when streaming a vDisk

Page 48: Welcome to TechEdge

Hostname

TD1

Hostname

TD1

Hostname

TD1

Hostname

TD1

Two main Streaming concerns with AD

Domain ControllerPVS Server SQL Database

Page 49: Welcome to TechEdge

Unique Hostnames

Page 50: Welcome to TechEdge

Machine Account Creation

SQL DB PVS ServerDomain Controller

Target1

Add Target1 to Domain

Target1

Boot

Target1

Page 51: Welcome to TechEdge

Reset Machine Account Password(Manually from Console)

PVS Server Domain ControllerSQL DB

Target1

Target1

Reset Target1 Key

Target1

Reboot

Page 52: Welcome to TechEdge

Machine Account Password Reset(Automatic)

SQL DB PVS ServerDomain Controller

Target1

Target1

Boot

Target1 Expiration No ExpirationTarget1 Expiration

Password Reset

Page 53: Welcome to TechEdge

Common Issues Best Practices

• Make the Target Name Unique

• Local Machine Account Password Changes disabled.

• Do not add the Target devices very deep in the active directory tree.

Page 54: Welcome to TechEdge

Access Gateway Enterprise Edition

Page 55: Welcome to TechEdge

Access Gateway - Features

Authentication Authorization Auditing

Clients

High Availability

User Experience

Administration Scalability

Endpoint Analysis

Page 56: Welcome to TechEdge

Access Gateway Enterprise Edition: XenDesktop Integration

Page 57: Welcome to TechEdge

XenDesktop Integration

AGEE TheoryAGEE Theory

Page 58: Welcome to TechEdge

User Experience

Access choices delivered to the user are based on SmartAccess policies & EPA resultsAccess choices delivered to the user are based on SmartAccess policies & EPA results

Page 59: Welcome to TechEdge

Access Gateway Authentication Disabled No EPA, ICA Proxy On

Access Gateway

Web Interface 5.0

User

Virtual Desktops

Desktop Delivery Controller

HTTPS HTTPS

HT

TP

(S)

HT

TP

(S)

ICA/CGPICA/CGP

ICA + SSLICA + SSL

XMLXML

Page 60: Welcome to TechEdge

Access Gateway Authentication EnabledEPA Enabled, ICA Proxy On

Access Gateway

User

Virtual Desktops

WI 5.0 &Desktop Delivery

Controller

HTTPS HTTPS

ICA/CGPICA/CGP

XMLXML

ICA + SSLICA + SSL

HTTPS - SSO

HTTPS - SSO

Page 61: Welcome to TechEdge

Access Gateway Authentication EnabledEPA Enabled, Access Gateway client (ICA Proxy Off)

Access Gateway

User

Virtual Desktops

WI 5.0 &Desktop Delivery

Controller

HTTPS HTTPS

ICA/CGPICA/CGP

XMLXML

ICA + SSLICA + SSL

HTTPS - SSO

HTTPS - SSO

Page 62: Welcome to TechEdge

Access Gateway Enterprise Edition: XenApp Integration

Page 63: Welcome to TechEdge

XenApp IntegrationExternal Internal DMZ

Remote End User

VIP

NSIP

Web Interface

443,80* (HTTP/TCP)

NSIP

DNS

* Port 80 used for https redirect

NSIP

LDAP/LDAPS

SNIP or MIP

389/636 (TCP)

53 (UDP)

443,80 (TCP/HTTP) 3010, 3008 ,22 (TCP)

XenApp

80, 8080, 443 (HTTP/TCP) 1494, 2598 (TCP)

Page 64: Welcome to TechEdge

Policy Evaluation•Session Policy Expression•Session Profile Client Security Check

Policy Evaluation•Session Policy Expression•Session Profile Client Security Check

SmartAccess for XenApp with Access Gateway

Authentication WI SSO TransactionWI SSO Transaction

True policies get sent to XenApp as SmartAccess

criteria

•Policy Name•VServer Name

True policies get sent to XenApp as SmartAccess

criteria

•Policy Name•VServer Name

XenApp filters by SmartAccess criteria

•Published Apps•XenApp Policies

XenApp filters by SmartAccess criteria

•Published Apps•XenApp Policies

XenApp Application ListXenApp Application List

Page 65: Welcome to TechEdge

Reduced Access

Full Access

Global Access

+ +

+

All Applications & Virtual ChannelsFull Network Access

Reduced Applications & Virtual ChannelsRestricted network Access

SnR Security Remediation Web Site

Denied Access

Clientless Portal and Email Access

Restricted Access

+

+

+

+

Page 66: Welcome to TechEdge

LDAP/LDAPS

External

Remote End User

XenApp + STA

Internal DMZ

VIP

NSIP

SNIP or MIP

Authentication

Authorization

Smart Access

1- WI Site Settings2- WI Trace3- Event Log

1- ProfileSettings2- NetScaler Trace

XML Settings/ STA Logging

nssslvpn.txt

ICA file - ID

STA

nssslvpn.txt

STA path on WI

1- NS Trace2- STA Monitor (newnslog)

1- Auth Svr Settings2- NS Trace3- aaad.debug

1- Auth Settings2- NS.log

Security Event Log on DC (LDAP or IAS)

WI

AGEE

DNS

Problem Types:

Troubleshooting: Potential Issue Areas

Ports and IP rules

LDAP /LDAPS (TCP) - 389/636

Ports and IP rules

Ports and IP rules

Page 67: Welcome to TechEdge

Access Gateway Enterprise Edtion: Netscaler Integration

Page 68: Welcome to TechEdge

Netscaler Integration

Page 69: Welcome to TechEdge

Potential Gotchas with ICA Proxy and GSLB

• Host a wildcard certificate on the VPN VIP

• Configure each WI Server with a Unique FQDN for the VPN Virtual Server

• Must host 3 publicly resolvable Address Records:1. vpn.yourcompany.com2. site1.yourcompany.com3. site2.yourcompany.com

NOTE!!! – Not an issue when running VPN Client

Page 70: Welcome to TechEdge

NetScaler

Page 71: Welcome to TechEdge

Problem: Typical Deployment without Citrix NetScaler

Page 72: Welcome to TechEdge

Problem: Typical Deployment without Citrix NetScaler

1. Web Interface does not provide intelligent XML service monitoring

Page 73: Welcome to TechEdge

Problem: Typical Deployment without Citrix NetScaler

2. Web Interface is not redundant

Page 74: Welcome to TechEdge

Problem: Typical Deployment without Citrix NetScaler

3. No site redundancy

Page 75: Welcome to TechEdge

Problem: Typical Deployment without Citrix NetScaler

4. No link redundancy

Page 76: Welcome to TechEdge

Solution: Smart Monitoring

Page 77: Welcome to TechEdge

Solution: Smart Monitoring

Monitoring provides alerting

Page 78: Welcome to TechEdge

Solution: Smart Monitoring

Verify XML Service application enumeration and response time

Page 79: Welcome to TechEdge

Solution: Smart Monitoring

Verify Web Interface is serving a legitimate response

Page 80: Welcome to TechEdge

Solution: High Availability

Component High Availability and Load Balancing

Page 81: Welcome to TechEdge

Solution: High Availability

XML Service

Page 82: Welcome to TechEdge

Solution: High Availability

Web Interface

Page 83: Welcome to TechEdge

Solution: Link Load Balancing

Redundant ISP links

Page 84: Welcome to TechEdge

Solution: Business Continuity (GSLB)

Highly available and load balanced sites

Page 85: Welcome to TechEdge

What happens if there is a failure?

Page 86: Welcome to TechEdge

What happens if there is a failure?

XML Service

Page 87: Welcome to TechEdge

What happens if there is a failure?

Web Interface

Page 88: Welcome to TechEdge

What happens if there is a failure?

AGEE

Page 89: Welcome to TechEdge

What happens if there is a failure?

NetScaler

Page 90: Welcome to TechEdge

What happens if there is a failure?

Internet Link

Page 91: Welcome to TechEdge

What happens if there is a failure?

Data Center

Page 92: Welcome to TechEdge

• If you complete the survey, you will be entered to win the $250 Amazon gift card.The winner will be announced May 29th

• TechEdge survey link: http://www.citrix.com/techedgesurvey

• Link will also be emailed to all attendees

• The TechEdge PPTs will be posted on the Knowledge Center by Tuesday, May 5th

TechEdge Survey & Posting of PPTs

Page 93: Welcome to TechEdge

Continue Your Learning

Authorized Citrix training is highly recommended as a next step to experiencing the full potential of your Citrix solution. Visit www.citrixeducation.com to view a complete list of course offerings and learn how to validate your technical skills with an industry-recognized Citrix Certification.

Page 94: Welcome to TechEdge