Réplication MSSQL sur Windows : Remplir le groupe de réplication SQL Server sur Windows

Microsoft.SQLServer.Replication.Windows.Group.Discovery (Discovery)

Cette règle de découverte remplit le groupe de réplication SQL Server sur Windows avec tous les composants de réplication SQL Server sur Windows.

Knowledge Base article:

Récapitulatif

Cette règle de découverte remplit le groupe de réplication SQL Server sur Windows avec tous les composants de réplication SQL Server sur Windows.

Paramètres remplaçables

Nom

Description

Valeur par défaut

Activé

Active ou désactive le flux de travail.

Oui

Element properties:

TargetMicrosoft.SQLServer.Replication.Windows.Group
EnabledTrue
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.SystemCenter.GroupPopulator Default

Source Code:

<Discovery ID="Microsoft.SQLServer.Replication.Windows.Group.Discovery" Target="Microsoft.SQLServer.Replication.Windows.Group" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.Replication.Windows.Group"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="SQLReplWD!Microsoft.SQLServer.Replication.Windows.Distributor"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.Replication.Windows.GroupContainsDistributor"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="SQLReplWD!Microsoft.SQLServer.Replication.Windows.Publisher"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.Replication.Windows.GroupContainsPublisher"]$</RelationshipClass>
</MembershipRule>
<MembershipRule>
<MonitoringClass>$MPElement[Name="SQLReplWD!Microsoft.SQLServer.Replication.Windows.Subscriber"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.Replication.Windows.GroupContainsSubscriber"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>