Application Perf Mgmt (BAC / BSM) Support and News Forum
Showing results for 
Search instead for 
Do you mean 

Operations Manager HP OM Integration : contentmapping.xml

SOLVED
Go to Solution
Highlighted
Valued Contributor

Operations Manager HP OM Integration : contentmapping.xml

Can somebody explain ?

 

We integrateed HPOMW with BSM 9.12 and wan't created our own content packs. We read the Operations Manager i Extensibility Guide and found the section with the mapping files.

There is still some clarification needed regarding the contentmapping.xml File :

 

 <?xml version="1.0" encoding="UTF-8" ?>

- <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd">
- <!--
 CONFIGURE THE CIs THAT DEFINES THE CONTEXT FOR THE MAPPING 
  -->
- <Rules>
- <Rule name="Filter DBSPI SQL Server Service Elements">
- <Condition>
- <And>
- <Equals>
  <OMType />
  <Value>mssql_instance</Value>
  </Equals>
- <Exists>
- <DependencyCI relationType="hosted_on">
  <True />
  </DependencyCI>
  </Exists>
  </And>
  </Condition>
- <MapTo>
  <Context>DBSPIMSSQL</Context>
  </MapTo>
  </Rule>
  </Rules>
  </Mapping>
 
Can somebody explain what is a context here in terms of RTSM/uCMDB ? It is not a  Ci Type, but what then ?
 
SAme question here :
 
<?xml version="1.0" encoding="UTF-8" ?>
- <Mapping xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../schemas/mapping.xsd">
- <Rules Context="DBSPIMSSQL">
- <Rule name="Map DBSPI MSSQL Server Instance">
- <Condition>
- <Equals>
  <OMType />
  <Value>mssql_instance</Value>
  </Equals>
  </Condition>
- <MapTo>
- <CMDBType>
  <Value>sqlserver</Value>
  </CMDBType>
  </MapTo>
  </Rule>
 
What is sqlserver here ?
1 ACCEPTED SOLUTIONS
HPE Expert

Re: Operations Manager HP OM Integration : contentmapping.xml

If you decide to create your own toposync package you need to read "Populating the Run-time Service Model" (about 60 pages) in the OMi Extensibility guide. This should answer your questions.

4 REPLIES
HPE Expert

Re: Operations Manager HP OM Integration : contentmapping.xml

The first rule defines which context (some internal term) mssql_instance (element reported by SQL Server SPI) belongs to. The second rule defines the actual mapping between mssql_instance and sqlserver (CIT in RTSM representing MS SQL Server).

Valued Contributor

Re: Operations Manager HP OM Integration : contentmapping.xml

Thanks a lot !! If we decide to create our own Sync Packs, how do we know which context we have to define ?

Can we get this information from the RTSm DataModel  ?

HPE Expert

Re: Operations Manager HP OM Integration : contentmapping.xml

If you decide to create your own toposync package you need to read "Populating the Run-time Service Model" (about 60 pages) in the OMi Extensibility guide. This should answer your questions.

Valued Contributor

Re: Operations Manager HP OM Integration : contentmapping.xml

I already this. Rereading  it answered all my questions after going through the HPOprExc Example. Thanks !!