`

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         : 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 监控服务端安装手册

    本手册用于指导在Linux服务器上部署oracle 11g Grid Control服务端程序。 系统需求 OMS:3G内存 Agent:512M内存 Repository:2G内存 50G磁盘空间 操作系统 RHEL 4 (Update 7), RHEL 5 (Update 2), OEL 4 (Update ...

    OEM Grid Control 10.2.0.5 install

    例如,Linux X86 平台下的 Agent 软件为 `Linux_Grid_Control_agent_download_10_2_0_5_0.zip`。 ##### `/etc/hosts` 文件确认 确认 `/etc/hosts` 文件中已正确配置 IP 地址及其对应的主机名。示例配置如下: ``` ...

    2个grid control的拖拉

    "2个grid control的拖拉"这一主题涉及到的是如何在MFC(Microsoft Foundation Classes)环境中,利用Grid Control来实现数据的拖放操作。Grid Control通常被用作数据显示和编辑的控件,类似于电子表格。拖放功能则...

    功能非常齐全的Grid Control

    7. 鼠标和键盘事件处理:Grid Control可以捕捉用户的鼠标和键盘操作,为开发者提供了丰富的事件处理机制,以便扩展和定制功能。 8. 分页功能:对于大数据集,Grid Control通常会实现分页功能,以提高性能并避免一次...

    [原创]Guide: Installing Oracle Enterprise Manager Grid Control 10.2.0.5 on Oracle Database 11gR2 and RHEL Linux 5.4

    本指南详细介绍了如何在Red Hat Enterprise Linux (RHEL) 5.4上安装并配置Oracle Enterprise Manager (EM) Grid Control 10.2.0.5版本,同时适用于Oracle Database 11g Release 2 (11gR2)。该文档不仅包含了...

    ALV Grid Control 使用详细

    ALV Grid Control(SAP List Viewer)是一种灵活的工具,用于在SAP环境中展示列表数据。它不仅提供了基本的列表操作,如排序、过滤和分页,还支持自定义扩展,适应于大型应用程序的需求。ALV Grid Control允许用户在...

    DELL 服务器10g grid control安装

    在现代数据中心中,为了高效地管理和监控Oracle数据库及其相关的硬件资源,Oracle Enterprise Manager (OEM) 10g Grid Control成为了必不可少的工具之一。本文将详细介绍如何在Dell PowerEdge服务器上安装和配置OEM ...

    MFC Grid control 2.7完整版

    MFC Grid Control 2.7 是一个用于C++开发的高效、功能丰富的控件库,专为Windows应用程序设计,提供类似电子表格的界面,适用于数据展示和编辑。它基于Microsoft Foundation Class (MFC) 库,是MFC框架的一个扩展,...

    selenium grid 服务端grid jar包

    selenium grid 服务端grid jar包, 用的高并发,启一个hub,多个Node

    MFC Grid control封装为DLL

    MFC Grid control是一款非常优秀的网格控件,支持非常丰富的界面元素,因而在数据库程序及报表程序应用较为广泛,MFC Grid control的作者并没有将其封装为DLL,因为在程序的多个模块复用这个控件比较麻烦(需要在多...

    MFC Grid Control拓展

    MFC(Microsoft Foundation Class)Grid Control是微软提供的一种用于创建具有二维表格布局的用户界面的控件,常用于数据编辑和展示。它基于C++类库,为开发者提供了丰富的功能,如行和列的动态调整、单元格编辑、...

    MFC Grid control 2.26

    MFC Grid control 2.26 是一个经过多年发展,广为使用的列表控件,功能十分强大,可以对任意某格改变颜色,设定风格,进行编辑,嵌入下拉框等等,引用处在 http://www.codeproject.com/miscctrl/gridctrl.asp(已...

    Oracle Enterprise Manager 10g Grid Control Implementation Guide

    《Oracle Enterprise Manager 10g Grid Control Implementation Guide》为希望了解和掌握Oracle Enterprise Manager 10g Grid Control的读者提供了宝贵的信息和技术指导。通过阅读本书,不仅可以深入了解Oracle ...

    Oracle10g oem grid control实战.doc

    Oracle10g OEM Grid Control是Oracle公司为大型企业级数据库管理设计的一款解决方案,尤其适合管理数十台甚至更多数据库节点的环境。与之前的OEM版本相比,10g Grid Control进行了彻底的重构,采用Web架构,消除了对...

    网格控件Virtual Grid Control 1.4

    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 ...

    Oracle, Enterprise Manager 10g, Grid Control, Volume III, student Guide

    3. **扩展性**:Grid Control 设计为高度可扩展的系统。可以通过添加新的 Agent 或者升级现有的基础设施来轻松扩展其监控范围。 4. **故障诊断工具**:内置了一系列故障诊断工具,帮助管理员快速定位问题根源,减少...

    MFC Grid control 2.27.pdf

    - **集成**:将编译好的Grid Control库添加到项目中使用。 #### 七、总结 本文档《MFC Grid control 2.27.pdf》全面地介绍了`ListCtrl`控件及其作为Grid Control的功能和特性。通过深入学习本文档,开发者可以更好...

    Grid Control

    在编程语言中,如C#、Java、JavaScript或.NET框架下,开发者可以找到各种Grid Control实现,例如ASP.NET MVC中的GridView,WinForms下的DataGridView,或是JavaScript库如React、Vue、Angular中的相关组件。...

    control.zip_control_control GRID_control grid_grid inverter_zip

    micro grid control using inverter

    ALV Grid Control

    - **库存管理**:在供应链管理系统中,ALV Grid Control可以提供实时库存状态的概览,支持按产品类别、供应商、仓库位置等多种维度进行数据分组和过滤,优化库存控制和预测。 - **人力资源管理**:在人力资源信息...

Global site tag (gtag.js) - Google Analytics