一次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 : https://gd_rdb01:3872/emd/main/
Repository URL : https://gd-adu03:1159/em/upload
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 : https://gd_rdb01:3872/emd/main/
Repository URL : https://gd-adu03:1159/em/upload
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
参考文档:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=799618.1
===========================End=======================================
参考至:http://blog.itpub.net/24930246/viewspace-1067207/
如有错误,欢迎指正
邮箱:czmcj@163.com
相关推荐
本手册用于指导在Linux服务器上部署oracle 11g Grid Control服务端程序。 系统需求 OMS:3G内存 Agent:512M内存 Repository:2G内存 50G磁盘空间 操作系统 RHEL 4 (Update 7), RHEL 5 (Update 2), OEL 4 (Update ...
包括 Repository Database (oracle 11gR2)的安装,静默方式安装 EM Grid Control 10.2.0.3 并升级到10.2.0.5, Grid Control 配置,安装 Grid Control Agent 及 Grid Control OMS's 和 Agent 的中间补丁 OPatch 升级...
selenium grid 服务端grid jar包, 用的高并发,启一个hub,多个Node
MFC Grid control 2.7完整版 MFC Grid control 2.7完整版
MFC Grid control 2.26 是一个经过多年发展,广为使用的列表控件,功能十分强大,可以对任意某格改变颜色,设定风格,进行编辑,嵌入下拉框等等,引用处在 http://www.codeproject.com/miscctrl/gridctrl.asp(已...
OEM Grid Control 10.2.0.5 install
功能非常齐全的Grid Control
It is a very simple grid. It is a custom control derived from CWnd. It is inspired by the excellent Delphi TGridView component written by Roman Mochalov. Header of the grid is a separate logical ...
The ALV Grid Control (ALV = SAP List Viewer)是一个显示列表的灵活的工具,它提供了基本功能的列表操作,也可以通过自定义来进行增强,因此可以允许你可以在大型的应用程序中使用
micro grid control using inverter
grid control控件类,比较好的grid类
MFC Grid control是一款非常优秀的网格控件,支持非常丰富的界面元素,因而在数据库程序及报表程序应用较为广泛,MFC Grid control的作者并没有将其封装为DLL,因为在程序的多个模块复用这个控件比较麻烦(需要在多...
对code project上的MFC Grid Control进行拓展
Pv System grid connedted control algorithm
dev express grid control demo
As the main building block of the smart grid systems, microgrid (MG) integrates a number of local distributed generation units, energy storage systems, and local loads to form a small-scale, low- and ...
ListCtrl控件的详细讲解,中英文对照。对于学习Grid control 控件有极大的帮助。
Orale10g OEM Grid Control是Oracle公司提供的一种企业级数据库(数据库节点数在...最近由于笔者负责维护的数据库数据增长到接近500台,因此在管理上采用了企业级的Oracle10g oem grid control来进行日常的管理和维护。
DELL 服务器10g grid control安装,配置
功能非常齐全的Grid Control