ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 配置过OEM 10g Grid Control的请进,OMS收集不到AGENT端的DB信息

配置过OEM 10g Grid Control的请进,OMS收集不到AGENT端的DB信息

原创 Linux操作系统 作者:crpp0902 时间:2019-06-10 09:57:07 0 删除 编辑
最近一直在配置Oracle Enterprise Manager 10g Grid Control,由于数据库比较多,版本也繁杂,所以想用Oracle Enterprise Manager 10g Grid Control进行管理:
Grid control 10.2 server 安装在 Red Hat server 4 上,成功的安装服务器端的OMS,agent和DB,现在服务器端的数据库实例信息能够收集到.相关的信息如下:
OMS端:
OMS STAUS:
oracle@mmDB /opt/oracle/OracleHomes/oms10g/bin$./emctl start oms
Oracle Enterprise Manager 10g Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
opmnctl: opmn started
Starting HTTP Server ...
Starting Oracle Management Server ...
Checking Oracle Management Server Status ...
Oracle Management Server is Up.

oracle@mmDB /opt/oracle/OracleHomes/oms10g/bin$./emctl status oms
Oracle Enterprise Manager 10g Release 10.2.0.1.0  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
Oracle Management Server is Up.

OMS端AGENT STATUS:
oracle@mmDB /opt/oracle/OracleHomes/agent10g/bin$./emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.1.0
OMS Version       : 10.2.0.1.0
Protocol Version  : 10.2.0.0.0
Agent Home        : /opt/oracle/OracleHomes/agent10g
Agent binaries    : /opt/oracle/OracleHomes/agent10g
Agent Process ID  : 17647
Parent Process ID : 17630
Agent URL         : https://mmDB:3872/emd/main/
Repository URL    : https://mmDB:1159/em/upload
Started at        : 2006-10-12 11:08:14
Started by user   : oracle
Last Reload       : 2006-10-12 11:08:23
Last successful upload                       : 2006-10-12 11:53:38
Total Megabytes of XML files uploaded so far :     3.62
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    74.21%
Last successful heartbeat to OMS             : 2006-10-12 11:53:22
---------------------------------------------------------------
Agent is Running and Ready
在EM里也能够看到该服务器端的主机,数据库实例的详细信息,进行监控.


另外一台已经安装数据库的服务器上通过下载脚本的方式安装AGENT成功.
AGENT端:
AGENT STATUS:
oracle@testdb /opt/oracle/OMS/agent10g/bin$./emctl status agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 10.2.0.1.0
OMS Version       : 10.2.0.1.0
Protocol Version  : 10.2.0.0.0
Agent Home        : /opt/oracle/OMS/agent10g
Agent binaries    : /opt/oracle/OMS/agent10g
Agent Process ID  : 30359
Parent Process ID : 30339
Agent URL         : https://testdb:3872/emd/main/
Repository URL    : https://mmDB:1159/em/upload
Started at        : 2006-10-12 10:52:42
Started by user   : oracle
Last Reload       : 2006-10-12 10:52:42
Last successful upload                       : 2006-10-12 10:53:28
Total Megabytes of XML files uploaded so far :     2.06
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    80.27%
Last successful heartbeat to OMS             : 2006-10-12 10:53:44

可以看到状态没有问题:
oracle@testdb /opt/oracle/OMS/agent10g/bin$./emctl upload      
Oracle Enterprise Manager 10g Release 10.2.0.1.0.  
Copyright (c) 1996, 2005 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
EMD upload completed successfully
手工也能上传
但是在EM里面只能找到该端的主机信息,而看不到这台机器上相关实例的信息...
查看后台的TRC文件,报错内容如下:
2006-10-12 11:27:27 Thread-3227655 ERROR ssl: 10: Common Name = "mmDB" Does not Match Hostname = "mmdb"
2006-10-12 11:27:27 Thread-3227655 ERROR http: 10: Unable to initialize ssl connection with server, aborting co
nnection attempt
2006-10-12 11:27:27 Thread-3227655 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://mmdb:1159/e
m/upload: retStatus=-1

2006-10-12 11:11:56 Thread-1835015 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://mmdb:1159/e
m/upload: retStatus=-32
2006-10-12 11:12:26 Thread-1867783 WARN  http: snmehl_connect: connect failed to (mmdb:1159): Connection refuse
d (error = 111)

我已经修改了agent10/sysman/config/emd.properties文件中的mmdb为mmDB,但是为什么还报Cannot connect to https://mmdb:1159/e
m/upload: retStatus=-32
的错误呢??


请高人指点..

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28419/viewspace-613763/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2002-11-14

  • 博文量
    59
  • 访问量
    54497