Ten obiekt monitoruje inicjowanie katalogów głównych obszaru nazw i generuje alert w przypadku nieprawidłowej inicjowania.
Ten obiekt monitoruje inicjowanie katalogów głównych obszaru nazw przez sprawdzanie obecności zdarzenia 14534 usługi DfsSvc w dzienniku zdarzeń System. Jeśli obiekt wykryje to zdarzenie, ustawia stan kondycji monitora Krytyczny, co wskazuje, że obszar nazw jest odłączony, i wywołuje alert.
Jeśli obszar nazw jest oparty na domenie, jego inicjowanie mogło nie udać się z następujących powodów:
Problemy z łącznością sieciową uniemożliwiają serwerowi obszaru nazw kontakt z kontrolerem domeny.
Zmiany w obszarze nazw systemu plików DFS zostały wprowadzone bezpośrednio w Usługach domenowych Active Directory (AD DS) zamiast za pośrednictwem przystawki Zarządzanie systemem plików DFS lub narzędzi wiersza polecenia.
Jeśli obszar nazw jest autonomiczny, jego inicjowanie mogło nie udać się, gdy usługa Obszar nazw systemu plików DFS nie mogła znaleźć metadanych obszaru nazw w rejestrze serwera. Może tak się stać z powodu uszkodzenia rejestru.
Uruchom ponownie usługę Obszary nazw systemu plików DFS
Do uruchomienia ponownie tej usługi użyj przystawki Usługi, poleceń cmdlet środowiska Windows PowerShell Start-Service i Stop-Service albo poleceń net stop i net start. Aby uruchomić ponownie usługę zdalnie przy użyciu polecenia sc, otwórz okno wiersza polecenia, a następnie:
1. Aby zatrzymać usługę, wpisz następujące polecenie, gdzie [nazwa_serwera] to ścieżka do serwera zdalnego w formacie Universal Naming Convention (UNC):
sc [nazwa_serwera] stop dfs
2. Aby sprawdzić, że stan usługi to ZATRZYMANO, wpisz następujące polecenie:
sc [nazwa_serwera] query dfs
3. Aby uruchomić ponownie usługę, wpisz następujące polecenie:
sc [nazwa_serwera] start dfs
Uwaga: Aby uruchomić ponownie usługę, musisz należeć do lokalnej grupy Administratorzy na danym serwerze.
Jeśli ponowne uruchomienie usługi nie rozwiąże problemu, serwer obszaru nazw może nie móc skontaktować się z kontrolerem domeny.
Przetestuj komunikację z usługami AD DS
Do przetestowania usług AD DS użyj polecenia dfsdiag /testdcs. Sprawdź, czy kondycja wszystkich kontrolerów domeny wskazuje stan prawidłowy.
Weryfikacja
Aby sprawdzić, czy problem już nie istnieje, użyj następującej procedury:
1. Otwórz okno wiersza polecenia, a następnie przy użyciu polecenia dfsutil root\\[obszar_nazw] (w systemie Windows Server 2003 użyj polecenia dfsutil root\\[obszar_nazw]/view) sprawdź stan obszaru nazw.
2. Upewnij się, że stan katalogu głównego to OK, a wszystkie serwery obszaru nazw mają stan Online.
Zdarzenie 14534 usługi Obszary nazw systemu plików DFS (http://go.microsoft.com/fwlink/?LinkId=186538)
Target | Microsoft.Windows.FileServer.DFSN.6.3.RootTarget | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
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.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>