Wednesday, July 11, 2012

EM12c: How to discover FMW targets automatically using auto discover feature?

EM 12c cloud control has a concept of auto discovery of targets
It involves two steps:
1. Discovering the potential target
2. Promoting the target and assigning it to an EM agent

Users can enable this automatic discovery of potential targets on a host.

To enable auto discovery, one needs to ensure that EM agent has the discovery part of plugin 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 review these targets from the discovery results UI and then promote the target, so taht EM can monitor and manage these.

Ensure that agent has been deployed on the managed host.

1. Select Setup menu-> Add Target-> Configure Auto Discovery.

2. Set the schedule(in days) at which the discovery job will be run. This schedule will be applied to all selected hosts. By default the job will run every 24 hours.

3. Click Add Host. Select the host machine where you want to discover targets.

4. Select the host in the table, then click Edit Parameters to specify the Middleware Home(s) to search for targets.
 (Note: The Middleware Home is the top-level directory for all Oracle Fusion Middleware products, created when Oracle WebLogic Server is installed. e.g. /u01/app/middleware)

5. Click OK to enable the automatic discovery.

6. Once automatic discovery has been enabled, one should verify Setup -> Add Target->Auto Discovery Results regularly to view the list of discovered targets.

7. Select the Non-Host Targets tab to view the discovered Oracle Fusion Middleware targets.

8. Select a target e.g. select Oracle WebLogic Domain target type then click Promote.
For promotion of WLS domain target, provide following parameters:
        The hostname for the WebLogic Administration Server
        The WebLogic Administration Server port.
        The WebLogic Administration Server user name and password.
        A Unique Domain Identifier for domain
        EM Agent that will be used to discover the FMW targets.

9. Click Continue. EM will discover all FMW targets within the WLS domain.

10. Click Close in the Finding Targets dialog to automatically assign EM Agents to the discovered targets.

11. Click Add Targets to assign EM Agents as listed in the Assign Agents page.

12. Click Close. The Results page displays the targets and Agent assignments.

13. Click OK when finished.

Wait for sometime before these targets are visible and monitored. All the agents used for monitoring the targets must be up.

Note: The automatic discovery feature is not supported for Oracle WebLogic Server versions 7.x or 8.x.

No comments: