Presentation is loading. Please wait.

Presentation is loading. Please wait.

Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.

Similar presentations


Presentation on theme: "Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and."— Presentation transcript:

1 Module 4: Troubleshooting Web Servers

2 Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and Status API Use Automatic Failed Request Tracing Add trace events to managed modules

3 Lesson 1: Troubleshooting IIS 7.0 Describe how IIS 7.0 Failed Request Tracing functions List uses for the Runtime Control and Status API Describe IIS 7.0 Failed Request Event Buffering Use IIS 7.0 custom errors to help troubleshooting efforts

4 Failed Request Tracing Tracing without reproducing “failed requests” Configurable custom failure definitions per URL Persistant failure log files Can use for all requests to monitor server activity

5 Runtime Control and Status API Run-time state information available  Current processes running  Application Pools Process Id (PID)  Currently executing requests Run-time control possible  AppDomains loaded  Real-time starting & stopping of sites

6 Failed Request Event Buffering Traces all requests through IIS pipeline Automatically enabled Easily identifies requests that are stuck, or failing Identifies time taken in each module, helping to analyze long running requests Begin Request Read Configuration Authenticate Authorize Cached ISAPI Filter Determine Handler

7 Troubleshooting in IIS 7.0: Custom Errors Re-built custom errors  Language specific (Accept-Encoding)  Experience different for external clients than “Localhost” Detailed information  Time  URL  Current Module  Response Status, Sub-Status  More information (steps to fix problem)

8 Lesson 2: Using the Runtime Control and Status API Describe uses for the Runtime Status and Control API (RSCA) List RCSA design goals Describe the function of the IRSCA_WAS object Describe the function of the IRSCA_W3SVC object Identify RSCA Example Objects and Data

9 Runtime Status and Control API (RCSA) Obtains runtime status Controls runtime settings Across all areas:  Application Pools  Worker Processes  Web Sites  Application Domains  HTTP Requests

10 RCSA Goals Provide means of obtaining current runtime state Provide direct and consistent way to control runtime state Expose detailed runtime state

11 Lesson 3: Using Automatic Failed Request Tracing Describe the IIS 7.0 tracing infrastructure Describe Automatic Failed Request Tracing

12 How the Tracing Infrastructure Works Consumer Module (ETW, FREB etc) w3core Trace event sources Trace event providers / consumers Any pipeline module Trace Configuration Read trace configuration Trace Configuration Trace Event Your trace output format

13 Automatic Failed Request Tracing No reproduction tracing for “failed requests” Specify tracing by:  Content type  Status code  Time taken  Provider  URL Trace log files persist beyond process lifetime


Download ppt "Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and."

Similar presentations


Ads by Google