终端服务会话 Broker 服务状态

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker.ServiceStateMonitor (UnitMonitor)

Knowledge Base article:

摘要

此监视器将跟踪终端服务会话 Broker (tssdis) 服务的状态,并将根据该服务是否正在运行来更改状态。

只有在运行终端服务会话 Broker 服务的情况下,终端服务会话 Broker(TS 会话 Broker)服务器才能执行服务器场中的终端服务器之间的会话负载平衡,并将用户重新连接到负载平衡的终端服务器场中的现有会话。

解决方法

若要解决此问题,请尝试启动终端服务会话 Broker 服务。如果此问题仍然存在,请重新启动 TS 会话 Broker 服务器。在重新启动该服务器后,确认终端服务会话 Broker 服务已启动。

若要执行此过程,您必须拥有本地 Administrators 组成员身份,或者您必须被委派了适当的权限。

若要启动终端服务会话 Broker 服务,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
终端服务会话 Broker 服务状态
{0} 上的“终端服务会话 Broker”服务 (tssdis) 未运行
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker.ServiceStateMonitor" Accessibility="Public" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSSessionBroker.ServiceStateMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</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>tssdis</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>