9 Understanding Discovery

Automatic Discovery is part of Configuration Management in Enterprise Manager. It forms the foundation for configuration management and Enterprise Manager by identifying IT components and allowing you to manage these components using Enterprise Manager.

To view a visual demonstration about how to automatically discover hosts on your network, deploy Management Agents on these hosts and then discover targets on these hosts, access the following URL and click Begin Video.

https://apex.oracle.com/pls/apex/f?p=44785:24:0::NO:24:P24_CONTENT_ID,P24_PREV_PAGE:5450,1

This chapter contains the following sections:

9.1 Introduction to Automatic Discovery

Adding a target to Enterprise Manager through discovery involves two steps:

  1. Discovering potential targets on hosts that are managed by Enterprise Manager.

  2. Promoting targets to be managed by Enterprise Manager by assigning the target to a Management Agent.

Users can enable automatic discovery of potential targets on a host managed by Enterprise Manager.

To enable auto discovery, Management Agent-side discovery scripts are packaged with the plug-in. When auto discovery is configured on a host, the discovery part of the plug-in (discovery scripts) is deployed on the host.

After auto discovery is configured to run on the managed host, discovery takes place periodically and sends potential targets to the Management repository.

Users can view the targets from the discovery results UI and then take various actions such as promoting the target to be managed by Enterprise Manager.

9.1.1 Key Benefits of Adding Automatic Discovery

The following are the key benefits of adding automatic discovery:

  • Easier to add targets to Enterprise Manager. Otherwise, the user must manually add each target to Enterprise Manager individually. This is a cumbersome and time-consuming task.

  • Easier to manage multiple objects on a single host. Otherwise, the user must manually add each object on the host as a target and then repeat the process on all other hosts.

9.2 Automatic Discovery Overview

This section provides an overview of the components of automatic discovery:

  • Plug-in

    The plug-in contains the components required to discover and promote targets of a particular target type. The plug-in includes discovery metadata to register with the discovery framework, discovery scripts, and monitoring scripts.

    Note:

    Only the discovery part of the plug-in (discovery scripts and any content required to run discovery) is deployed when scheduling discovery.

    The complete plug-in (monitoring and discovery) is deployed only when the discovered target is promoted or when a target is manually added.

  • Discovery module

    The discovery module defines a set of target types to discover on the hosts to which the plug-in is deployed.

    Specify discovery modules in the discovery metadata XML file. For information about the discovery metadata XML file, see the Enterprise Manager Programmer's Reference.

  • Discovery metadata

    Discovery metadata enables you to register automatic discovery with the discovery framework. The Extensibility Development Kit (EDK) provides a discovery XML schema definition (XSD) for registering automatic discovery. For information about defining discovery metadata and a description of the elements, see the Enterprise Manager Programmer's Reference.

  • Discovery Content

    Discovery content includes all the Perl scripts and JAR files that are required to discover targets of a particular type.

  • Discovery parameters

    A discovery parameter passes input entered from the UI to the discovery script. These discovery parameters are available as environment variables in the discovery script running at the Management Agent. The discovery script uses this information when performing discovery.

    Define discovery parameters in the discovery metadata XML file. For information about the discovery metadata XML file, see the Enterprise Manager Cloud Control Programmer's Reference.

  • Discovery schedule

    For plug-ins that are deployed already when Management Agents are installed or deployed to new hosts, and if discovery does not require any user inputs, then discovery is configured automatically and runs every 24 hours.