Windows Process Activation Service 可用性

Microsoft.Windows.InternetInformationServices.6.2.WAS.NTService.CheckServiceState.Monitor (UnitMonitor)

Windows Process Activation Service (WAS) 管理应用程序池配置以及 HTTP 和其他协议的工作进程的创建和生存期。World Wide Web 发布服务 (W3SVC) 和其他服务都依赖于 WAS。

Knowledge Base article:

摘要

此监视器检查 Windows Process Activation Service (WAS) 的状态。如果收到此监视器发出的警报,则需要执行操作以将服务恢复为操作状态。

Windows Process Activation Service (WAS) 管理应用程序池配置以及 HTTP 和其他协议的工作进程的创建和生存期。World Wide Web 发布服务 (W3SVC) 和其他服务都依赖于 WAS。

操作状态:

Windows Process Activation Service (WAS) 的操作状态可以是“服务正在运行”或“服务未运行”。

配置

监视器将采用单个配置参数来控制启动类型未设置为“自动”时是否应监视服务。默认情况下,将监视服务,即使其启动类型为“手动”。这是因为在默认 IIS 8 安装中,WAS 服务的启动类型是“手动”。

原因

服务可以由于很多原因而停止,包括:

解决方法

如果 Windows Process Activation Service (WAS) 状态为“未运行”,你可以通过执行下列操作来诊断问题或重新启动服务:

启动 Windows Process Activation Service (WAS) 服务

启动 Web 服务器 (W3SVC) 服务

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Windows Process Activation Service 不可用
在 {0} 上的 Windows Process Activation Service 不可用。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WAS.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WAS.NTService.CheckServiceState.Monitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>WAS</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>