DFS-N: Ad Alanı Başlatma

Microsoft.Windows.FileServer.DFSN.6.3.RootTarget.ErrorOnRoot (UnitMonitor)

Bu nesne, ad alanı köklerinin başlatılmasını izler ve bir ad alanı kökü düzgün başlamıyorsa uyarı oluşturur.

Knowledge Base article:

Özet

Bu nesne, Sistem olay günlüğünde DfsSvc olayı 14534 bulunup bulunmadığına bakarak, ad alanı köklerinin başlatılmasını izler. Bu nesne olayı algılarsa, izleyicinin sistem durumunu Kritik olarak ayarlayarak ad alanının çevrimdışı olduğunu belirtir ve bir uyarıyı tetikler.

Nedenler

Ad alanı etki alanı tabanlı bir ad alanıysa, başlatılamamasının nedeni şunlardan biri olabilir:

Ad alanı tek başına bir ad alanıysa, DFS Namespace hizmetinin ad alanına ilişkin meta verileri sunucunun kayıt defterinde bulamaması halinde ad alanı başlatılamayabilir. Kayıt defterindeki bozulma nedeniyle böyle bir durum görülebilir.

Çözümler

DFS Ad Alanları hizmetini yeniden başlatma

Hizmeti yeniden başlatmak için Hizmetler ek bileşenini, Windows PowerShell Start-Service ve Stop-Service cmdlet öğelerini veya net stop ve net start gibi komut satırı araçlarını kullanın. Hizmeti, sc komutunu kullanarak uzaktan yeniden başlatmak için bir komut istemi penceresi açın ve aşağıdakileri yapın:

1.Hizmeti durdurmak için aşağıdaki komutu yazın; burada [sunucu adı] uzak sunucunun Evrensel Adlandırma Kuralı (UNC) yoludur:

sc [sunucu adı] stop dfs

2.Hizmetin Durduruldu durumunda olduğunu doğrulamak için aşağıdaki komutu yazın:

sc [sunucu adı] query dfs

3.Hizmeti yeniden başlatmak için aşağıdaki komutu yazın:

sc [sunucu adı] start dfs

Not: Bir hizmeti yeniden başlatabilmek için, etkilenen sunucuda Yerel Administrators grubunun üyesi olmanız gerekir.

Hizmeti yeniden başlatmak sorunu çözmezse, ad alanı sunucusu bir etki alanı denetleyicisi ile bağlantı kuramayabilir.

AD DS ile iletişimi sınama

AD DS ile iletişimi sınamak için dfsdiag /testdcs komutunu kullanın. Tüm etki alanı denetleyicilerinin sağlıklı sonuçlar rapor ettiğini doğrulayın.

Doğrulama

Bu sorunun artık ortadan kalktığını doğrulamak için aşağıdaki yordamı kullanın:

1. Bir komut istemi penceresi açın ve sonra dfsutil root\\[ad alanı] komutunu kullanarak (Windows Server 2003'te dfsutil root\\[ad alanı]/view komutunu kullanın) ad alanının durumunu kontrol edin.

2. Kökün durumunun Tamam olduğunu ve tüm ad alanı sunucularının durumlarının Çevrimiçi olduğunu onaylayın.

Ek

DFS Ad Alanları Olayı 14534 (http://go.microsoft.com/fwlink/?LinkId=186538)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.6.3.RootTarget
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS-N: Ad Alanı Kökü Başlatılamadı
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.FileServer.DFSN.6.3.RootTarget.ErrorOnRoot" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.RootTarget" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.FileServer.DFSN.6.3.RootTarget.ErrorOnRoot_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>System</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14534</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="DFSNLib!Microsoft.Windows.FileServer.DFSN.RootTarget"]/RootName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>System</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14552</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="DFSNLib!Microsoft.Windows.FileServer.DFSN.RootTarget"]/RootName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">LoggingComputer</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>