Top Banner
Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts Keith McLaughlin Lead Escalation Engineer May 11 th 2010
41

Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Dec 31, 2015

Download

Documents

noah-valencia

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. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Provisioning Services Stream Process Architecture and Advanced Troubleshooting ConceptsKeith McLaughlin Lead Escalation EngineerMay 11th 2010

Page 2: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• PVS Architecture Overview

• Stream Process Architecture

• Authentication Architecture

• Stream Process Troubleshooting

Citrix Confidential - Do Not Distribute

Agenda

Page 3: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Network Storage

Provisioning Services

Target Device 3

Target Device 1

Target Device 2

Workloads

A

B

What is Provisioning Services?

Page 4: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Network Storage

Provisioning Services

Target Device 3

Target Device 1

Target Device 2

Workloads

A

B

PXE Booting a Provisioning Services TargetDHCP Server

PXETFTP

BOOT

BOOT

BOOTDHCP Discover

DHCP Discover

DHCP Discover

IP InfoIP InfoIP Info

PXE InfoPXE InfoPXE InfoBootstrapBootstrapBootstrap

Page 5: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Login Process

1.1.1.1

1.1.1.2

1.1.1.3

Streaming from 1.1.1.4 Bootstrap1.1.1.2

1.1.1.1

Login Process

Request for vDisk3

PVS Target Device

StreamServer

1.1.1.3:vDisk3

Page 6: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Stream ServiceStream Service

Stream Service and the Stream Process

Citrix Confidential - Do Not Distribute

Stream ProcessStream Process

Page 7: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Stream Process Responsibilities

Citrix Confidential - Do Not Distribute

Stream ServiceStream Service

StreamDB

StreamDB

SQL Database

Target DevicevDisk Location

Login

MacAuthentication

I/O Request

Stream ProcessStream Process

Page 8: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Stream Process Responsibilites

Page 9: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• Class and type of vDisk

• Active Directory Support on/off switch

• Disk mode (Standard/Private/Differential Disk)

Citrix Confidential - Do Not Distribute

Vdiskname.pvp (Side Car File)

Page 10: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Stream Process

Citrix Confidential - Do Not Distribute

Stream ServiceStream Service

Stream ProcessStream

Process

Manager

Manager

StreamDB

StreamDB

SQL Database

Streamed ImagevDisk Location

Page 11: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

PVS Console connected locally to the PVS Server

Citrix Confidential - Do Not Distribute

MAPIMAPI SoapServerSoap

Server

PVS Console

Manager

Manager

MCLI

ADAD

Page 12: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

PVS Console changes to remote PVS Server

Citrix Confidential - Do Not Distribute

MAPIMAPI SoapServerSoap

Server

PVS Console

Manager

Manager

MCLI

ADAD

StreamDB

StreamDB

StreamProcessStreamProcess

StreamServiceStreamService M

anag

erM

anag

er

PVS Server A PVS Server B

Page 13: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

More on Manager

Citrix Confidential - Do Not Distribute

Stream ServiceStream Service

Stream ProcessStream

Process

Manager

Manager

MAPIMAPI

StreamDB

StreamDB

SoapServerSoap

Server

PVS ConsoleSQL

Database

Manager

Manager

MCLI

Streamed Image

ADAD

vDisk Location

PVS Server A

Page 14: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

StreamDB

StreamDB

Stream Process and Active Directory

Citrix Confidential - Do Not Distribute

Stream Service

Stream ProcessStream

Process

Manager

Manager

MAPIMAPISoap

Server

PVS ConsoleSQL

Database

Manager

Manager

MCLI

Streamed Image

ADADDomain Controller

PVS Server A

Page 15: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Authentication

Citrix Confidential - Do Not Distribute

Stream ServiceStream Service

Manager

Manager

StreamDB

StreamDB

SQL Database

Streamed ImagevDisk Location

StreamProcessStreamProcess

Page 16: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Load Balancing and High Availability

Citrix Confidential - Do Not Distribute

Stream ProcessStream

ProcessStream ServiceStream Service

StreamDB

StreamDB

Streamed Image

Stream ServiceStream Service

Stream ProcessStream

Process

StreamDB

StreamDB

SQL Database

Streamed Image

Server IP Server IP

Device Count Device Count

Update Time Update Time

Page 17: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Troubleshooting

Page 18: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Boot Stages

Page 19: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Citrix Confidential - Do Not Distribute

Analyzing Packet Captures

Page 20: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Packet Capture PXE TFTP download

Citrix Confidential - Do Not Distribute

TFTP

Provisioning Server 10.1.1.1

DHCP

Target 10.1.1.100PXE

Page 21: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• Target does not receive IP address

• Target gets IP but times out to TFTP

• PXE Errors No boostrap found

Citrix Confidential - Do Not Distribute

Common Issues During DHCP TFTP Download

TFTP

Provisioning Server 10.1.1.1

DHCP

Target 10.1.1.100PXE

Page 22: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Login Process Traffic

Citrix Confidential - Do Not Distribute

TFTP

Provisioning Server 10.1.1.1

Target 10.1.1.100

Stream Process

TFTP - Login

Page 23: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• Incorrect Bootstrap IP information

• Login port blocked

• Target not entered in Database

• Stream Service failed to start

Citrix Confidential - Do Not Distribute

Common issues during login process

TFTP

Provisioning Server 10.1.1.1

DHCP

Target 10.1.1.100PXE

Page 24: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Streaming Pre-BniStack

Citrix Confidential - Do Not Distribute

TFTP

Stream Process

OS Booting UNDI Driver

Target 10.1.1.100

Page 25: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• Large Send Offload

• Network instability

• Conflicts with UNDI Driver

Citrix Confidential - Do Not Distribute

Common issues pre BNIStack

Page 26: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Determining if BNIStack Driver is up

Citrix Confidential - Do Not Distribute

TFTP

Stream Process

OS Booting BNISTACK Driver

Target 10.1.1.100

Provisioning Server 10.1.1.1

Page 27: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• Filter Driver conflicts

• Firewall/Antivirus Services kickoff

• Antivirus Updates being loaded

• Domain Profile creation

Citrix Confidential - Do Not Distribute

Common issues post BNIStack

Page 28: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Citrix Confidential - Do Not Distribute

Windows Kernel Dump files

Page 29: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Page 30: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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 Win2k3 and XP Limitations

Page 31: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Page 32: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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 Kernel Dump Files Win2k8 Vista and Windows 7

Page 33: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Page 34: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Citrix Confidential - Do Not Distribute

Capturing a Kernel Dump Via Xenserver

DO

M 0

XEN SERVER

WinDBGSockPipe.EXESerial Redirect

Page 35: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

http://support.citrix.com/article/ctx124979

Citrix Confidential - Do Not Distribute

Page 36: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Capturing Kernel dump via ESX

Page 37: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

http://support.citrix.com/article/ctx125086

Citrix Confidential - Do Not Distribute

Page 38: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

• 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

Recap

Page 39: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

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

Page 40: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts

Visit www.citrix.com/SummitEDU for more information

Continue Your Learning

Page 41: Provisioning Services Stream Process Architecture and Advanced Troubleshooting Concepts