Vice Admiral
Vice Admiral
1515 views

Operations Manager HP OM Integration : contentmapping.xml

Jump to solution

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 ?
Labels (1)
0 Likes
1 Solution

Accepted Solutions
Micro Focus Expert
Micro Focus Expert

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.

View solution in original post

0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

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).

Vice Admiral
Vice Admiral

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  ?

0 Likes
Micro Focus Expert
Micro Focus Expert

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.

View solution in original post

0 Likes
Vice Admiral
Vice Admiral

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

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.