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 Yokohama 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”.