1 / 41

Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

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

ilyssa
Download Presentation

Deploying and Optimizing HDX USB Redirection in XenDesktop 5.5

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


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

  2. Tweet about this session with hashtag #SUM306 and #CitrixSummit

  3. Presentation Goals • Review The Feature • Instruct On How To Configure • Provide Troubleshooting Resources

  4. Agenda • Overview of the USB Technology • Feature Components • Deployment Checklist • Configuring USB redirection • Troubleshooting USB redirection • Optimization • Case study: USB redirection of Imaging Device

  5. USB Overview Virtual Channels Virtual Channels 10110110 ICA 10110110 ICA 10110110 ICA 10110110 VDA Receiver

  6. How Do We Redirect Devices ? USB Printing Camera Audio TWAIN Standard Standard TWAIN Audio Camera Printing USB 10110110 ICA 10110110 ICA 10110110 ICA 10110110 ICA 10110110

  7. How are devices categorized? • Descriptors • Vendor ID, Product ID, Class ,Subclass ,etc • Classes • Mass Storage, Image, HID etc.

  8. Feature Components

  9. Feature Components Receiver • Citrix Remote USB Device Driver • Desktop Toolbar • Connection Center • GPO Computer or User policy • Registry VDA • Citrix Remote USB Host controller • Citrix USB Service • HDX Policy via Delivery Services Console

  10. 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

  11. Configuring USB Redirection

  12. What are the Five Core questions ? • How should the Receiver handle existing devices? • How should the Receiver handle new devices? • Should we list USB devices in the Desktop Viewer? • What devices types should be redirected automatically ? • What devices are allowed or blocked ?

  13. Receiver Configuration: Desktop ToolBar GUI

  14. Receiver Configuration: Desktop Toolbar GUI

  15. Receiver Configuration: Citrix Connection Center

  16. Receiver Configuration: Computer Policy ADM Template

  17. 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)

  18. 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)

  19. 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'

  20. Receiver Configuration: User Policy ADM Template

  21. Receiver Configuration:Registry HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\ICA Client\GenericUSB • How to Configure Automatic Redirection of USB Devices • http://support.citrix.com/article/CTX123015 HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\ICA Client\GenericUSB\Devices\VID091E PID2353 "AutoRedirect"=dword:00000001

  22. DSC Console ConfigurationHDX Device Rules Examples of administrator-defined USB policy rules: Allow: VID=1230 PID=0007 # ANOther Industries, ANOther Flash Drive Deny: Class=08 subclass=05 # Mass Storage To create a rule that denies all USB devices, use “DENY:” with no other tags.

  23. Troubleshooting USB redirection

  24. Troubleshooting USB redirection • CdfControl • HDXMonitor • DebugView • UVCView

  25. Common Diagnostic Facility (CDF) Tracing • Recommended Modules • Portica_Service_USB • Policy_ICA_VC • PE_Library_CtxCppBase • PE_Service_CtxSvcHost • Provides a diagnostic conduit to all Citrix binaries. • Lots of new features, frequently updated • Now allows remote tracing and XenDesktop log review • Article: CTX111961

  26. Citrix HDX Monitor • Reports real-time status • Provide Network Performance statistics • Reports the active USB device rules • Delivers USB filtered Event log messages

  27. Optimization:Configuring Bandwidth Limits • Client USB device redirection bandwidth limit • Client USB device redirection bandwidth limit percent

  28. Optimization:Adjusting Priority of Virtual Channel How to Change Virtual Channel Priority in XenDesktop 5 - CTX128190

  29. Case study: Redirecting a Scanner [Imaging Device]

  30. 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

  31. 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

  32. 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

  33. 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

  34. Case study on USB redirection of Imaging Device Resolution: Generic USB Redirection • Document Process • To disable Citrix Twain Policy • Deploy correct driver to VDAs

  35. Resources Covered • How to Configure Automatic Redirection of USB Devices • USB Class Codes • How to Change Virtual Channel Priority in XenDesktop 5 • HDX Monitor

  36. Resources Covered (continued) • CDF Control • DebugView • UVCView

  37. Q&A

  38. 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'

  39. 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

  40. Presentation Goals: Recap • Review The Feature • Instruct On How To Configure • Provide Troubleshooting Resources

More Related