Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Virtualized by::Virtualizes - CI Relationship

Chris Ray
Kilo Contributor

Hello! this is my first post to the Service Now Community so please let me know if I need to supply any additional information for you to help answer this question.

I'm trying to understand which way around the following relationship should be created:

Virtualized by::Virtualizes

I would like to add the above relationship between a VMware ESXi Host CI [cmdb_ci_esx_server] and the Server CI [cmdb_ci_server].

As an example say our VMWare ESXi host is called esx001 and the Windows server running as a VM on esx001 is called win001. Which CI is the parent and which is the child in the Virtualized by::Virtualizes relationship?

Is the relationship correct this way around?

Parent = [win001] :: Child = [esx001]

Virtualized by:: Virtualizes

Or is this way round the correct way?

Parent = [esx001] :: Child = [win001]

Virtualizes:: Virtualized by

I'm eventually aiming to end up with a relationship structure that matches this:

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/product/configuration-management/image/ClassVMWare.png

Thanks for your help in advance!

Regards,

Chris

3 REPLIES 3

sebastian_g_snc
ServiceNow Employee

I know, this is so confusing.
I will try to let 2 pictures speak below: I created 2 CIs "win001" (windows server) and "esx001" (virtualization server).

Here, I started by opening the win001 and adding a relationship to the esx001:

find_real_file.png

 

Then, I started from esx001 and added a relationship to win001:

find_real_file.png

 

Please also have a look into "suggested relationships" and the CI Class Manager's "relationship rules".

To be honest: it all still doesn't make 100% sense to me, but this is how I help myself each time.

Thanks for the screenshots, that helped alot. I take it is only necessary to create one of the relationships shown in your screenshots and not both?

This is wrong, Please check OOTB relationship created by Discovery for ref.