Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Discovery for VMware vCenter

Discovery for VMware vCenter

Discovery can explore the VMware vCenter process running on a Windows or Linux host.

Supported vCenter versions

  • vCenter versions 6.5 and earlier
  • vSphere version 5.5
  • vCenter appliance version 6.5 and earlier
Note: If you are discovering SUSE Linux hosts for vCenter appliance version 6.0 and earlier, there are restrictions when using SSH. Please review VMWare documentation.

See VMWare vCenter Server data collected for a description of the VMware architecture and component relationships.

Discovering vCenter CIs

After classifying vCenter, Discovery launches the VMware - vCenter Datacenters probe, which in turn launches specific probes that return information about ESX machines, virtual machines, and other vCenter objects. The vmapp port probe is also configured to launch the VMware - vCenter Datacenters probe.

If you use a domain account to access vCenter, specify the domain with the user name in the credential record in one of the supported formats, such as Domain\UserName.
Attention: Windows credentials are not necessary for vCenter Discovery, when valid VMware credentials are used.
Note:

The VMware credentials must have the read-only role in vCenter.

Updating the CMDB with vCenter event collector

In addition to finding vCenter data through the standard discovery process, Discovery can also update the CMDB by detecting vCenter events through a MID Server extension called the vCenter event collector.

The event collector allows the CMDB to be updated with changes to virtual machines (VMs), in addition to the updates detected by Discovery. A change to a VM is sent as an event from the vCenter server to the vCenter event collector. When an event is received, the CMDB is updated accordingly. Full vCenter Discovery does not need to rerun. For some events, such as powered on and powered off events, Discovery does not need to run again at all. For most events, Discovery runs only on the necessary vCenter resource.

For instructions on configuring vCenter events, see Configure and run the vCenter event collector extension.

CIs removed from vCenter

When a vCenter CI, such as a virtual machine, is removed, the ServiceNow instance marks it as "stale" in the CMDB, using either of these procedures:
  • When Discovery runs, it creates an audit record in the CMDB Health Result [cmdb_health_result] table for the missing CI and marks the CI "stale".
  • If the instance is configured to collect vCenter events, the system can also create a "stale" audit record for the CI in the CMDB Health Result [cmdb_health_result] table from the VmRemovedEvent event, without having to run Discovery.
Note: When the Staleness setting is configured, the dependency view (BSM map) grays out stale CIs in its relationship diagram to indicate that they were removed from vCenter.
Figure 1. vCenter CI marked as "stale"
vCenter CI marked as "stale"

You have the option of creating a CMDB remediation rule to automatically execute a remediation workflow that can, for example, delete stale CIs. For more information on stale CIs, see CMDB Health Metrics.

vCenter Discovery on Windows host

Windows credentials are not necessary for vCenter Discovery, when valid VMware credentials are used.