发现 SQL Server 2008 数据库引擎(Windows Server)

Microsoft.SQLServer.2008.DBEngineDiscoveryRule.Server (Discovery)

此对象发现可发现在 Windows 服务器上运行的 SQL Server 2008 数据库引擎的所有实例。默认情况下,将发现并监视所有实例。你可以使用“排除列表”替代该发现,以便排除一个或多个不需要发现的实例。此列表以逗号分隔实例列表,或以 * 通配符来排除所有实例。

Knowledge Base article:

摘要

此对象发现可发现在 Windows 服务器上运行的 SQL Server 2008 数据库引擎的所有实例。默认情况下,将发现并监视所有实例。你可以使用“排除列表”替代该发现,以便排除一个或多个不需要发现的实例。此列表以逗号分隔实例列表,或以 * 通配符来排除所有实例。

配置

排除列表: 以逗号分隔的、应从发现中排除的实例的列表。你可以使用通配符 * 排除所有实例。

可替代参数

名称

说明

默认值

已启用

启用或禁用工作流。

排除列表

以逗号分隔的、应从发现中排除的实例的列表。你可以使用通配符 * 以排除所有实例。

 

间隔(秒)

将运行发现的轮询间隔(秒)。

14400

同步时间

要执行初始发现的时间。

 

超时(秒)

指定允许工作流在被关闭并标记为失败之前运行的时间。

300

Element properties:

TargetMicrosoft.SQLServer.2008.Seed
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.SQLServer.2008.DBEngine
    • InstanceName
    • ConnectionString
    • ServiceName
    • ServiceClusterName
    • FullTextSearchServiceName
    • FullTextSearchServiceClusterName
    • Version
    • Edition
    • AuthenticationMode
    • AgentName
    • AgentClusterName
    • MasterDatabaseLocation
    • MasterDatabaseLogLocation
    • ErrorLogLocation
    • Language
    • ServicePackVersion
    • AuditLevel
    • InstallPath
    • ToolsPath
    • EnableErrorReporting
    • ReplicationWorkingDirectory
    • ReplicationDistributionDatabase
    • PerformanceCounterObject
    • Cluster
    • Account

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2008.DBEngineDiscovery Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2008.DBEngineDiscoveryRule.Server" Enabled="true" Target="Microsoft.SQLServer.2008.Seed">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2008.DBEngine">
<Property TypeID="SQL!Microsoft.SQLServer.ServerRole" PropertyID="InstanceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ConnectionString"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServiceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServiceClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="FullTextSearchServiceName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="FullTextSearchServiceClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Version"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Edition"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AuthenticationMode"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AgentName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AgentClusterName"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="MasterDatabaseLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="MasterDatabaseLogLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ErrorLogLocation"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Language"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ServicePackVersion"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="AuditLevel"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="InstallPath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ToolsPath"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="EnableErrorReporting"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ReplicationWorkingDirectory"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="ReplicationDistributionDatabase"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="PerformanceCounterObject"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Cluster"/>
<Property TypeID="SQL!Microsoft.SQLServer.DBEngine" PropertyID="Account"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2008.DBEngineDiscovery">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerNETBIOSName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</ComputerNETBIOSName>
<ExcludeList/>
<IsVirtualNode>$Target/Host/Property[Type="Windows!Microsoft.Windows.Server.Computer"]/IsVirtualNode$</IsVirtualNode>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</Discovery>