主机1 linux : 安装oms 1 10gR2版本
主机2 linux : 安装test 10gR2版本和emrep 10gR2版本两个库,并安装oma
主机3 aix : 安装orcl库 10gR2版本, 并安装oma
主机4 aix : 安装orcl库 9206版本,并安装oma[@more@]
目前遇到的问题是:
$ emctl config agent listtargets
[kf_oracle:3872, oracle_emd]
[kf_oracle, host]
[orcl, oracle_database]
[LISTENER_kf_oracle, oracle_listener]
oracle_emd and host/oracle_listener is ok,but oracle_database orcl is Metric Collection Errors,why?
做了upload 也做了agentca -d 依然
$emctl upload agent
$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 : /u01/app/oracle/OracleHomes/agent10g
Agent binaries : /u01/app/oracle/OracleHomes/agent10g
Agent Process ID : 757890
Parent Process ID : 692440
Agent URL : https://kf_oracle:3872/emd/main/
Repository URL : https://rac2:1159/em/upload
Started at : 2009-04-09 17:46:21
Started by user : oracle
Last Reload : 2009-04-09 17:46:21
Last successful upload : 2009-04-10 08:58:31
Total Megabytes of XML files uploaded so far : 11.60
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 39.40%
Last successful heartbeat to OMS : 2009-04-10 08:58:46
---------------------------------------------------------------
Agent is Running and Ready
[/home/oracle]$
最后问题解决:
1 是解锁了dbsnmp用户帐号
2 是修改了targets.xml文件
3 是重新reload
[/u01/app/oracle/OracleHomes/agent10g/sysman/emd]$more targets.bak
原因出在此处,将用户解锁,并设置口令,然后修改targets.xml 并 reload
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/271063/viewspace-1020269/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/271063/viewspace-1020269/