VMWare vCenter Discovery vs OS Discovery

julianw
ServiceNow Employee
ServiceNow Employee

Hello all,

I have a question about vCenter discovery vs "standard" OS discovery.

Actually once we discover vCenter, we have the whole topology of virtualization machines. But regarding VMs, we still did not discover them directly through OS using standard protocols such as WMI and SSH. So if we want a completeness of discovery with all attributes of servers completed as well as virtualization topology, we should run both discoveries.

Is there a way to identify by a report which VM are only discovered through vCenter and not through OS?

Regards,

Julian

1 ACCEPTED SOLUTION

Hi Julian,


It is possible. An OOB Business rule will check When ever OS based discovery updates in Server tables. if there is one Server discovered as a Windows and through vCenter also you discovered it as VM instance in cmdb_ci_vmware_instance table then the Business rule will create a relationship between the Windows server and the VM instance. The relationship will look like below.



find_real_file.png


So VM instances which are not having this relationship then those servers are not discovered it by OS. You could take the report in the relationship table. I will just give you an idea about the condition, parent class will be   cmdb_ci_vmware_instance and relationship does not have instantiated by.



Regards,


Vivek



Based on the impact hit like, helpful or correct


View solution in original post

5 REPLIES 5

VivekSattanatha
Mega Sage
Mega Sage

Hi Julian,



Usually, when you discover VM's from vCenter it won't update the records in Windows/ Linux server table. The records will be in cmdb_ci_vmware_instance table. So all the records in that tables are discovered it from vCenter only. Probably you should take report in that table.



Regards,


Vivek



Based on the impact hit like, helpful or correct


Hi Vivek,



Thank you for your quick reply!



Yeah, actually that's what I though I would do if I can't find better way. I was wondering if we could have a report listing directly the VMs that are not discovered other than with vCenter discovery.



Regards,


Julian


Hi Julian,


It is possible. An OOB Business rule will check When ever OS based discovery updates in Server tables. if there is one Server discovered as a Windows and through vCenter also you discovered it as VM instance in cmdb_ci_vmware_instance table then the Business rule will create a relationship between the Windows server and the VM instance. The relationship will look like below.



find_real_file.png


So VM instances which are not having this relationship then those servers are not discovered it by OS. You could take the report in the relationship table. I will just give you an idea about the condition, parent class will be   cmdb_ci_vmware_instance and relationship does not have instantiated by.



Regards,


Vivek



Based on the impact hit like, helpful or correct


Thank you Vivek, I'll give it a try!



Regards,



julian