CMDB CI Relationship Type

Ramel
Mega Guru

Hi Community,

 

I am currently working on CMDB relationship and need to create a parent-child relationship between two Configuration Items (CIs). I am unsure about the best relationship type to use in this scenario. Could anyone provide guidance or best practices on which relationship type would be most appropriate for a parent-child CI relationship in the CMDB? Any advice or resources would be greatly appreciated.

 

Just to give a bit of a context on the requirement, we wanted to have a CI/s automatically added to impacted services related lists in CHG. in Risk Assessment, we added a question if it is impacting other application/services - if they answer Yes, there is a Business Rule that will run that will add the CIs in the affected services. We created the matrix in the cmdb_rel_ci, with the Parent CI and the Child CI [child CI will be the CIs added to the impacted services via BR], but we are just unsure of the correct relationship type to be used. Any advised?

 

Thank you in advance for your help.

Regards,

Ramel

4 REPLIES 4

Deepak Shaerma
Kilo Sage

Hi @Ramel 
Parent-Child Relationship: This is the most straightforward hierarchical relationship, where the parent CI hosts or contains the child CI. This is typical for hardware and software components (e.g., server (parent) and its databases (children)), network systems, and application architectures.
- If your CMDB or ITSM tool provides predefined relationship types, use them whenever appropriate. Common types include “HostedOn”, “RunsOn”, “Contains”, etc., which can often fit the parent-child model.
- For example, a server (parent) may “Host” a virtual machine (child), or an application (parent) “Contains” its modules (children).
- The chosen relationship should clearly indicate how the parent and child CIs affect each other, especially for critical ITSM processes.
- For instance, knowing that an application (child) is “HostedOn” a particular server (parent) helps in quickly identifying the impact of a server outage.
 Automate Where Possible: Use discovery and service mapping tools to automate the identification and mapping of relationships where feasible. This saves time and reduces errors.
Review Relationships Regularly: IT environments are dynamic, with frequent changes. Regular reviews of CI relationships are necessary to keep the CMDB accurate and useful.

Please Mark this Helpful and Accepted Solution. If this Helps you to understand. This will help both the community and me..
- Keep Learning ‌‌
Thanks & Regards 
Deepak Sharma 



HI @Deepak Shaerma 

Thank you for the response. I just want to check, what are the possible impact if we have not defined properly the relationship type? Or that does not really have an impact as that is just to show how the CIs are related looking into the dependency mapping view?

 

Thank you.

 

Regards,
Ramel

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Ramel ,

 

This is a very vast topic. Its not just about linking 2 dots. 

 

Refer this this must help you get started:

 

https://docs.servicenow.com/bundle/washingtondc-servicenow-platform/page/product/configuration-manag...

 

https://docs.servicenow.com/bundle/vancouver-servicenow-platform/page/product/configuration-manageme...

 

I hope this helps,...


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Ashok Sasidhara
Tera Sage
Tera Sage

You can check Suggested Relationship [cmdb_rel_type_suggest] table to find information on some relationship types which are typically suitable for each CI class. This can also be accessed by going to CI class manager, opening the required CI class and clicking on 'Suggested relationships' tab.

But use this only for guidance purpose. Any actual relationships which you create manually should be after gathering as much information as possible about how various CIs are configured and related in your environment. This would involve discussions with various stakeholders like configuration manager, service owners, application owners, CI class owners etc.