1 / 41

Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts. Keith McLaughlin Lead Escalation Engineer May 11 th 2010. Agenda. PVS Architecture Overview Stream Process Architecture Authentication Architecture Stream Process Troubleshooting. A. B.

eliot
Download Presentation

Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

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. Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts Keith McLaughlin Lead Escalation Engineer May 11th 2010

  2. Agenda • PVS Architecture Overview • Stream Process Architecture • Authentication Architecture • Stream Process Troubleshooting Citrix Confidential - Do Not Distribute

  3. A B What is Provisioning Services? Target Device 3 Target Device 1 Target Device 2 Workloads Provisioning Services Network Storage

  4. B A PXE Booting a Provisioning Services Target DHCP Server Target Device 3 Target Device 1 Target Device 2 IP Info IP Info IP Info Provisioning Services Workloads DHCP Discover BOOT Network Storage TFTP PXE Bootstrap Bootstrap Bootstrap DHCP Discover PXE Info PXE Info PXE Info BOOT DHCP Discover BOOT

  5. Login Process 1.1.1.1 StreamServer 1.1.1.3:vDisk3 PVS Target Device Login Process 1.1.1.2 Request for vDisk3 Streaming from 1.1.1.4 Bootstrap 1.1.1.2 1.1.1.1 1.1.1.3

  6. Stream Service and the Stream Process Stream Service Stream Process Citrix Confidential - Do Not Distribute

  7. Stream Process Responsibilities Stream Service Stream Process Stream DB I/O Request Login Mac Authentication SQL Database vDisk Location Target Device Citrix Confidential - Do Not Distribute

  8. Stream Process Responsibilites • Interacts with SQL Database • Manages the target device login process • Streams I/O • Manages Server Side Write Cache • Client and Server Side Logging • Reads the vDiskpvp – Sidecar file Citrix Confidential - Do Not Distribute

  9. Vdiskname.pvp (Side Car File) • Class and type of vDisk • Active Directory Support on/off switch • Disk mode (Standard/Private/Differential Disk) Citrix Confidential - Do Not Distribute

  10. Stream Process Stream Service Stream Process Manager Stream DB SQL Database Streamed Image vDisk Location Citrix Confidential - Do Not Distribute

  11. PVS Console connected locally to the PVS Server MAPI Soap Server Manager AD PVS Console MCLI Citrix Confidential - Do Not Distribute

  12. PVS Console changes to remote PVS Server PVS Server A PVS Server B Stream Service Stream Process MAPI Soap Server Manager Manager Stream DB AD PVS Console MCLI Citrix Confidential - Do Not Distribute

  13. More on Manager PVS Server A Stream Service Stream Process MAPI Soap Server Manager Manager Stream DB AD SQL Database MCLI PVS Console Streamed Image vDisk Location Citrix Confidential - Do Not Distribute

  14. Stream Process and Active Directory PVS Server A Stream Service Soap Server Stream Process MAPI Manager Manager Stream DB AD SQL Database MCLI PVS Console Domain Controller Streamed Image Citrix Confidential - Do Not Distribute

  15. Authentication Stream Service Stream Process Manager Stream DB SQL Database Streamed Image vDisk Location Citrix Confidential - Do Not Distribute

  16. Load Balancing and High Availability Stream Service Stream Process Stream Process Stream DB Stream DB Stream Service SQL Database Streamed Image Streamed Image Citrix Confidential - Do Not Distribute

  17. Troubleshooting • Narrowing down scope of issue by determining where in the boot cycle the issue is occurring. • Packet Traces • Capturing Kernel Dump Files Citrix Confidential - Do Not Distribute

  18. Boot Stages • DHCP – PXE boot downloading of bootstrap file • Login to the PVS Server • Streaming of the I/O Pre-BNIStack (Citrix Target Device driver) • BNIStack up burst traffic. Citrix Confidential - Do Not Distribute

  19. Analyzing Packet Captures Citrix Confidential - Do Not Distribute

  20. Packet Capture PXE TFTP download Provisioning Server 10.1.1.1 TFTP DHCP PXE Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  21. Common Issues During DHCP TFTP Download • Target does not receive IP address • Target gets IP but times out to TFTP • PXE Errors No boostrap found Provisioning Server 10.1.1.1 TFTP DHCP PXE Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  22. Login Process Traffic Provisioning Server 10.1.1.1 TFTP - Login TFTP Stream Process Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  23. Common issues during login process • Incorrect Bootstrap IP information • Login port blocked • Target not entered in Database • Stream Service failed to start Provisioning Server 10.1.1.1 TFTP DHCP PXE Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  24. Streaming Pre-BniStack OS Booting UNDI Driver TFTP Stream Process Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  25. Common issues pre BNIStack • Large Send Offload • Network instability • Conflicts with UNDI Driver Citrix Confidential - Do Not Distribute

  26. Determining if BNIStack Driver is up Provisioning Server 10.1.1.1 OS Booting BNISTACK Driver TFTP Stream Process Target 10.1.1.100 Citrix Confidential - Do Not Distribute

  27. Common issues post BNIStack • Filter Driver conflicts • Firewall/Antivirus Services kickoff • Antivirus Updates being loaded • Domain Profile creation Citrix Confidential - Do Not Distribute

  28. Windows Kernel Dump files Citrix Confidential - Do Not Distribute

  29. Capturing Kernel Dump Files • Capturing Kernel Dump files using Win2k3 and XP • Capturing Kernel Dump files using Win2k8 Vista and Windows 7 • Capturing Kernel Dump files in XenServer and ESX Citrix Confidential - Do Not Distribute

  30. Capturing Kernel Dump Files Win2k3 and XP Limitations • Crash dumps to be on same drive as pagefile • Page file to be on the system drive • Redirection of dump not supported • Live debug can be accomplished via serial cable. Citrix Confidential - Do Not Distribute

  31. Capturing Kernel Dump Files Win2k8 Vista and Windows 7 • Enhancements allow kernel dumps to be directed to a location other then a system drive • Requires a local hard drive with enough free space for the dump file. (Pagefile Size) Citrix Confidential - Do Not Distribute

  32. Capturing Kernel Dump Files Win2k8 Vista and Windows 7 • Create a new string value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl named DedicatedDumpFile • Create Value data box, type <drive>:\<dedicateddumpfile.sys> • Create DWORD Value DumpFileSize use decimal under base and type the name of dump file in megabytes • More detailed information in this process can be found: • http://support.microsoft.com/kb/969028 • http://support.citrix.com/article/ctx123642 Citrix Confidential - Do Not Distribute

  33. Capturing a Kernel dump via XenServer • Vista, Windows 7, Win2k8 redirection only possible if XenTools are not installed • Live Debug via WinDBG possible by redirecting serial to DOM 0 Citrix Confidential - Do Not Distribute

  34. Capturing a Kernel Dump Via Xenserver XEN SERVER WinDBG SockPipe.EXE Redirect Serial DOM 0 Citrix Confidential - Do Not Distribute

  35. http://support.citrix.com/article/ctx124979 Citrix Confidential - Do Not Distribute

  36. Capturing Kernel dump via ESX • Workstation 7 utility vmss2core • Suspend hung VM • Download suspended VM session (.vmss) • Retrieve downloaded file and run command vmss2core –W filename.vmss Citrix Confidential - Do Not Distribute

  37. http://support.citrix.com/article/ctx125086 Citrix Confidential - Do Not Distribute

  38. Recap • Provisioning Server reduces storage costs and management time • Stream Process responsibilites • How to identify where in the boot process a PVS Target is failing • The different ways to capture a kernel level dump file from a provisioned target. Citrix Confidential - Do Not Distribute

  39. The TechEdge survey will be emailed out to end-user customers If you complete the survey, you will be entered to win a $250 Amazon gift card. The winner will be announced June 1st. View TechEdge videos & PPTs on the Knowledge Center by Monday, May17th http://support.citrix.com/techedge2010 TechEdge Survey, Video Postings & PPTs

  40. Visit www.citrix.com/SummitEDU for more information Continue Your Learning

More Related