Upewnij się, że komputery komunikują się ze sobą nawzajem, sprawdzając łączność sieciową. Upewnij się, że ustawienia zapory sieciowej dla usługi Microsoft Distributed Transaction Coordinator (MS DTC) umożliwiają komunikację przez odpowiedni port.
Ustawienia zapory blokują komunikację sieciową usługi MSDTC.
W celu wykonania tych procedur musisz być członkiem grupy Administratorzy lub otrzymać odpowiednie uprawnienie.
Aby potwierdzić łączność sieciową:
Kliknij pozycję Start, a następnie kliknij pozycję Wiersz polecenia.
W wierszu polecenia użyj polecenia ping z nazwą komputera, aby potwierdzić, że komputery komunikują się przez sieć. Przykładowo aby potwierdzić, że serwer może komunikować się przez sieć z komputerem o nazwie ContosoWS2016, wpisz polecenie ping ContosoWS2016 i naciśnij klawisz ENTER.
Udane połączenie skutkuje zestawem odpowiedzi od drugiego komputera i statystykami polecenia ping.
Aby potwierdzić, że ustawienia zapory sieciowej usługi MS DTC umożliwiają komunikację sieciową przez odpowiedni port:
Kliknij pozycję Start, kliknij pozycję Panel sterowania, a następnie kliknij dwukrotnie pozycję Zapora systemu Windows.
Kliknij pozycję Zezwalaj programowi na dostęp przez Zaporę systemu Windows. Jeśli pojawi się okno dialogowe Kontrola konta użytkownika, potwierdź, że wyświetlana akcja jest pożądana, i kliknij przycisk Kontynuuj.
Na karcie Zaawansowane ustawienia zapory systemu Windows znajdź na liście pozycję Distributed Transaction Coordinator i upewnij się, że zaznaczono pole wyboru.
Target | Microsoft.MSDTC.10.0.Servers | ||
Category | EventCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
ScriptProble | DataSource | Microsoft.Windows.EventProvider | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectEvent | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishEventData | Default |
<Rule ID="Microsoft.MSDTC.10.0.Eventcollection.4358.4359" Enabled="onStandardMonitoring" Target="Microsoft.MSDTC.10.0.Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="ScriptProble" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(4358|4359)$</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(Microsoft-Windows-MSDTC|Microsoft-Windows-MSDTC Client)$</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.MSDTC.10.0.Eventcollection.4358.4359.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
</WriteActions>
</Rule>