已为此监视器启用警报时,如果 Server for NFS 无法验证许可证,该对象会监视产品授权信息并生成警报。
已为此监视器启用警报时,如果 Server for NFS 无法验证许可证,该对象会监视产品授权信息并生成警报。
Server for NFS 必须能够验证 NFS 授权信息,服务才能运行。
如果 Server for NFS 无法验证授权信息或此 Windows 版本上不支持 Server for NFS,此监视器可能会进入“警告”或“严重”运行状况状态。您可以确定这两种情况中哪种情况适用,方法是检查 Windows 系统事件日志并搜索事件源 Microsoft-Windows-ServicesForNFS-Server 的消息和以下事件 ID:
事件 1015 指示许可证验证失败。这可能是由于系统资源不足或软件授权服务出现问题。
事件 1016 指示此 Windows 版本上不支持 Server for NFS 服务。
验证此信息后,服务器才能运行。
如果运行状况状态未知,则说明对此对象的监视尚未开始。
对于许可证验证失败,Server for NFS 启动时,计算机的可用资源可能有限。
重新启动 Server for NFS
如下所示,尝试重新启动 Server for NFS:
1. 在受影响服务器的提升命令提示符处,键入 nfsadmin server stop。
2. 键入 nfsadmin server start。
重新启动计算机
如果重新启动 Server for NFS 未解决问题,请尝试重新启动计算机。
如果重新启动计算机不能纠正该问题,可能是软件授权服务存在问题。请与 Microsoft 支持部门联系,以解决此问题。
如果此版本的 Windows 上不支持网络文件系统服务,请与 Microsoft 支持部门联系,以获取相应的许可证。
验证
若要确认 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)。
Target | Microsoft.Windows.FileServices.Service.NFS.6.3 | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | Custom | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.3SingleEventLog3StateUnitMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>