How to Fix a Target with a Pending Status in OEM 12cR2
- Go to Setup --> Manage Cloud Control --> Agents;
- Click on the testdrv01 agent;
- On the drop down menu from Agent, choose Resynchronization;
- Be sure to select "Unblock agent on successful completion of agent resynchronization".
Once you do that, you will see an output like below: [code language="bash"] resyncState: IN executeCommand resyncState: validated parameters Starting resync RESYNC_20130827141300 for agent testhost:9999 Getting list of all the Targets to remove from the the agent - testhost:9999 Removing 27 targets from the agent Removing list of plugins from the agent Getting list of all the Targets from the repository for the agent - testhost:9999 Pushing list of plugins to the agent Promoting list of targets to the agent Re-deploying Metric Extensions to the targets Saving target collections to the agent Cleaning state on the agent size of repos blackout list is 0 Retrieving java callbacks from em_gcha_callbacks table Pdp settings syncronized successfully resyncState: resync of agent succeeded! [/code] And voilà!!! Once we did this, we could see the CLUSTER_TEST in our target agent. [code language="bash"] oracle@testhost [oemagent] /u01/app/oracle/agent/agent12c/bin oracle $ emctl config agent listtargets | grep "CLUSTER_TEST" [CLUSTER_TEST_test1, oracle_database] [CLUSTER_TEST, rac_database] [/code] When we had confirmed that the target that we wanted was present, we did an upload and verified the status of the agent. To our great pleasure, both targets were visible as up and running in OEM! :) [code language="bash"] oracle@testhost [oemagent] /u01/app/oracle/agent/agent12c/bin oracle $ ./emctl upload agent; ./emctl status agent [/code] I hope this can help you out when you face something like this! I can guarantee that the next time I'm faced with a similar situation, the first thing that I will do is grab a target list from the agent. Note: The names and ports were changed to maintain anonymity.
Ready to optimize your Oracle Database for the future?
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
How to Troubleshoot OEM 12c Cloud Control Auto-Discovery
EM 12c, EM 13c: delete agent and targets using emcli
How to Find Cluster Resources Where Target!=State
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.