Citrix Provisioning Services Stream Process Architecture and Advanced Troubleshooting

Download as ppt, pdf, or txt
Download as ppt, pdf, or txt
You are on page 1of 41
At a glance
Powered by AI
The key takeaways from the document are that Provisioning Services reduces storage costs and management time through streaming disk images to targets. The Stream Process manages the target login process and streaming of I/O. Kernel dumps can be captured in different ways depending on the target operating system and hypervisor.

Provisioning Services is a solution that allows streaming of disk images from a central server to multiple target devices, reducing storage costs. It utilizes PXE booting to boot targets and then streams the operating system and applications from the server.

The Stream Process is responsible for interacting with the SQL database, managing the target device login process, streaming I/O, managing the server-side write cache, client and server-side logging, and reading the vDisk and sidecar files. It also handles properties like the vDisk class/type, Active Directory support, and disk mode.

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

What is Provisioning Services?


Target Device 1

Workloads Provisioning Services Target Device 2 Network Storage


B A

Target Device 3

PXE Booting a Provisioning Services Target


DHCP Server

Target Device 1

IP Info

DHCP Discover BOOT


Target Device 2

Provisioning Services

Workloads
A

TFTP PXE DHCP Discover BOOT


Target Device 3

Network Storage

Bootstrap PXE Info

DHCP BOOT Discover

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 1.1.1.3 Bootstrap


1.1.1.2

1.1.1.1

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 Login Request Mac Authentication

vDisk Location

SQL Database

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 vDisk pvp 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
Manager

Stream Service

Stream Process

Stream DB

SQL Database vDisk Location Streamed Image


Citrix Confidential - Do Not Distribute

PVS Console connected locally to the PVS Server


Manager

MAPI

Soap Server

AD
PVS Console MCLI
Citrix Confidential - Do Not Distribute

PVS Console changes to remote PVS Server


PVS Server A
Manager

PVS Server B
Manager

Stream Service

Stream Process
Stream DB

MAPI

Soap Server

AD MCLI PVS Console

Citrix Confidential - Do Not Distribute

More on Manager
PVS Server A
Manager Manager

Stream Service

Stream Process Stream DB

MAPI

Soap Server

SQL Database
vDisk Location Streamed Image
Citrix Confidential - Do Not Distribute

AD
PVS Console

MCLI

Stream Process and Active Directory


PVS Server A
Manager Manager

Stream Service

Stream Process Stream DB

MAPI

Soap Server

SQL Database Streamed Image

AD
Domain Controller PVS Console
Citrix Confidential - Do Not Distribute

MCLI

Authentication
Manager

Stream Service

Stream Process

Stream DB

SQL Database vDisk Location


Citrix Confidential - Do Not Distribute

Streamed Image

Load Balancing and High Availability


Stream Service Stream Process
Stream DB

Stream Process
Stream DB

Stream Service

SQL Database
Server IP Server IP

Streamed Image

Device Count Device Count Update Time Update Time


Citrix Confidential - Do Not Distribute

Streamed Image

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 Stream Process


Citrix Confidential - Do Not Distribute

TFTP - Login

Target 10.1.1.100

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

TFTP Stream Process

OS Booting UNDI Driver

Citrix Confidential - Do Not Distribute

Target 10.1.1.100

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 TFTP Stream Process


Citrix Confidential - Do Not Distribute

OS Booting BNISTACK Driver

Target 10.1.1.100

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

DOM 0

Serial

Redirect

WinDBG SockPipe.EXE

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

TechEdge Survey, Video Postings & PPTs


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

Continue Your Learning


Visit www.citrix.com/SummitEDU for more information

You might also like