Grid Control服務端看不到Agent相關資訊,同時OMS狀態為unknown處理
一次Grid Control的agent是啟動的,但是在GC服務端看不到相關資訊,而且OMS端狀態不正確問題處理過程。
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /opt/oracle/agentbase/agent10g
Agent binaries : /opt/oracle/agentbase/agent10g
Agent Process ID : 214
Parent Process ID : 1
Agent URL :
Repository URL :
Started at : 2011-05-26 14:11:33
Started by user : oraagent
Last Reload : 2011-05-26 14:11:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 1045
Size of XML files pending upload(MB) : 50.07
Available disk space on upload filesystem : 15.79%
Collection Status : Disabled by Upload Manager
Last attempted heartbeat to OMS : 2011-07-18 11:25:02
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready
----這裡可以看到agent其實是不正常的:Last successful heartbeat to OMS : unknown
嘗試upload,結果報錯:
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
參看agent日誌:
2011-07-18 14:09:30,715 Thread-94 ERROR pingManager: Did not receive valid response to ping "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository. This most likely means that the agent was reinstalled or recovered. Please contact an EM administrator to unblock the agent by performing an agent resync from the console. Please contact EM adminstrator to unblock the agent"
在GC伺服器上重新Resynchronize一下。
+ Navigate to Setup -> Agents -> Click on problematic Agent name
+ In Agent home page click on "Resynchronize" Button on right hand top of the page.
Choose the 'Unblock Agent' option and click Continue
Ensure that the Agent is up and running when attempting the Resynchronization.
Once the re-synchronization is completed successfully, the Agent should be able to communicate with the OMS.
結果報錯如下:
The Oracle Management Server(OMS) has blocked this agent because it has either been reinstalled or restored from a filesystem backup. It appears that you
have already run an Agent Resynchronization against this agent. Please correct any errors that may have occured during that resync, and then manually unblock
the agent using the Unblock button below.
Agent Operation completed with errors. For those targets that could not be saved, please go to the target's monitoring configuration page to save them. All
other targets have been saved successfully. Agent has not been unblocked.
Error saving target rpt_cog0:oracle_database - Skipping target {rpt_cog0, oracle_database}: Missing properties - password
這裡點選GC端的的unlock按鈕。
然後重新secure一下:
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl stop agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Securing agent... Successful.
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Starting agent ................ started.
在GC伺服器上重新Resynchronize一下, 然後點選GC端的的unlock按鈕。
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /opt/oracle/agentbase/agent10g
Agent binaries : /opt/oracle/agentbase/agent10g
Agent Process ID : 7859
Parent Process ID : 7809
Agent URL :
Repository URL :
Started at : 2011-07-18 14:34:53
Started by user : oraagent
Last Reload : 2011-07-18 14:35:57
Last successful upload : 2011-07-18 14:42:09
Total Megabytes of XML files uploaded so far : 10.19
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 16.19%
Last successful heartbeat to OMS : 2011-07-18 14:43:44
---------------------------------------------------------------
Agent is Running and Ready
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
參考文件:
===========================End=======================================
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /opt/oracle/agentbase/agent10g
Agent binaries : /opt/oracle/agentbase/agent10g
Agent Process ID : 214
Parent Process ID : 1
Agent URL :
Repository URL :
Started at : 2011-05-26 14:11:33
Started by user : oraagent
Last Reload : 2011-05-26 14:11:33
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 1045
Size of XML files pending upload(MB) : 50.07
Available disk space on upload filesystem : 15.79%
Collection Status : Disabled by Upload Manager
Last attempted heartbeat to OMS : 2011-07-18 11:25:02
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready
----這裡可以看到agent其實是不正常的:Last successful heartbeat to OMS : unknown
嘗試upload,結果報錯:
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
參看agent日誌:
2011-07-18 14:09:30,715 Thread-94 ERROR pingManager: Did not receive valid response to ping "ERROR-Agent is blocked. Blocked reason is: Agent is out-of-sync with repository. This most likely means that the agent was reinstalled or recovered. Please contact an EM administrator to unblock the agent by performing an agent resync from the console. Please contact EM adminstrator to unblock the agent"
在GC伺服器上重新Resynchronize一下。
+ Navigate to Setup -> Agents -> Click on problematic Agent name
+ In Agent home page click on "Resynchronize" Button on right hand top of the page.
Choose the 'Unblock Agent' option and click Continue
Ensure that the Agent is up and running when attempting the Resynchronization.
Once the re-synchronization is completed successfully, the Agent should be able to communicate with the OMS.
結果報錯如下:
The Oracle Management Server(OMS) has blocked this agent because it has either been reinstalled or restored from a filesystem backup. It appears that you
have already run an Agent Resynchronization against this agent. Please correct any errors that may have occured during that resync, and then manually unblock
the agent using the Unblock button below.
Agent Operation completed with errors. For those targets that could not be saved, please go to the target's monitoring configuration page to save them. All
other targets have been saved successfully. Agent has not been unblocked.
Error saving target rpt_cog0:oracle_database - Skipping target {rpt_cog0, oracle_database}: Missing properties - password
這裡點選GC端的的unlock按鈕。
然後重新secure一下:
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl stop agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Agent is already stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :
Securing agent... Successful.
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl start agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Starting agent ................ started.
在GC伺服器上重新Resynchronize一下, 然後點選GC端的的unlock按鈕。
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl status agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 10.2.0.5.0
OMS Version : 10.2.0.5.0
Protocol Version : 10.2.0.5.0
Agent Home : /opt/oracle/agentbase/agent10g
Agent binaries : /opt/oracle/agentbase/agent10g
Agent Process ID : 7859
Parent Process ID : 7809
Agent URL :
Repository URL :
Started at : 2011-07-18 14:34:53
Started by user : oraagent
Last Reload : 2011-07-18 14:35:57
Last successful upload : 2011-07-18 14:42:09
Total Megabytes of XML files uploaded so far : 10.19
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 16.19%
Last successful heartbeat to OMS : 2011-07-18 14:43:44
---------------------------------------------------------------
Agent is Running and Ready
oraagent@gd_rdb01:/opt/oracle/agentbase/agent10g/bin$ ./emctl upload
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
參考文件:
===========================End=======================================
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24930246/viewspace-1067207/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC中unknown 狀態的處理方式
- crs命令用法及offline, unknown 狀態處理
- RAC crs_stat unknown資源狀態處理(ZT)
- 處理crs_stat -t狀態unknown一例
- oracle10g crs 服務狀態offline, unknownOracle
- 【轉】crs命令用法及offline, unknown 狀態處理
- 服務端指南 | 狀態機設計服務端
- Agent to OMS Communi Fails if Agent is 'Blocked' in 10.2.0.5 Grid Cons_799618.1AIBloC996
- 10g RAC 服務的狀態是UNKNOWN解決方法
- 服務端跨域處理 Cors服務端跨域CORS
- OCM實驗-grid control agent安裝
- 【GC】Grid Control Agent完整刪除方法GC
- Oracle10g RAC 服務的狀態是UNKNOWN解決方法Oracle
- 記·處理服務端返回data不統一處理服務端
- Nacos - 服務端處理心跳請求服務端
- GC 10.2.0.1 OMS和Agent連線失敗後的處理過程GC
- 【GC】OEL4.8部署安裝 Grid Control OMSGC
- Nacos - 服務端處理註冊請求服務端
- 架構設計(五):有狀態服務和無狀態服務架構
- ORACLE CRS 狀態 UNKNOWN 變為offlineOracle
- Nacos服務相關
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 3Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 2Cloud
- EM 12c Cloud Control - Agent Unreachable : Received Key Mismatch from OMS - 1Cloud
- 專案實戰:zabbix監控MySQL狀態、服務資訊MySql
- Grid Control一些術語GC、OMS、OMR、OMA的概念GC
- iOS狀態列相關操作iOS
- Agent Upload to OMS Fails if OMS Locked in Secure,Agent isn't Secured_422922.1AI
- fastHttp服務端處理請求的過程ASTHTTP服務端
- Nacos - 服務端處理例項列表請求服務端
- 高效能服務端系列–處理器篇服務端
- 解決crs_stat狀態為UNKNOWN問題
- CRS-0223 及crs 出現offline , unknown 狀態處理
- 介面異常狀態統一處理方案:優先業務端處理,再按需統一處理。
- OMS to Agent Comm Fails if IP Address of the Grid Ag Machine is Changed-605009.1AIMac
- Nginx服務狀態監控Nginx
- 【GC】OEM Grid Control 11gR1部署之OMS部分GC
- informix CKPT REQ 狀態處理!ORM