Discover all resources in a datacenter on-demand

  • Release version: Washingtondc
  • Updated February 1, 2024
  • 1 minute to read
  • At any time, you can run Discovery on a datacenter to update the CMDB.

    Before you begin

    • A cloud account must exist with service accounts and associated datacenters. You must run on-demand Discovery to discover datacenters before you can schedule Discovery.
    • Download the Discovery and Service Mapping pattern from the ServiceNow Store.

    Role required: sn_cmp.cloud_admin

    Procedure

    1. In the Cloud Admin Portal, navigate to Manage > Cloud Accounts.
    2. Click a cloud account and, on the Datacenters tab, select a datacenter.
      The Resources tab lists the resources in the CMDB.
      Resources in the selected datacenter
    3. Change the state to Draft and then click Discover Now.
      Wait for Discovery to finish.
    4. Change the state of the cloud account to Published.

    Result

    Discovery populates the CMDB with the discovered resources and updates the information on the Resources tab. You can view Discovery results in the Discovery Log tab.
    Note:
    By default, Discovery stores the discovered VM hardware types in the Hardware Type [cmdb_ci_compute_template] table. If you notice an unusually large number of records in this table, use the Cloud Hardware Type [cmdb_ci_cloud_hardware_type] table to store the discovered VM hardware types. For more information, see Enable the Cloud Hardware Type class extension. All Cloud Provisioning and Governance features, such as provisioning, quotas, and so on continue to work as is after you switch to the Cloud Hardware Type table.