Wednesday, February 2, 2011

Remove targets or agents from repository

There are some issues while removing targets or agents from Grid Control. After removing the target, the removed agent is still seeing by the Grid Control. There is still a reference in the repository to the removed targets or agents.

You can use the following instructions as sysman to get rid of the removed agent or target :

To clean it manually, connect to the OEM Grid Repository and perform the following:
SQL> select target_name from mgmt_targets where target_type=’oracle_emd’;

This command shows all the registered targets. Then to manually remove a host from the list execute:
SQL> exec mgmt_admin.cleanup_agent('host:port');

or use the alternative
SQL> exec mgmt_admin.delete_target_internal('host:port', 'oracle_emd');

No comments:

Post a Comment