You must scan a vCenter server to discover all available VMs or VMs within a inventory like data centers, folders, clusters, resource pools. You can run the introspection process on the discovered VMs to identify running components.

Prerequisites

Procedure

  1. Click Discovery from the main menu.
  2. On the left navigation page, go to Inventory > vCenters.
  3. Select a vCenter server from the table.
  4. Click Scan and on the Scanning Options page.
    1. Select Apply Credential Policy to apply credential policy on the discovered VMs.
    2. Based on the your requirement, select one of the following:
    • Click No, Scan Only for discovering the VMs
    • Click Yes, Scan and Introspect for discovering the VMs and then discovering components running on those VMs.
      Note: If you scan more than 2000 VMs together, you might encounter the java.lang.OutOfMemoryError. Verify if the atvt_discovery_outOfMemory.hprof file is present at /log/iris/ and share with the VMware Support team.
      To resolve this error, run the following commands and increase the java heap memory space.
      1. vim /home/admin/.config/systemd/user/iris-discovery.service
      2. Change values for parameters -Xms512M -Xmx4096M to Xms1024M -Xmx8192M
      3. systemctl --user daemon-reload
      4. systemctl restart --user iris-discovery
      5. systemctl status --user iris-discovery

What to do next