The "Virtualized by::Virtualizes" relationship is not getting created between Virtual Machine (VM) and hosting server (ESX Server)Issue <!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } The "Virtualized by::Virtualizes" relationship is not getting created between Virtual Machine (VM) and hosting server (ESX Server)Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } ALL Resolution<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } We have two ways to resolve this issue:Solution 1:-During the VMWare Discovery, as a part of the flow, the VMs are discovered and the "Instantiates::Instantiated by" relationship is created between the VMWare Instance record and the Linux Server. The most important thing is once the relationship is established, the VM Instance's field - "Guest Reconciled" is updated to "True". - In the same VMWare Discovery, as a part of the flow, the ESX Hosts are discovered and the "Virtualized by::Virtualizes" relationship is created between ESX and the Linux Server only if the "Instantiates::Instantiated by" relationship is established between the VMWare Instance record and the Server CI. - Similarly when a Linux Server is discovered then the business rule "Virtual Computer Check" is triggered, which would create the"Instantiates::Instantiated by" relationship between the Server CI and VM Instance record. The most important thing is once the relationship is established, the Server CI's field - "Is Virtual" is updated to "True". Solution : - Set the "Is Virtual" flag to unchecked for the corresponding Linux Server CI, set the "Guest Reconciled" flag to unchecked for the original VM entry, and rerun the Discovery. Solution 2:- Initially, a VMWare discovery should create records for "cmdb_ci_linux_server" then when a Linux server is discovered, it will pass through the "Virtual Computer Check" business rule, and based on the serial number, correlation ID it will create the relation. * The logic for creating relations: - The "Virtualizes::Virtualized by" and "Instantiates::Instantiated by" relationships created from Linux Server and VM Instance to the Guest are created by the business rule "Virtual Computer Check". The guest machine needs to be discovered after the VMWare is discovered in order to trigger the business rule and create such relationships. * The "Virtual Computer Check" business rule: - Checks for the serial number on "cmdb_ci_vmware_instance", it tries to find a record with the field "correlation_id" which is a match for the guest device discovered. End business rule if not found. - Creates an "Instantiates::Instatiated by" relationship between server and virtual machine instance record, if no relationship already exists. - Searches for virtualization server via findVMWareByImage() call, where it looks for "Registered on::Has registered" relationship for the virtual machine instance and ESX Server. - Creates a relationship between server record and ESX Server, "Virtualized by::Virtualizes". Solution: - For the Linux Server CI records, remove the "serial number" and "IP address" fields and trigger discovery. - This time it should pass through the business rule and create a relationship.