This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.
Summary of Standalone ESXi discovery
Standalone ESXi discovery enables ServiceNow customers to discover individual ESXi servers that host virtual machines (VMs) and related components without requiring a vCenter server.This capability identifies and maps various configuration items (CIs) and their relationships during a discovery schedule, helping maintain an accurate and up-to-date CMDB.
Show full answerShow less
Key Features
Access and Roles: Users need the itil and asset roles to access ESXi CI records, and the discoveryadmin role to run standalone ESXi discovery.
VMware Credentials: To perform discovery, VMware credentials with read-only access to the ESXi host must be created, supporting domain user formats.
Prerequisites: The Discovery plugin (com.snc.discovery) must be installed and activated on the Xanadu release or later. The ESXi trigger probe must be enabled.
Discovery Process: Discovery uses correlation IDs (BIOS UUID), Managed Object Reference IDs, and serial numbers to identify ESXi servers. It triggers multiple probes, including the VMWare - Standalone ESXi Server probe, to collect comprehensive data.
Data Collected: The discovery collects detailed information about ESXi servers, VMs, datastores, networks, resource pools, network adapters, disks, HBAs, FC ports, iSCSI and Fibre Channel disks, and IP addresses. This data is stored across multiple CMDB tables specifically designed for VMware components.
Resource Pools: Standalone ESXi discovery includes fetching resource pools on the host, including the hidden root resource pool, which groups host resources.
Conflict Handling: If both SSH and ESXi probes are triggered, SSH runs first by default and may cause discovery errors. Adjusting probe settings can resolve this.
Key Outcomes
Accurate and automated discovery of standalone ESXi hosts and their associated infrastructure components without vCenter dependency.
Comprehensive mapping of ESXi server relationships, resource pools, VMs, storage, and network adapters to maintain a reliable CMDB.
Support for forward migration when ESXi hosts become part of vCenter. Customers can switch to vCenter discovery schedules and avoid duplicate CIs by retiring those discovered via standalone ESXi discovery.
Prevention of discovery conflicts and errors by managing probe activation and understanding discovery triggers.
Practical Guidance for ServiceNow Customers
Ensure the Discovery plugin is active and the ESXi trigger probe is enabled before running standalone ESXi discovery.
Create and configure VMware credentials with appropriate read-only permissions for the ESXi hosts.
Use the correlation ID, MORID, and serial number methods to uniquely identify ESXi hosts during discovery.
When migrating ESXi hosts to vCenter management, run vCenter discovery schedules and retire standalone-discovered CIs to prevent duplicate records.
If discovery errors occur related to SSH and ESXi probes, adjust the Unix - Classify probe to deactivate ESX - OS to resolve the issue.
Standalone ESXi discovery supports discovery of individual ESXi servers that host
virtual machines (VMs) and related components without a vCenter. Various CIs and relationships
are discovered as part of a
discovery
schedule.
Required roles
Users with the itil and asset roles can
access ESXi configuration item (CI) records. To run a standalone ESXi discovery, users must
have the discovery_admin role.
VMware credentials
To run a standalone ESXi discovery, you need VMware credentials. Create the credentials by
navigating to Discovery > Credentials > VMware Credentials.
If you use a domain account to access the ESXi host, specify the domain with the user name
in the credential record in one of the supported formats, such as
Domain\UserName.
Note:
The VMware credentials must have read-only role in the ESXi host.
Requirements
Make sure the Discovery (com.snc.discovery) plugin is installed and
activated and that you have upgraded to Xanadu or later.
Activate the ESXi trigger probe. Navigate to the Trigger Probe [trigger_probe_m2m]
table. The esxi record is inactive by default. Mark Active as true to enable Standalone
ESXi discovery.
Create a new Discovery schedule for the host with the appropriate IP
address of the ESXi host.
Note:
If both SSH and ESXi are triggered, SSH is launched first and may cause Discovery to
complete with the message "ESX Discovery is only supported through the vCenter." In this
case, open the Unix - Classify probe and set ESX - OS inactive.
ESXi server Discovery components
Discovery identifies ESXi servers based on the correlation ID (BIOS UUID), when the
hardware manufacturer is on a certified inclusion list. If the manufacturer is on the list,
the correlation ID must be unique. If the manufacturer is not on the certified inclusion
list, the Managed Object Reference ID (MORID) and Serial Number are checked as well.
After Shazzam runs, it checks for the port probe esxi. Discovery then launches the VMWare -
Standalone ESXi Server probe, which then launches the probes that explore the ESXi server.
Other existing Discovery probes are also launched. For the complete list of probes, see
List of Discovery probes.
Table 1. ESXi server Discovery components
Component
Name
Description
IP Service
ESXi
IP Service ESXi - VMWare VM console is defined for the Port 902.
Port Probe
esxi
ESXi Server Appliance web user interface. It is triggered by the IP Service
ESXi and it triggers the probe VMWare - Standalone ESXi Server.
Probe
VMWare - Standalone ESXi Server
Probe to get information about an ESXi server.
Probe
VMWare - vCenter ESX Hosts
Creates records for ESXi servers and host mounts. Triggers other probes.
VMware - vCenter ESX Hosts Storage
VMware - vCenter Datastores
VMware - vCenter Networks
VMware -vCenter VMs
Probe
VMWare - vCenter ESX Hosts Storage
Creates records for ESXi host hardware: network adapters, disks, HBAs, FC
ports, iSCSI and FC disks. Creates relationships between DAS/iSCSI/FC disks and
datastore disks.
Basic server data from ESXi hosts is collected by the VMware - vCenter ESX Hosts probe.
ESXi Standalone server data
Discovery uses multiple existing probes to collect this data from ESXi. The data is saved
in various tables. Some of the CIs which have the "server" field have a reference to ESXi
Host (for example, cmdb_ci_esx_server).
Standalone ESXi discovery also fetches the resource pools on the host including the root
resource pool. This root resource pool is always hidden for every ESXi host. The root
resource pool may not be visible in the VSphere web client for the ESXi host, but you can
view it using the mob browser.
Navigate to this URL: <domain name/or
ip_address>/mob/?moid=ha-root-pool
The root resource pool groups the resources of that host. Other child resource pools can
also be created from the root resource pool. The root is identified in the ESXi host with
the Managed Object ID: ha-root-pool.
Forward migration
If you were using standalone ESXi discovery and now the same ESXi is part of vCenter, you
can use vCenter discovery instead. Create a vCenter discovery schedule and trigger it.
Triggering a vCenter discovery creates duplicate CIs in the following tables as the
identifiers for the CIs are different when ESXi is standalone or part of vCenter:
To avoid duplicates, you must mark the CIs created by standalone ESXi discovery in the
above four tables as retired. When vCenter discovery is triggered, the vCenterESXHostsSensor
script include checks for all the ESXi servers whether they were previously discovered as
standalone ESXi server. If yes, it automatically triggers the ESXMigrationUtil script to
mark all the previously discovered duplicate CIs as retired.
Note:
If you want to trigger
migration manually, you can do so by executing the following script from the background
script: // @params esx_sys_ids – array of sys ids of all the ESXi servers which need to be
migrated.
Once an ESXi server is migrated to vCenter, triggering a standalone ESXi discovery schedule
on the same ESXi host will result in an error. Discovery will be aborted with an error
message that “This ESXi is part of vCenter <IP_address of Vcenter> discovery schedule.
Aborting discovery”.