CMDB - Dependendent Relationships Override - not working as expected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2024 01:27 AM
Hi Community,
I´m working on several ETLs to populate Databases data into CMDB. In this case I´m trying to create the next structure:
cmdb_ci_mssql_instance ==> Runs on ==> cmdb_ci_win_server
cmdb_ci_mssql_instance ==> Contains ==> cmdb_ci_mssql_database
As I can see is the needed dependent relationships for these Database classes:
MSSQL Instance (cmdb_ci_mssql_instance) ==> runs on ==> hardware (in my case cmdb_ci_server)
MSSQL Database (cmdb_ci_mssql_database) <== contains <== MSSQL Instance:
Wich is the rules that override the parent class dependency relationship (cmdb_ci_appl ==> runs on ==> cmdb_ci_hardware).
When I try to import data with an Integration Hub ETL, I cannot import MSSQL Database data due to the error:
"In payload no relations defined for dependent class [cmdb_ci_db_mssql_database] that matches any containment/hosting rules: [cmdb_ci_appl >> Runs on >> cmdb_ci_hardware]."
When importing data, I have the next classes:
(As it can be seen on the above capture, cmdb_ci_mssql_database is dependent on cmdb_ci_mssql_instance)
And Relationships:
So from my concern, are the needed Dependant rules for this structure.
I can only import data if I add the next relationship:
cmdb_ci_mssql_database ==> Runs on ==> cmdb_ci_win_server
wich satisfy the parent dependent rule cmdb_ci_appl ==> Runs On ==> cmdb_ci_hardware.
Why I need to add this dependent relationship if the cmdb_ci_mssql_database has his own dependent rule?