Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5
description
Transcript of Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5
![Page 1: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/1.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/2.jpg)
#CitrixSummit
Tweet about this session with hashtag #SUM306 and #CitrixSummit
![Page 3: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/3.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/4.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/5.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/6.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/7.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/8.jpg)
Feature Components
![Page 9: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/9.jpg)
#CitrixSummit
Feature Components
![Page 10: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/10.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/11.jpg)
CONFIGURING USB REDIRECTION
![Page 12: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/12.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/13.jpg)
Receiver Configuration: Desktop ToolBar GUI
![Page 14: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/14.jpg)
Receiver Configuration: Desktop Toolbar GUI
![Page 15: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/15.jpg)
#CitrixSummit
Receiver Configuration: Citrix Connection Center
![Page 16: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/16.jpg)
Receiver Configuration: Computer Policy ADM Template
![Page 17: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/17.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/18.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/19.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/20.jpg)
Receiver Configuration: User Policy ADM Template
![Page 21: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/21.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/22.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/23.jpg)
Troubleshooting USB redirection
![Page 24: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/24.jpg)
Troubleshooting USB redirection
• CdfControl
• HDXMonitor
• DebugView
• UVCView
![Page 25: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/25.jpg)
• 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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/26.jpg)
• 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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/27.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/28.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/29.jpg)
Case study: Redirecting a Scanner [Imaging Device]
![Page 30: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/30.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/31.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/32.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/33.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/34.jpg)
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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/35.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/36.jpg)
#CitrixSummit
Resources Covered (continued)
•CDF Control
•DebugView
•UVCView
![Page 37: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/37.jpg)
Q&A
![Page 38: Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/38.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/39.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/40.jpg)
#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](https://reader035.fdocuments.us/reader035/viewer/2022081419/56815b90550346895dc99564/html5/thumbnails/41.jpg)