此对象可监视与域控制器进行的通信,如果 DFS 复制无法与域控制器联系,将会创建“警告”警报。
此对象可监视与域控制器进行的通信,如果 DFS 复制无法与域控制器联系,将会创建“严重”警报。通过查找是否存在 DFS 复制事件 1202 来实现。
此监视器的不正常状态表示 DFS 复制无法与域控制器联系来检索配置信息。如果复制之前已运行,此服务将使用本地存储的缓存配置,但在问题解决之前将不会响应任何配置更改。
此问题可能由以下因素造成:
基本网络连接问题
防火墙设置
Active Directory 域服务 (AD DS) 问题
测试基本网络连接
若要测试受影响服务器的网络连接,请使用以下过程:
1. 打开命令提示符窗口,然后使用 ping 命令检查基本网络连接。如果 ping 命令失败,很可能是因为该服务器未运行,或具有需要本地访问才能解决的网络问题。如果在您的网络环境中阻止 Ping,请跳过此步骤。
2. 如果 ping 命令成功,请使用 nslookup 命令测试服务器在 DNS 中的注册情况。如果 nslookup 命令失败,则说明 DNS 存在问题。检查 DNS 服务器运行状况或与 DNS 服务器管理员联系。
3. 如果 nslookup 命令成功,则 DNS 正常工作。
注意:有关故障排除网络问题的详细信息,请参阅 Microsoft 知识库 (http://go.microsoft.com/fwlink/?linkid=46059) 中的 文章 325487。
检查防火墙设置
如果复制伙伴之间已配置防火墙,请确保它不会阻止 RPC 通信。DFS 复制依赖 RPC 进行通信。DFS 复制使用 RPC 终结点映射器(端口 135),并为 Windows Server 2008 R2 和 Windows Server 2008 随机分配范围为 49152 到 65535 的动态端口,或者为 Windows Server 2003 R2 分配范围为 1025 到 5000 的动态端口。
可使用 Dfsrdiag 命令行工具指定静态端口来代替动态端口。有关如何指定 RPC 终结点映射器的详细信息,请参阅 Microsoft 知识库 (http://go.microsoft.com/fwlink/?LinkId=73991) 中的 文章 154596。有关 Windows Server 2008 中的动态端口使用情况的详细信息,请参阅 Microsoft 知识库 (http://go.microsoft.com/fwlink/?LinkId=187092) 中的 文章 929851。
验证
解决根本问题后,此监视器应自动返回正常状态。
要测试 DFS 复制与 AD DS 进行通信的能力,请打开命令提示符窗口并键入以下命令:Dfsrdiag pollad /verbose。此命令应报告操作成功。如果没有,则表示与 AD DS 的通信存在问题。
DFS 复制事件 1202 (http://go.microsoft.com/fwlink/?LinkId=187116)
Target | Microsoft.Windows.FileServer.DFSR.Service | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Warning | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.2SingleEventLog2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.FileServer.DFSR.DCUnreachableMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSR.DCUnreachableMonitor_AlertMessageResourceID">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Warning"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1202</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1206</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>