iis7开发系列课程4iis7.0故障解决_第1页
iis7开发系列课程4iis7.0故障解决_第2页
iis7开发系列课程4iis7.0故障解决_第3页
iis7开发系列课程4iis7.0故障解决_第4页
iis7开发系列课程4iis7.0故障解决_第5页
免费预览已结束,剩余16页可下载查看

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

Level

200收听本次课程需必备的条件了解.NET了解IIS了解Windows

ServerIIS7

的和故障排除能力可以轻松的看到All站点的state,AppPools,Worker

Processes,

and

App

s实时处理中看到实时请求情况从开始到结束中

在同一个操作界面一个请求操作ASP.NET

和IIS设置自动

错误请求Runtime

Status

an可以获得运行状况

AppPoolsWorkerProcessesWebSitessApp

目标直接操作展示运行状态Control

RSCARSCDemo内容Runtime

Status

and

Control

Data——改进当前请求List详细的信息管道及时状态、运行模块进程请求App

List通过WMI和代码展示oRuntime

Status

and

Control

Data——

APIApplicationPool:提供

状态状况ServerManager.Applicati nPools

:

givesallpoolsStatus

Data:ApplicationPool.NameApplicationPool.StateApplicationPool.WorkerProcessesActions/Controls:ApplicationPool.Start()ApplicationP

.

top()ApplicationPool.Recycle()WorkerProcess:Status

Data:IDSite.StateActions/Controls:Site.Start()Site.Stop():象cRuntime

Status

and

Control

Data——操作数据和对ApplicationStatus

Data:AppID.Unload()Virtual

and

Physical

PathsSite

IDI

lControls:Unload

app :

Appli

ationSite:Status

Data:PID/GUID/AppPool

NameState

can

be

starting/running/stop/unknownCurrently

Executing

Requests

WorkerProcess.GetRequests(0)Currently

loaded

App s

WorkerProcess.ApplicationsDemo内容Tracing——灵活性独立

:ETW:Event

Tracingfor

WindowsAutomatic

Failure

Req

Tracing

(FREB)…insert

your

own

format

here…灵活性:

添加Tracing——如何工作登记模板通过trace

configuration管道模块readconfiguration管道模块提交trace

event返回处理事件所有的IIS类似300

eventsin

core

IIS7You

can

create

your

ownTraceeventourceTraceeventproviders/consumerw3coreAnypipelinemoduleTRACE_EVENTConsumermodule(etw,

frebetc)TraceconfigReadtraceconfigMy

traceoutputformatAutomatic

Failure eq

Tracing失败requestsList打开tracing

不仅仅是“fail d

requests”Automatic

Failure

Req

Tracing

(FREB)对每一个失败的URL的自定义多条目状态/子状态代码事件冗长(登陆失败etc.每个URL

trace

configuration允许自定义URL例如:“*.aspx”——如何使用ApplicationHost.configAutomatic

Failure

Req

TracingAutomatic

Failure

Req

Tracing——如何使用Configure

failure

definitions

in

web.configDefine

URLDefine

failure

definitionsDefine

what

areas

to

trace

per

URLASPX

Page

Eventracing——如何使用How

to

enable

it:Turn

page

tracing

on

(nothing

new

here)<%Page

Trace=“True”%>Configure

FREB

to

look

for

ASPN T

provider,

Page

flag<traceFailedRequests><add

path=“login.aspx”

><tr

ceAreas><add

provider=“ASPNET”

area=“Page”

verbosity=“verbose”

/></traceAreas><failureDefinitions

statusCodes=“401”

/

></add><traceFailedRequests>Events

come

out

with:Data:

connection

ID,

Activity

ID

(for

correlation),

Uri,

and

the

messagelogged

in

the

or

allSeparate

event

types

for

Trace.Warn()

and

Trace.Write()Write()

events

:

verbosity=“verbose”Warn()

events

:

verbosity=“warning”的

latform

Tracing在IIS7

Tracing

Infrastructure

中定义路径:

ASP.NET

Page

Trace.W

ite()and

Trace.Warn()callsSystem.Diagnostics.TraceSource

callsWebEvents

raised

on

co text

of

requestIISTraceListener<atype=“Mi</shatrace

source:加入Trace

Events

模板System.Diagnostics.TraceSourceIIS7

adds

a

new

Trace

Listener

forTraceSource

calls

–<system.Diagnostics><sharedListeners>dd

name=“IISTraceListener”crosoft.IIS.IIS7Tra…”/>redListeners>Create

new

trace

source

in

config

for

your

module

–example:

myModuleSourceAdd

the

IISTraceListener

as

a

listener

for

your

module<sources><source

name=“myModuleSource”><!--

now

IaddtheIIS7TraceListener

asalistener

--><listeners><add

name=“IISTraceListener”

/></listeners></source></sources>Demo内容:On-demand

runtime

state

and

control

of

objectsExtensible

tracing

subs

stemSubsystem

publishing

and

consumption

APIs

areexposed

publiclyYou

can

roll

your

own

trace

output

moduleIIS

modules

are

built

on

these

publicAPI’sNo-re ro

Tracin viaF

EBAdd

your

own

trace

event

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论