This content has been marked as final. Show 8 replies
As Nazim mentioned, check the port . Few things that u can look for:
Look at the log file for more error message:
For 2-system upgrade, if your old Management Agent was running in secure (or unsecure) mode before backing up the Management Repository, then ensure that it continues to run in the same mode while you deploy and configure the new Management Agent for it. Do not resecure the Management Agents after backing up the Management Repository. If you do so, the ping test might fail while performing the healthcheck because of a mismatch between the configuration stored in the repository and the actual configuration of the Management Agent. You will see a KEY_MISMATCH error in gcagent.log.
If any Management Agent is in unsecure mode, and if you have already upgraded the OMS, then run these commands on the upgraded OMS (12c OMS), generate the health check report again, and then switch over:
$<OMS_HOME>/bin/emctl secure unlock -console
$<OMS_HOME>/bin/emctl secure unlock -upload
If you still has confusion, i suggest open SR with support and they will guide you
Thanks for the information. I have a couple of followup questions:
1) What ports shoulw I be looking at? I have deployed other agents with no problems and am using the same ports. Is there perhaps another port I should look at?
2) Here is where I display my lack of understanding but is there a way to tell if a management agent is in secure or unsecure mode?
3) If I do unlock the agent and upload should I lock it after I switch over the agent? THis is something I don't understand clearly.
4) I looked at the gcagent.log file and don't see evidence of a KEY_MISMATCH. Is there some other error I should look for?
run emctl status agent from both the 11g and 12c agent homes. this will display the agent url for each of those agents.
the agent url will include the port, and it will be http if unsecure, and https if secured.
best practice is to run with the OMS secured and locked, so yes after you get all agents switched over the recommendation would be to secure and lock (requires agent communication to use https only), at this time the agents would need to be secured as well (emctl secure agent) so they can communicate properly.
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
Agent Version : 18.104.22.168.0
OMS Version : 22.214.171.124.0
Protocol Version : 126.96.36.199.0
Agent Home : /oracle/agent/agent_inst
Agent Binaries : /oracle/agent/core/188.8.131.52.0
Agent Process ID : 9909
Parent Process ID : 9856
Agent URL : https://host.com:3872/emd/main/
Repository URL : https://host.com:4904/empbs/upload
Started at : 2013-01-10 12:41:11
That makes sense but one other question belying my lack of understanding. The 12c agent is not running so the emctl status agent command simply says that so I can't see if it is secured. The 11g agent is. What are the ramifications of stoppong the 11g agent, starting the 12c agent and checking the status? If I do that do I then need to stop the 12c agent restart the 11g agent and then do the switchover?
As you can see I am still struggling wtih this and I appreciate the help.