1 / 39

Jamie Baker Sr. Escalation Engineer

Jamie Baker Sr. Escalation Engineer. XenDesktop Design and Architecture. Agenda. XenDesktop Architecture Review. Pool Management. USB Redirection. Troubleshooting Tools and Techniques . XenDesktop Architecture. Inter-DDC Communication. Independent Management Architecture

sheera
Download Presentation

Jamie Baker Sr. Escalation Engineer

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. Jamie Baker Sr. Escalation Engineer XenDesktop Design and Architecture

  2. Agenda XenDesktop Architecture Review Pool Management USB Redirection Troubleshooting Tools and Techniques

  3. XenDesktop Architecture

  4. Inter-DDC Communication • Independent Management Architecture • Similar to the role IMA takes in XenApp • Central Data Store • Zone Data Collector handles Dynamic Store • Limited to one zone

  5. Inter-DDC communication Farm Management PC Session Management

  6. Virtual Machine Registration • On the Virtual Desktop Agent Machine • Citrix Desktop Service • On the Desktop Delivery Controller • Citrix Desktop Delivery Service • Independent Management Architecture

  7. Virtual Machine Registration

  8. Enumeration and Connection • Citrix XML Service • IMA Service • Desktop Delivery Service • Citrix ICA Service • Citrix CGP Service

  9. User Authentication and Pool Resolution

  10. Desktop Connection

  11. Pool Management

  12. Services Involved Virtual Machines • Citrix Pool Management Service • Hosting Infrastructure • XenServer Pool Master • Vmware Virtual Center • MS SCVMM Pool Master Pool Management Service

  13. Pool Management Virtual Machines Pool Master Desktop Delivery Controller Pool Management Service

  14. Addresses=[http://10.54.76.172,http://10.54.76.173][http://10.7.1.21,http://10.7.1.22]Addresses=[http://10.54.76.172,http://10.54.76.173][http://10.7.1.21,http://10.7.1.22]

  15. Pool Management Virtual Machines Virtual Machines Pool Master Desktop Delivery Controller Pool Management Service Pool Master

  16. Virtual Machines Pool Master Desktop Delivery Controller Pool Management Service

  17. USB Redirection

  18. Device information Identifying a device Descriptors String, Device, Configuration, Interface, Endpoint & more Device/interface classes & subclasses Mass storage, Image, etc.

  19. Modified components Modified components Policy Presentation Server console, IMA, DDC, PortICA configuration defaults PortICA configuration schema PortICA service Workstation Agent Desktop Toolbar

  20. New components New components Citrix USB Service Protocol handling, Policy lookup and enforcement Citrix USB bus driver Presents devices to system ctxusbf.sys – USB filter driver Filter on all USB devices ctxusbr.sys – USB redirection driver ‘Dummy’ device driver for redirected devices vdgusbN.dll – USB virtual channel

  21. Endpoint / VDA relationship Before Redirection / Not Redirected Once Redirected Desktop Receiver (client) Virtual Desktop Agent (PortICA) Apps Apps USB Redirection Manager ICA Client PortICA stack USB Service Standard Drivers Standard Drivers Interception driver (pass through) Interception driver Citrix USB bus driver MS USBHUB MS USBHUB Device Device

  22. User mode components Workstation Agent Policy handling Read from GPO registry keys PortICA configuration Written into configuration sent to ICA service Citrix USB Service Policy reading (from configuration) Policy enforcement Data pump

  23. Kernel mode components Citrix USB bus driver Control device – communication with USB Service Device stack – Handles IOCTLs from function drivers Certain interface requests (e.g. USB_BUS_INTERFACE_USBDI_V0)

  24. Desktop Receiver ctxusbf.sys – USB filter driver Upper class filter on USB hubs Lower filter on device stacks Reads policy from registry: HKLM\Citrix\ICA Client\GenericUSB\DeviceRules HKLM\Policies\Citrix\ICA Client\GenericUSB\DeviceRules Changes VID & PID on-the-fly

  25. Desktop Receiver ctxusbr.sys – USB redirection driver ‘Dummy’ device driver Command pump for Host-to-Clientcommands Sends responses back to client Handles asynchronous URBs vdgusbN.dll – USB virtual channel Communicates with toolbar Data pump to/from server/client

  26. Troubleshooting Tools and Tips

  27. VDA registration issues • XDPing tool • Services on the DDC • Networking • DNS • Desktop Service Logging • CTX117452 • CDFControl

  28. Pool Management Failures • Logging in Pool Management Service • CTX117452 • XenServer logs • CDF Tracing • XDPing tool

  29. Desktop Connectivity Failures • CDF tracing • Event Logs on VDA • Standard IMA resolution troubleshooting • Standard ICA connection troubleshooting • Network tracing • XDPing

  30. Case Study - User Association with a VDA is Lost • Username shows as "-" in AMC • User cannot reconnect to session once disconnected • User token is captured by ctxidhlpr.exe on session start • Token is not cached • Restart of the Desktop Service loses the token

  31. Case Study - User Association with a VDA is Lost • The desktop service does not get user token on re-launch • Reassociate the token by running ctxidhlpr.exe in the user session • Do Not Restart the VDA Desktop Service without reason!

  32. Case Study – Pool Management Churn • Idle pool spins up several VDAs • Registration does not take place in 3 minutes • Pool Manager Starts up more VDAs • Eventually all register • Pool Manager shuts down extra VDAs

  33. Case Study - Pool Management Churn • Pool Management Logs • Desktop Service Logs • Performance Logs from Hosting Infrastructure • XDPing test to FQDN of the VDA • Correctly Size Your Hosting Infrastructure during transitional periods!

  34. Recap • XenDesktop Architecture is similar to XenApp Architecture • XenDesktop 3.0 provides: • XenServer Pool Master failover • USB device redirection • Use plaintext logging and XDPing for troubleshooting

  35. Questions??

  36. Continue Your Learning • The following course expands on today's topics and is recommended to support your Citrix solution: • CXD-200 Implementing Citrix XenDesktop 3 • Visit www.citrixeducation.com for more information

  37. TechEdge Survey & Posting of PPTs • 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

More Related