Host Bus Adapter Discovery

Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter.Discovery (Discovery)

Knowledge Base article:

Summary

This discovers instances of Host Bus Adapter managed by File Server (Windows).

Element properties:

TargetMicrosoft.SystemCenter.VirtualMachineManager.Storage.2016.FileServer.Windows
EnabledTrue
Frequency86400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
  • Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter
    • PrincipalName
    • DisplayName
    • DeviceID
    • AdapterType
    • Manufacturer
    • PerfmonInstance
    • DriverName
    • DriverVersion
    • FirmwareVersion
    • HardwareVersion
    • HBAStatus
    • HBASymbolicName
    • MfgDomain
    • Model
    • ModelDescription
    • NumberOfPorts
    • OptionROMVersion
    • RedundantFirmwareVersion
    • RedundantOptionROMVersion
    • SerialNumber
    • VendorSpecificID
    • FileServerName
    • Active
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.WmiProviderWithClassAndRelationshipSnapshotDataMapper Default

Source Code:

<Discovery ID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter.Discovery" Target="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.FileServer.Windows" Enabled="true" Remotable="true">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter">
<Property TypeID="Windows!Microsoft.Windows.Computer" PropertyID="PrincipalName"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property TypeID="Windows!Microsoft.Windows.ComputerNetworkAdapter" PropertyID="DeviceID"/>
<Property TypeID="Windows!Microsoft.Windows.ComputerNetworkAdapter" PropertyID="AdapterType"/>
<Property TypeID="Windows!Microsoft.Windows.ComputerNetworkAdapter" PropertyID="Manufacturer"/>
<Property TypeID="Windows!Microsoft.Windows.ComputerNetworkAdapter" PropertyID="PerfmonInstance"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="DriverName"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="DriverVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="FirmwareVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="HardwareVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="HBAStatus"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="HBASymbolicName"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="MfgDomain"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="Model"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="ModelDescription"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="NumberOfPorts"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="OptionROMVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="RedundantFirmwareVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="RedundantOptionROMVersion"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="SerialNumber"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="VendorSpecificID"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="FileServerName"/>
<Property TypeID="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter" PropertyID="Active"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.FileServerContainsHostBusAdapter"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Windows!Microsoft.Windows.WmiProviderWithClassAndRelationshipSnapshotDataMapper">
<NameSpace>\\$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$\root\WMI</NameSpace>
<Query>Select DriverName, DriverVersion, FirmwareVersion, HardwareVersion, HBAStatus, HBASymbolicName, InstanceName, Manufacturer, MfgDomain, Model, ModelDescription, NumberOfPorts, OptionROMVersion, RedundantFirmwareVersion, RedundantOptionROMVersion, SerialNumber, UniqueAdapterId, VendorSpecificID, Active from MS_SM_AdapterInformationQuery</Query>
<Frequency>86400</Frequency>
<ClassId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]$</ClassId>
<ClassInstanceSettings>
<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="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='Model']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/DeviceID$</Name>
<Value>$Data/Property[@Name='UniqueAdapterId']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/AdapterType$</Name>
<Value>Host Bus Adapter</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/Manufacturer$</Name>
<Value>$Data/Property[@Name='Manufacturer']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/PerfmonInstance$</Name>
<Value>$Data/Property[@Name='InstanceName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/DriverName$</Name>
<Value>$Data/Property[@Name='DriverName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/DriverVersion$</Name>
<Value>$Data/Property[@Name='DriverVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/FirmwareVersion$</Name>
<Value>$Data/Property[@Name='FirmwareVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/HardwareVersion$</Name>
<Value>$Data/Property[@Name='HardwareVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/HBAStatus$</Name>
<Value>$Data/Property[@Name='HBAStatus']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/HBASymbolicName$</Name>
<Value>$Data/Property[@Name='HBASymbolicName']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/MfgDomain$</Name>
<Value>$Data/Property[@Name='MfgDomain']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/Model$</Name>
<Value>$Data/Property[@Name='Model']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/ModelDescription$</Name>
<Value>$Data/Property[@Name='ModelDescription']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/NumberOfPorts$</Name>
<Value>$Data/Property[@Name='NumberOfPorts']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/OptionROMVersion$</Name>
<Value>$Data/Property[@Name='OptionROMVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/RedundantFirmwareVersion$</Name>
<Value>$Data/Property[@Name='RedundantFirmwareVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/RedundantOptionROMVersion$</Name>
<Value>$Data/Property[@Name='RedundantOptionROMVersion']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/SerialNumber$</Name>
<Value>$Data/Property[@Name='SerialNumber']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/VendorSpecificID$</Name>
<Value>$Data/Property[@Name='VendorSpecificID']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/FileServerName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]/Active$</Name>
<Value>$Data/Property[@Name='Active']$</Value>
</Setting>
</Settings>
</ClassInstanceSettings>
<RelationshipId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.FileServerContainsHostBusAdapter"]$</RelationshipId>
<SourceTypeId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.Storage.2016.FileServer.Windows"]$</SourceTypeId>
<SourceRoleSettings>
<Settings>
<Setting>
<Name>$MPElement[Name='SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileServer']/ID$</Name>
<Value>$Target/Property[Type="SL!Microsoft.SystemCenter.VirtualMachineManager.Storage.FileServer"]/ID$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
</Settings>
</SourceRoleSettings>
<TargetTypeId>$MPElement[Name="Microsoft.SystemCenter.VirtualMachineManager.2016.FileServer.HostBusAdapter"]$</TargetTypeId>
<TargetRoleSettings>
<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="System!System.Entity"]/DisplayName$</Name>
<Value>$Data/Property[@Name='Model']$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.ComputerNetworkAdapter"]/DeviceID$</Name>
<Value>$Data/Property[@Name='UniqueAdapterId']$</Value>
</Setting>
</Settings>
</TargetRoleSettings>
</DataSource>
</Discovery>