Remplir le groupe de réplicas de disponibilité SQL
Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaGroupDiscovery (Discovery)
Cette règle de détection remplit le groupe de réplicas de disponibilité.
Element properties:
Object Discovery Details:
Member Modules:
Source Code:
<Discovery ID="Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaGroupDiscovery" Target="SQLServer!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaGroup" Enabled="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="SQLServer!Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaGroup"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="SC!Microsoft.SystemCenter.GroupPopulator">
<RuleId>$MPElement$</RuleId>
<GroupInstanceId>$Target/Id$</GroupInstanceId>
<MembershipRules>
<MembershipRule>
<MonitoringClass>$MPElement[Name="Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplica"]$</MonitoringClass>
<RelationshipClass>$MPElement[Name="Microsoft.SQLServer.2012.AlwaysOn.AvailabilityReplicaGroupContainsAvailabilityReplica"]$</RelationshipClass>
</MembershipRule>
</MembershipRules>
</DataSource>
</Discovery>