VMware Virtual Machine Instance and Windows Server Class Relationship Query
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2024 06:39 AM
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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2024 11:09 PM - edited 10-11-2024 11:09 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2024 05:45 PM
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-", "")