NFS:Server for NFS 授权

Microsoft.Windows.FileServices.Service.NFS.6.3.Server.Licensing (UnitMonitor)

已为此监视器启用警报时,如果 Server for NFS 无法验证许可证,该对象会监视产品授权信息并生成警报。

Knowledge Base article:

摘要

已为此监视器启用警报时,如果 Server for NFS 无法验证许可证,该对象会监视产品授权信息并生成警报。

Server for NFS 必须能够验证 NFS 授权信息,服务才能运行。

原因

如果 Server for NFS 无法验证授权信息或此 Windows 版本上不支持 Server for NFS,此监视器可能会进入“警告”或“严重”运行状况状态。您可以确定这两种情况中哪种情况适用,方法是检查 Windows 系统事件日志并搜索事件源 Microsoft-Windows-ServicesForNFS-Server 的消息和以下事件 ID:

验证此信息后,服务器才能运行。

如果运行状况状态未知,则说明对此对象的监视尚未开始。

解决方案

对于许可证验证失败,Server for NFS 启动时,计算机的可用资源可能有限。

重新启动 Server for NFS

如下所示,尝试重新启动 Server for NFS:

1. 在受影响服务器的提升命令提示符处,键入 nfsadmin server stop

2. 键入 nfsadmin server start

重新启动计算机

验证

若要确认 Server for NFS 启动状态,请使用以下过程:

1. 在提升命令提示符处,键入 net start

2. 确认“Server for NFS”显示在结果列表中。

有效的许可证变为可用之后,此监视器将自动重置为“正常”状态。

其他

事件 ID 1015 和 1016 (http://go.microsoft.com/fwlink/?LinkId=186007)

有关配置 Server for NFS 的详细信息,请参阅 网络文件系统服务 (http://go.microsoft.com/fwlink/?LinkId=185983)。

Element properties:

TargetMicrosoft.Windows.FileServices.Service.NFS.6.3
Parent MonitorSystem.Health.ConfigurationState
CategoryCustom
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.3SingleEventLog3StateUnitMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
NFS:Server for NFS 授权
事件描述:{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServices.Service.NFS.6.3.Server.Licensing" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServices.Service.NFS.6.3" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="true">
<Category>Custom</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServices.Service.NFS.6.3.Server.Licensing_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="UIGeneratedOpStateIddbcd4bed700b4804bc5f53ab908447ff" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="UIGeneratedOpStateId9a151df873f340478631f1f1dcf82425" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
<OperationalState ID="UIGeneratedOpStateId56950fa7cc9548b686ee44cbc95dc85a" MonitorTypeStateID="ThirdEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Microsoft-Windows-ServicesForNFS-Server/Admin</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1016</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Microsoft-Windows-ServicesForNFS-Server/Admin</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1015</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
<ThirdComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ThirdComputerName>
<ThirdLogName>Microsoft-Windows-ServicesForNFS-Server/Admin</ThirdLogName>
<ThirdExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1017</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-ServicesForNFS-Server</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</ThirdExpression>
</Configuration>
</UnitMonitor>