Tjänsten iSCSI-mål på Windows Server 2012 R2

Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.Discovery (Discovery)

Identifierar en instans av iSCSI-målklassen när funktionen iSCSI-mål är installerad.

Knowledge Base article:

Sammanfattning

Denna identifieringsregel identifierar en instans av tjänsten iSCSI-mål där den är installerad. Regeln är riktad till filtjänstrollen för Windows Server 2012 R2 och kommer endast att köras på servrar som har filtjänstrollen aktiverad och identifierad. iSCSI-mål levereras som en del av versionen Windows Server 2012 R2.

Element properties:

TargetMicrosoft.Windows.FileServices.6.3.FileServer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

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

Source Code:

<Discovery ID="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3.Discovery" Enabled="true" Target="FileServices63!Microsoft.Windows.FileServices.6.3.FileServer" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3"/>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$\ROOT\CIMV2</NameSpace>
<Query>SELECT ID, Name FROM Win32_ServerFeature WHERE ID = '435'</Query>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.FileServices.Service.iSCSITarget.6.3"]$</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.iSCSITarget.6.3']/IQN$</Name>
<Value>iqn.1991-05.com.microsoft:$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name='System!System.Entity']/DisplayName$</Name>
<Value>$Target/Property[Type='System!System.Entity']/DisplayName$ (iSCSI Target)</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>