Deduplication Volume Discovery

Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume.Discovery (Discovery)

Knowledge Base article:

Summary

This object discovers deduplicated volumes on servers running Windows Server 2012. This discovery rule queries the Data Deduplication WMI class MSFT_DedupVolume to discover volumes with deduplication enabled and properties such as the following:

Additional

MSFT_DedupVolume Class (http://go.microsoft.com/fwlink/?LinkId=255893)

Element properties:

TargetMicrosoft.Windows.FileServices.Service.Deduplication.6.2
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume.Discovery" Enabled="true" Target="Microsoft.Windows.FileServices.Service.Deduplication.6.2" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume">
<Property PropertyID="Volume"/>
<Property PropertyID="VolumeId"/>
<Property PropertyID="Capacity"/>
<Property PropertyID="Enabled"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.Windows.FileServices.Service.DeduplicationHostsDedupVolume"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\Microsoft\Windows\Deduplication</NameSpace>
<Query>SELECT VolumeId, Volume, Capacity, Enabled FROM MSFT_DedupVolume</Query>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume']/VolumeId$</Name>
<Value>$Data/Property[@Name='VolumeId']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume']/Volume$</Name>
<Value>$Data/Property[@Name='Volume']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume']/Capacity$</Name>
<Value>$Data/Property[@Name='Capacity']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='Microsoft.Windows.FileServices.Service.Deduplication.6.2.Volume']/Enabled$</Name>
<Value>$Data/Property[@Name='Enabled']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='System!System.Entity']/DisplayName$</Name>
<Value>$Data/Property[@Name='Volume']$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>