Veeam Stage 2 - Datastore discovery

Veeam.Virt.Extensions.VMware.Topology.Discovery.Datastore (Discovery)

Veeam VMware Topology Discovery

Knowledge Base article:

Summary

This rule discovers VMware vSphere objects into Ops Mgr. It is event-driven from the Veeam Collector and the schedule cannot be modified by overrides on this rule. To modify discovery intervals and updates to the topology, change Settings in the Veeam Virtualization Extensions UI as below:

For more details see the Veeam MP for VMware Documentation.

Configuration

The object discovery is enabled by default. You can override the following parameters:

Name

Default Value

Description

ExcludeDatastoresByDatastoreName

Specifies names for datastores that are excluded from the VMware topology discovery.

Notes:

1. To separate datastore names, use commas.

2. Applied overrides will take place only after the VMware topology is re-discovered. VMware topology re-discovery is performed according to the specified schedule. However, you can force the discovery process using the Rebuild Topology operation in the Veeam Virtualization Extensions UI (for details, see Veeam Collectors Tab).

Note: If you have configured several overrides of the same type, select the Enforced check box for an override that should have priority over all other overrides.

Element properties:

TargetVeeam.Virt.Extensions.VMware.VMHOSTDATASTORE.Container
EnabledTrue
RemotableFalse

Object Discovery Details:

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

Member Modules:

ID Module Type TypeId RunAs 
eventDiscovery DataSource Veeam.Virt.Extensions.VMware.VMwareTopology.DiscoveryModule.Datastore Default

Source Code:

<Discovery ID="Veeam.Virt.Extensions.VMware.Topology.Discovery.Datastore" Enabled="true" Target="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMHOSTDATASTORE.Container" ConfirmDelivery="true" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE">
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE.Base" PropertyID="id"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="diskSize"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="fsType"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="custom1"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="custom2"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="custom3"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="storagePod"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="sdrs"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="sioc"/>
<Property TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDATASTORE" PropertyID="folderName"/>
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMDSCLUSTERContainsVMDATASTORE"/>
</DiscoveryTypes>
<DataSource ID="eventDiscovery" TypeID="Veeam.Virt.Extensions.VMware.VMwareTopology.DiscoveryModule.Datastore">
<Arguments>$MPElement$ $Target/Id$ $Target/Property[Type="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMHOSTDATASTORE.Container"]/nworksCollector$ $Target/Property[Type="VeeamVEVMwareLib!Veeam.Virt.Extensions.VMware.VMHOSTDATASTORE.Container"]/id$</Arguments>
<TimeoutSeconds>1200</TimeoutSeconds>
<ComputerName>.</ComputerName>
<LogName>Veeam Collector</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">70</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[9]</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>Stage2</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
<ExcludeDatastoresByDatastoreName/>
<SCOMPrincipalNamePriority>false</SCOMPrincipalNamePriority>
</DataSource>
</Discovery>