BizTalk Server Role Discovery

Microsoft.BizTalk.2006.BizTalkServer.ServerRole.Discovery (Discovery)

This is the discovery of the BizTalk Server Role.

Knowledge Base article:

Summary

This is the discovery of the BizTalk Server Role.

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency43200
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.BizTalk.2006.BizTalkServer.ServerRole
    • ServerRole
    • ComputerName
    • ProductEdition
    • ProductLanguage
    • ProductName
    • ProductVersion
    • InstallDate
    • InstallPath
    • InstallTime
    • BizTalkAdminNTGroup
    • BizTalkGroupName
    • MgmtDBName
    • MgmtDBServer
    • SQLScriptPath
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
Microsoft.BizTalk.2006.BizTalkServer.ServerRole.DataSource DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.BizTalk.2006.BizTalkServer.ServerRole.Discovery" Target="Windows!Microsoft.Windows.Server.Computer" Enabled="true" ConfirmDelivery="false" Priority="Normal" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="BZLib!Microsoft.BizTalk.2006.BizTalkServer.ServerRole">
<Property PropertyID="ServerRole"/>
<Property PropertyID="ComputerName"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="ProductEdition"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="ProductLanguage"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="ProductName"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="ProductVersion"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="InstallDate"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="InstallPath"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="InstallTime"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="BizTalkAdminNTGroup"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="BizTalkGroupName"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="MgmtDBName"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="MgmtDBServer"/>
<Property TypeID="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass" PropertyID="SQLScriptPath"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLocalApplication"/>
</DiscoveryTypes>
<DataSource ID="Microsoft.BizTalk.2006.BizTalkServer.ServerRole.DataSource" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>BizTalkServer2006Exists</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>BizTalkServer2006CompleteInstall</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\BizTalkAdminNTGroup</Path>
<PathType>1</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ProductEdition</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\ProductEdition</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ProductLanguage</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\ProductLanguage</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ProductName</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\ProductName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ProductVersion</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\ProductVersion</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>InstallDate</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\InstallDate</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>InstallPath</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\InstallPath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>InstallTime</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\InstallTime</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>BizTalkAdminNTGroup</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\BizTalkAdminNTGroup</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>BizTalkGroupName</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\BizTalkGroupName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>MgmtDBName</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\MgmtDBName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>MgmtDBServer</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\MgmtDBServer</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SQLScriptPath</AttributeName>
<Path>SOFTWARE\Microsoft\BizTalk Server\3.0\Administration\SQLScriptPath</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>43200</Frequency>
<ClassId>$MPElement[Name="BZLib!Microsoft.BizTalk.2006.BizTalkServer.ServerRole"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.2006.BizTalkServer.ServerRole"]/ServerRole$</Name>
<Value>True</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.2006.BizTalkServer.ServerRole"]/ComputerName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/ProductEdition$</Name>
<Value>$Data/Values/ProductEdition$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/ProductLanguage$</Name>
<Value>$Data/Values/ProductLanguage$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/ProductName$</Name>
<Value>$Data/Values/ProductName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/ProductVersion$</Name>
<Value>$Data/Values/ProductVersion$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/InstallDate$</Name>
<Value>$Data/Values/InstallDate$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/InstallPath$</Name>
<Value>$Data/Values/InstallPath$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/InstallTime$</Name>
<Value>$Data/Values/InstallTime$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/BizTalkAdminNTGroup$</Name>
<Value>$Data/Values/BizTalkAdminNTGroup$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/BizTalkGroupName$</Name>
<Value>$Data/Values/BizTalkGroupName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/MgmtDBName$</Name>
<Value>$Data/Values/MgmtDBName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/MgmtDBServer$</Name>
<Value>$Data/Values/MgmtDBServer$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="BZLib!Microsoft.BizTalk.Library.BizTalkServer.BaseClass"]/SQLScriptPath$</Name>
<Value>$Data/Values/SQLScriptPath$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/BizTalkServer2006Exists</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/BizTalkServer2006CompleteInstall</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/ProductVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>3.5.*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/ProductVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>3.6.*</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Values/ProductVersion</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>3.8.*</Pattern>
</RegExExpression>
</Expression>
</Or>
</Expression>
</And>
</Expression>
</DataSource>
</Discovery>