VMware Virtual Machine Instance and Windows Server Class Relationship Query

AdamJ
Tera Contributor

Hello,

 

I’m looking for some clarification on the behaviour of 2 configuration items that are typical in our CMDB.

We are utilising IP discovery on our server estate, as well as VCenter discovery. This gives us 2 independent records that represent the same CI and look like the below:

 

Server1 – Windows Server class

Server1.domain.com – Vmware Virtual Machine Instance class

 

Once both records are created independently through their respective methods a “instantiates: Instantiated by” relationship is created between the 2 records.

After reviewing the both attributes for both CI’s, the only one that I can see that would be leveraged to create this relationship is the host name on the VMware record that looks like the below:

 

Name: Server1.domain.com

Host name: Server1

 

I’m struggling to find a firm answer on whether this is in fact the method by which the 2 records are being related. Any clarification would be helpful.

Thanks,

2 REPLIES 2

SK Chand Basha
Tera Sage

Hi @AdamJ 

 

The Windows Server CI will have a relationship indicating that it "runs on" the VMware Virtual Machine Instance CI.

 

This relationship is usually represented by the "Runs on::Runs" dependency.

 

NickLintgenFV
Tera Contributor

I don't have a firm answer but was under the impression the method used was searching for a server CI with a serial number (removing the "VMware-" portion) that matches the correlation id of the VMware Virtual Machine Instance that gets discovered when the vCenter is discovered.

 

eg.

cmdb_ci_vmware_instance.correlation_id = replace(cmdb_ci_server.serial_number, "VMware-", "")