deploying and optimizing hdx usb redirection in xendesktop 5.5

41
Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5 Ramon Scott Lead Escalation Engineer May 8, 2012

Upload: oleg-rowland

Post on 31-Dec-2015

291 views

Category:

Documents


1 download

DESCRIPTION

Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5. Ramon Scott Lead Escalation Engineer May 8, 2012. Ramon Scott Lead Escalation Engineer. May 8 th , 2012. Tweet about this session with hashtag #SUM306 and #CitrixSummit. Presentation Goals. Review The Feature - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Ramon Scott Lead Escalation EngineerMay 8, 2012

Page 2: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Tweet about this session with hashtag #SUM306 and #CitrixSummit

Page 3: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Presentation Goals

3

Review The Feature

Instruct On How To Configure

Provide Troubleshooting Resources

Page 4: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Agenda

• Overview of the USB Technology

• Feature Components

• Deployment Checklist

• Configuring USB redirection

• Troubleshooting USB redirection

• Optimization

• Case study: USB redirection of Imaging Device

Page 5: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

10110110 ICA 10110110 ICA 10110110 ICA 1011011010110110 ICA 10110110 ICA 10110110 ICA 10110110

VirtualChannels

VirtualChannels

USB Overview

Receiver VDA

Page 6: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

How Do We Redirect Devices ?

10110110 ICA 10110110 ICA 10110110 ICA 10110110 ICA 1011011010110110 ICA 10110110 ICA 10110110 ICA 10110110 ICA 10110110

Page 7: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

How are devices categorized?

• Descriptors

○ Vendor ID, Product ID, Class ,Subclass ,etc

• Classes

○ Mass Storage, Image, HID etc.

Page 8: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Feature Components

Page 9: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Feature Components

Page 10: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Deployment Checklist

Citrix Receiver Polices Configured

HDX Policies Configured in the Console

Verified Device is not Redirected natively

Verified Conflicting Polices are disabled

Verified Software supports redirection method

Page 11: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

CONFIGURING USB REDIRECTION

Page 12: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

What are the Five Core questions ?

1. How should the Receiver handle existing devices?

2. How should the Receiver handle new devices?

3. Should we list USB devices in the Desktop Viewer?

4. What devices types should be redirected automatically ?

5. What devices are allowed or blocked ?

Page 13: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Receiver Configuration: Desktop ToolBar GUI

Page 14: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Receiver Configuration: Desktop Toolbar GUI

Page 15: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Receiver Configuration: Citrix Connection Center

Page 16: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Receiver Configuration: Computer Policy ADM Template

Page 17: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

USB Device Classes Allowed by Default

Different classes of USB device are allowed by the default USB policy rules:

○ Audio (Class 01)

○ Physical Interface Devices(Class 05)

○ Still Imaging (Class 06)

○ Printers (Class 07)

○ Mass Storage (Class 08)

○ Content Security (Class 0d)

○ Video (Class 0e)

○ Personal Healthcare (Class 0f)

○ Application and Vendor Specific (Classes fe and ff)

Page 18: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

USB Device Classes Denied by Default

Different classes of USB device are denied by the default USB policy rules:

○ Communications and CDC Control (Classes 02 and 0a)

○ Human Interface Devices (Class 03)

○ USB Hubs (Class 09)

○ Smart Card (Class 0b)

○ Wireless Controller (Class e0)

Page 19: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Device Rules

Syntax:

{Allow: | Deny:} followed by any number of

<tag>=<value> qualifiers. Multiple rules should be

separated by semicolons. Comments start at '#'

and continue until a semicolon.

For example 'Allow: VID=1234 PID=5678 #

Comment ; Deny: Class=03'.

Allow: VID = 045E PID = 00F9 # Microsoft USB

Keyboard; Deny: Class = 03 #Deny other HID’s'

Page 20: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Receiver Configuration: User Policy ADM Template

Page 21: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Receiver Configuration:Registry

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\GenericUSBHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\ICA Client\GenericUSB\Devices\VID091E PID2353 "AutoRedirect"=dword:00000001

• How to Configure Automatic Redirection of USB Devices

○ http://support.citrix.com/article/CTX123015

Page 22: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

DSC Console ConfigurationHDX Device Rules

Examples of administrator-defined USB policy rules:Allow: VID=1230 PID=0007 # ANOther Industries, ANOther Flash DriveDeny: Class=08 subclass=05 # Mass StorageTo create a rule that denies all USB devices, use “DENY:” with no other tags.

Page 23: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Troubleshooting USB redirection

Page 24: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Troubleshooting USB redirection

• CdfControl

• HDXMonitor

• DebugView

• UVCView

Page 25: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

• Provides a diagnostic conduit to all Citrix binaries.

• Lots of new features, frequently updated

• Now allows remote tracing and XenDesktop log review

• Article: CTX111961

Common Diagnostic Facility (CDF) Tracing

Recommended Modules•Portica_Service_USB•Policy_ICA_VC•PE_Library_CtxCppBase•PE_Service_CtxSvcHost

Page 26: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

• Reports real-time status

• Provide Network Performance statistics

• Reports the active USB device rules

• Delivers USB filtered Event log messages

Citrix HDX Monitor

Page 27: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Optimization:Configuring Bandwidth Limits

• Client USB device redirection bandwidth limit

• Client USB device redirection bandwidth limit percent

Page 28: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Optimization:Adjusting Priority of Virtual Channel

How to Change Virtual Channel Priority in XenDesktop 5 - CTX128190

Page 29: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study: Redirecting a Scanner [Imaging Device]

Page 30: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study:USB redirection of Imaging Device

Background:

•Poof of Concept Pilot in which scanning was a key requirement for the move to

XenDesktop 5.5

•Issues Reported :

Scanning Failed via Twain redirection

Scanning failed via USB Redirection

Page 31: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study:USB redirection of Imaging Device

Troubleshooting TWAIN:

•Verified Polices on Server

•Reviewed Generic USB Polices for conflicts

•Reviewed endpoint configuration

○ Removed USB Policies

•Reviewed software used to test

Page 32: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study on USB redirection of Imaging Device

Resolution: TWAIN

•Document Process

○ To enable Citrix Twain Policy

○ Deploy correct driver to endpoint

○ Review if software is Twain aware

Page 33: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study:USB redirection of Imaging Device

Troubleshooting USB Redirection:

•Verified HDX Polices in Delivery Services Console

•Reviewed Generic USB Polices on endpoint

•Attempt with Basic Configuration

•Reviewed endpoint configuration

○ Removed USB Policies

•Reviewed software used to test

Page 34: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Case study on USB redirection of Imaging Device

Resolution: Generic USB Redirection

•Document Process

○ To disable Citrix Twain Policy

○ Deploy correct driver to VDAs

Page 35: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Resources Covered

•How to Configure Automatic Redirection of USB Devices

•USB Class Codes

•How to Change Virtual Channel Priority in XenDesktop 5

•HDX Monitor

Page 36: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Resources Covered (continued)

•CDF Control

•DebugView

•UVCView

Page 37: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

Q&A

Page 38: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

We value your feedback!Take a survey of this session now in the mobile app

• Click 'Sessions' button

• Click on today's tab

• Find this session

• Click 'Surveys'

Page 39: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Before you leave…

• Conference surveys are available online at www.citrixsummit.com starting Thursday, May 10○ Provide your feedback and pick up a complimentary gift at the registration desk

• Download presentations starting Monday, May 21, from your My Organizer tool located in your My Account

Page 40: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

#CitrixSummit

Presentation Goals: Recap

41

Review The Feature

Instruct On How To Configure

Provide Troubleshooting Resources

Page 41: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5