DFS-N: Yinelenen DFS Klasörleri

Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule (Rule)

Bu nesne yinelenen DFS klasörlerini (bağlantıları) izler.

Knowledge Base article:

Özet

Bu kural yinelenen DFS klasörlerini (bağlantıları) izler. Bunun için, Olay Görüntüleyicisi'nin Sistem günlüğünde DfsSvc olayı 14547 bulunup bulunmadığına bakar.

Nedenler

Bir betik, aynı DFS klasörünü, etki alanı tabanlı bir ad alanında (Windows Server 2008 modu) yaklaşık olarak aynı zamanda farklı ad alanı sunucularında oluşturmayı denerse, DFS Namespace Hizmeti aynı ada sahip iki klasör oluşturabilir.

Çözümler

Yinelenen klasörleri kaldırabilmek için, ad alanının var olduğu etki alanında Domain Admins grubunun üyesi olmanız gerekir. Yinelenen klasörleri kaldırmak için, bkz. DFS Ad Alanları ile İlgili SSS (http://go.microsoft.com/fwlink/?LinkId=171023).

Ek

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

Element properties:

TargetMicrosoft.Windows.FileServer.DFSN.6.3.RoleService
CategoryCustom
EnabledTrue
Event_ID14547
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
DFS-N: Yinelenen DFS Klasörleri
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
Alert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule" Enabled="true" Target="Microsoft.Windows.FileServer.DFSN.6.3.RoleService" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Custom</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">14547</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>DfsSvc</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.FileServer.DFSN.6.3.DuplicateLinksAlertRule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/Channel$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/EventDescription$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[3]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[4]$</SuppressionValue>
</Suppression>
<Custom1/>
<Custom2/>
<Custom3/>
<Custom4/>
<Custom5/>
<Custom6/>
<Custom7/>
<Custom8/>
<Custom9/>
<Custom10/>
</WriteAction>
</WriteActions>
</Rule>