EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1

tolywang發表於2015-05-20
環境為 EM Cloud Control 12c,測試MWaaS 。 同事在做完MWaaS中的profile建立, 發現Middleware的主機(target)
在OMS上顯示的Agent狀態是 unreachable , 檢視狀態發現 OMS 正常,其他幾個target在OMS Console上顯示也是正常
的, 沒有出現 Agent Unreachable 的提示, 而且正常和不正常的幾個target 都是在同一個網段,基本可以排除網路
問題,OMS Server問題也可以排除。 

1.  檢查狀態為 Agent Unreachable 的主機上的Agent狀態

檢查agent程式正常
cd  /u01/em12c/agent/agent_inst   (即cd  $AGENT_HOME)
$ ./emctl status  agent 
顯示Heartbeat Status : OMS is unreachabled 

嘗試重新啟動Agent  
$ ./emctl stop   agent 
$ ./emctl start  agent 
$ ./emctl status  agent 
顯示狀態還是有問題。 


2.  透過 pingOMS 檢查Agent與OMS的通訊問題 
cd  /u01/em12c/agent/agent_inst   (即cd  $AGENT_HOME)
$ ./emctl  pingOMS 
EMD pingOMS error: Received Key Mismatch from OMS 

根據錯誤在Metalink上查詢原因。透過Agent Unreachable 及 Received Key Mismatch from OMS 查詢到解決方案:

"oracle.sysman.emSDK.agent.comm.exception.KeyMismatchException: agent key mismatch" error for 12c agent (文件 ID 1569471.1)

Cause 
The issue is due to secure key mismatch between agent and OMS.
 
Solution 
Issue the following commands for problematic agent from AGENT_HOME/bin: 
emctl stop agent
emctl secure agent
emctl start agent 
Now wait for 5 minutes and check the status of agent : emctl status agent

但是在執行後,等待 5 分鐘,還是不行,顯示是 Agent Unreachable 。 

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/35489/viewspace-1664166/,如需轉載,請註明出處,否則將追究法律責任。

相關文章