This discussion is archived
7 Replies Latest reply: Nov 1, 2013 9:29 AM by User319543 RSS

Peer agent key mismatch

930346 Newbie
Currently Being Moderated
Two of my OEM agents are displaying a status of "Metric Collection Error" with an error message of "peer agent key mismatch".

-Paul
  • 1. Re: Peer agent key mismatch
    venkata thiruveedhi Guru
    Currently Being Moderated
    Hi,

    Secure the agent once using the command:

    ./emctl secure agent

    Then upload agent:

    ./emctl upload

    once done, if upload is successful wait for couple of minutes, verify the status.

    Regards,
    Venkat
  • 2. Re: Peer agent key mismatch
    930346 Newbie
    Currently Being Moderated
    Hi,

    Secure agent is successful.

    But upload fails with the following error:

    EMD upload error:full upload has failed: The agent is blocked by the OMS. Plugin mismatches between agent and repository. Check plugin:[ The plug-in is oracle.sysman.oh (AGENT_BLOCKED)

    -Paul
  • 3. Re: Peer agent key mismatch
    venkata thiruveedhi Guru
    Currently Being Moderated
    Hi,

    This clearly shows there is some inconsistency in plugin information comparing to Agent side & Repository side.

    "EMD upload error:full upload has failed: The agent is blocked by the OMS. Plugin mismatches between agent and repository. Check plugin:[ The plug-in is oracle.sysman.oh (AGENT_BLOCKED)"

    To get more information of the blocked agent and its reason, connect to repository DB as SYSMAN user and run the following query:

    select * from mgmt_blocked_agents where TARGET_GUID in (select target_guid from mgmt_targets where target_name='<hostname>');

    Collect the output and upload.

    NOTE: Please do not perform the re-synchronization, with out knowing the exact cause running this might get us into more troubles.

    Regards,
    Venkat
  • 4. Re: Peer agent key mismatch
    930346 Newbie
    Currently Being Moderated
    Thanks for your response Venkat.

    This is the reason for failure i am able to view from table output--

    Version on agent : 12.1.0.2.0
    Content type : DISCOVERY
    Error code : EXTRA_ON_AGENT

    Error Msg : The plug-in provided as input by agent does not match with any record in the plug-in Oracle Management side inventory]
    BLK_AGENT_FOR_MISMATCH

    What next???
  • 5. Re: Peer agent key mismatch
    venkata thiruveedhi Guru
    Currently Being Moderated
    Hi,

    Gone through the output.

    Observed the error:

    Error code : EXTRA_ON_AGENT

    This confirms there are more pluigns on Agent then in repository.

    Not sure how this case was arrived in the environment. We can not edit the information in the repository.

    SO the AGENT needs to be re-installed.

    ++ As a last option would suggest to try agent re-sync with the following steps:

    1. Login to 12C console
    2. Navigate to Setup --> Agents
    3. Click on the problematic agent
    4. Click on drop down menu "Agent" and Choose "Resynchronization" in the menu list.
    5. Choose the option to "Unblock agent on successful completion of agent resynchronization." and Click on Continue

    ++ If still issue remains, we have to re-install the agent.

    If you have any further queries, you can log a Service Request with support and get the things clarified.

    Regards,
    Venkat
  • 6. Re: Peer agent key mismatch
    930346 Newbie
    Currently Being Moderated
    Re-sync performed, ended in same situation.

    Will try re-install and if required would approach support. Thanks for your quick confirmations!

    -Paul
  • 7. Re: Peer agent key mismatch
    User319543 Newbie
    Currently Being Moderated

    I managed to install the EMCLI with scripting option, I ran a resync through there and that worked and resolved the "peer agent key mismatch" , running the resynchronization in the console did not work.

     

    After logging in I ran the following:

    emcli resyncAgent -agent="agent_name"

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points