500 likes | 947 Views
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.
E N D
Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts Keith McLaughlin Lead Escalation Engineer May 11th 2010
Agenda • PVS Architecture Overview • Stream Process Architecture • Authentication Architecture • Stream Process Troubleshooting Citrix Confidential - Do Not Distribute
A B What is Provisioning Services? Target Device 3 Target Device 1 Target Device 2 Workloads Provisioning Services Network Storage
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
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
Stream Service and the Stream Process Stream Service Stream Process Citrix Confidential - Do Not Distribute
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
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
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
Stream Process Stream Service Stream Process Manager Stream DB SQL Database Streamed Image vDisk Location Citrix Confidential - Do Not Distribute
PVS Console connected locally to the PVS Server MAPI Soap Server Manager AD PVS Console MCLI Citrix Confidential - Do Not Distribute
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
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
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
Authentication Stream Service Stream Process Manager Stream DB SQL Database Streamed Image vDisk Location Citrix Confidential - Do Not Distribute
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
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
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
Analyzing Packet Captures Citrix Confidential - Do Not Distribute
Packet Capture PXE TFTP download Provisioning Server 10.1.1.1 TFTP DHCP PXE Target 10.1.1.100 Citrix Confidential - Do Not Distribute
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
Login Process Traffic Provisioning Server 10.1.1.1 TFTP - Login TFTP Stream Process Target 10.1.1.100 Citrix Confidential - Do Not Distribute
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
Streaming Pre-BniStack OS Booting UNDI Driver TFTP Stream Process Target 10.1.1.100 Citrix Confidential - Do Not Distribute
Common issues pre BNIStack • Large Send Offload • Network instability • Conflicts with UNDI Driver Citrix Confidential - Do Not Distribute
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
Common issues post BNIStack • Filter Driver conflicts • Firewall/Antivirus Services kickoff • Antivirus Updates being loaded • Domain Profile creation Citrix Confidential - Do Not Distribute
Windows Kernel Dump files Citrix Confidential - Do Not Distribute
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
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
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
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
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
Capturing a Kernel Dump Via Xenserver XEN SERVER WinDBG SockPipe.EXE Redirect Serial DOM 0 Citrix Confidential - Do Not Distribute
http://support.citrix.com/article/ctx124979 Citrix Confidential - Do Not Distribute
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
http://support.citrix.com/article/ctx125086 Citrix Confidential - Do Not Distribute
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
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
Visit www.citrix.com/SummitEDU for more information Continue Your Learning