MSSQL 2014: individuazione pool di risorse motore di database

Microsoft.SQLServer.2014.Discovery.ResourcePool (Discovery)

Questa regola individua tutti i pool di risorse per un'istanza specifica del motore di database di SQL Server 2014.

Knowledge Base article:

Riepilogo

Questa regola individua tutti i pool di risorse per un'istanza specifica del motore di database di SQL Server 2014.

Parametri di cui è possibile eseguire l'override

Nome

Descrizione

Valore predefinito

Abilitato

Abilita o disabilita il flusso di lavoro.

Intervallo (secondi)

Intervallo di tempo ricorrente in secondi in cui eseguire il flusso di lavoro.

14400

Ora di sincronizzazione

Ora di sincronizzazione specificata usando il formato a 24 ore. Può essere omessa.

14400

Timeout (secondi)

Specifica il tempo di esecuzione consentito per il flusso di lavoro prima che venga chiuso e contrassegnato come non riuscito.

 

Timeout (seconds)

Specifies the time the workflow is allowed to run before being closed and marked as failed.

300

Element properties:

TargetMicrosoft.SQLServer.2014.Database
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.SQLServer.2014.DataSource.ResourcePool Default

Source Code:

<Discovery ID="Microsoft.SQLServer.2014.Discovery.ResourcePool" Enabled="true" Target="Microsoft.SQLServer.2014.Database">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.InternalPool">
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.DefaultPool">
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
<DiscoveryClass TypeID="Microsoft.SQLServer.2014.UserDefinedPool">
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="PoolID"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="Name"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="CapCpuPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MinMemoryPercent"/>
<Property TypeID="Microsoft.SQLServer.2014.ResourcePool" PropertyID="MaxMemoryPercent"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.DataSource.ResourcePool">
<IntervalSeconds>14400</IntervalSeconds>
<SyncTime/>
<ComputerID>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<SQLInstanceName>$Target/Host/Property[Type="Microsoft.SQLServer.2014.ServerRole"]/InstanceName$</SQLInstanceName>
<TimeoutSeconds>300</TimeoutSeconds>
<OnlyInMemoryOLTPPools>true</OnlyInMemoryOLTPPools>
</DataSource>
</Discovery>