BizTalk Host Instance Discovery

Microsoft.BizTalk.Library.HostInstance.Discovery (Discovery)

This is the discovery of the BizTalk Host Instance.

Knowledge Base article:

Summary

This is the discovery of the BizTalk Host Instance.

Element properties:

TargetMicrosoft.BizTalk.Library.Host
EnabledTrue
Frequency18060
RemotableFalse

Object Discovery Details:

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

Member Modules:

ID Module Type TypeId RunAs 
Microsoft.BizTalk.Library.HostInstance.DataSource DataSource Microsoft.BizTalk.Library.WmiProviderWithClassSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.BizTalk.Library.HostInstance.Discovery" Target="BZLib!Microsoft.BizTalk.Library.Host" Enabled="true" ConfirmDelivery="false" Priority="High" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="BZLib!Microsoft.BizTalk.Library.HostInstance">
<Property PropertyID="ServerName"/>
<Property PropertyID="MgmtDbServerOverride"/>
<Property PropertyID="MgmtDbNameOverride"/>
<Property PropertyID="IsMapped"/>
<Property PropertyID="HostName"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.Host" PropertyID="Name"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.Host" PropertyID="MgmtDbServerOverride"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.Host" PropertyID="MgmtDbNameOverride"/>
<Property TypeID="Windows!Microsoft.Windows.Computer" PropertyID="PrincipalName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLocalApplication"/>
</DiscoveryTypes>
<DataSource ID="Microsoft.BizTalk.Library.HostInstance.DataSource" TypeID="BZLib!Microsoft.BizTalk.Library.WmiProviderWithClassSnapshotDataMapper">
<NameSpace>\\$Target/Property[Type="BZLib!Microsoft.BizTalk.Library.Host"]/RunningServer$\ROOT\MicrosoftBizTalkServer</NameSpace>
<Query>SELECT RunningServer , MgmtDbServerOverride,MgmtDbNameOverride, HostName FROM MSBTS_HostInstance where RunningServer = '$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$'</Query>
<Frequency>18060</Frequency>
<ClassId>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]/ServerName$</Name>
<Value>$Data/Property[@Name='RunningServer']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]/MgmtDbServerOverride$</Name>
<Value>$Data/Property[@Name='MgmtDbServerOverride']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]/MgmtDbNameOverride$</Name>
<Value>$Data/Property[@Name='MgmtDbNameOverride']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]/IsMapped$</Name>
<Value>true</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.HostInstance"]/HostName$</Name>
<Value>$Data/Property[@Name='HostName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.Host"]/Name$</Name>
<Value>$Data/Property[@Name='HostName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.Host"]/MgmtDbServerOverride$</Name>
<Value>$Data/Property[@Name='MgmtDbServerOverride']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.Host"]/MgmtDbNameOverride$</Name>
<Value>$Data/Property[@Name='MgmtDbNameOverride']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="BZLib!Microsoft.BizTalk.Library.Host"]/RunningServer$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>