终端服务许可证服务器无法与其他终端服务许可证服务器进行通信

Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.8.45 (Rule)

Knowledge Base article:

解决方法

若要解决此问题,请检查防火器设置,确保未阻止终端服务许可证服务器和其他许可证服务器之间的远程过程调用 (RPC) 通信。如果防火墙设置配置正确而问题仍然存在,请确定并修复网络连接问题。

注意:许可证服务器将会维护有关其他可访问的许可证服务器位置的信息,以及有关这些许可证服务器是否具有终端服务客户端访问许可证 (TS CAL) 的信息。在某些情况下,当向许可证服务器的数据库中添加 TS CAL 时或当许可证服务器没有剩余的 TS CAL 可供颁发时,这些许可证服务器将互相通知。若要使许可证服务器能够互相通知,必须在许可证服务器之间建立网络连接。

若要执行这些任务,请参阅以下各节。

检查防火墙设置

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

若要检查防火墙设置,请执行以下操作:

注意:若要查看有关 Windows 防火墙设置的更多详细信息,请使用“高级安全 Windows 防火墙”管理单元。

确定并修复网络连接问题

若要确定并修复该许可证服务器和其他许可证服务器之间存在的任何网络连接问题,请执行以下操作:

若要执行这些任务,请参阅以下各节。

注意:以下过程包含使用 ping 命令进行故障排除的步骤。因此,在执行这些步骤之前,请先检查网络上的防火墙或 Internet 协议安全 (IPsec) 设置是否允许使用 Internet 控制消息协议 (ICMP) 进行通信。ICMP 是由 ping 命令使用的 TCP/IP 协议。

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

确定是否存在网络连接问题

若要确定许可证服务器和其他许可证服务器之间是否存在网络连接问题,请执行以下操作:

如果可以通过 IP 地址对另一台许可证服务器成功进行 ping 操作,但无法通过 FQDN 对其成功进行 ping 操作,则表明 DNS 主机名解析可能出现问题。

如果无法通过 IP 地址对另一台许可证服务器成功进行 ping 操作,则表明网络连接、防火墙配置或 IPsec 配置可能存在问题。

执行其他故障排除步骤

以下是一些额外的故障排除步骤,通过执行这些步骤可帮助您确定问题的根本原因:

Element properties:

TargetMicrosoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing
CategoryEventCollection
EnabledTrue
Event SourceMicrosoft-Windows-TerminalServices-Licensing
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
终端服务许可证服务器无法与其他终端服务许可证服务器进行通信
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.8.45" Enabled="onStandardMonitoring" Target="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(8|45)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-TerminalServices-Licensing</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.Server.2008.TerminalServicesRole.Service.TSLicensing.EventCollection.8.45.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>