November 16 2015

在GC服务端看不agent

一次Grid Control的agent是启动的,但是在GC服务端看不到相关信息

查看一个agent的状态:

[oracle@asm 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 : /u01/app/oracle/agent10g/agent10g
Agent binaries : /u01/app/oracle/agent10g/agent10g
Agent Process ID : 8545
Parent Process ID : 8521
Agent URL : http://asm:3872/emd/main/
Repository URL : http://ucjmh:4889/em/upload/
Started at : 2015-11-15 21:06:41
Started by user : oracle
Last Reload : 2015-11-15 21:06:41
Last successful upload : (none)
Last attempted upload : (none)
Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 24
Size of XML files pending upload(MB) : 5.65
Available disk space on upload filesystem : 63.74%
Last successful heartbeat to OMS : 2015-11-15 21:18:47
—————————————————————
Agent is Running and Ready

应该没有什么问题才对 都已经被成功的upload过

接下来手动的upload一下 报错
[oracle@asm bin]$ ./emctl upload
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
—————————————————————
EMD upload error: uploadXMLFiles skipped :: OMS version not checked yet..
把agent停止了

[oracle@asm bin]$ ./emctl stop agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Stopping agent … stopped.
[oracle@asm bin]$ ./emctl secure agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Enter Agent Registration password :
Agent is already stopped… Done.
Securing agent… Started.
Requesting an HTTPS Upload URL from the OMS… Done.
Requesting an Oracle Wallet and Agent Key from the OMS… Done.
Check if HTTPS Upload URL is accessible from the agent… Done.
Configuring Agent for HTTPS in CENTRAL_AGENT mode… Done.
EMD_URL set in /u01/app/oracle/agent10g/agent10g/sysman/config/emd.properties
Securing agent… Successful.
[oracle@asm bin]$ ./emctl start agent
Oracle Enterprise Manager 10g Release 10.2.0.1.0.
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
Starting agent ….. started.
[oracle@asm 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 : /u01/app/oracle/agent10g/agent10g
Agent binaries : /u01/app/oracle/agent10g/agent10g
Agent Process ID : 11844
Parent Process ID : 11829
Agent URL : https://asm:3872/emd/main/
Repository URL : https://ucjmh:1159/em/upload
Started at : 2015-11-15 21:25:30
Started by user : oracle
Last Reload : 2015-11-15 21:25:30
Last successful upload : 2015-11-15 21:25:48
Total Megabytes of XML files uploaded so far : 4.00
Number of XML files pending upload : 29
Size of XML files pending upload(MB) : 6.16
Available disk space on upload filesystem : 63.73%
Last successful heartbeat to OMS : 2015-11-15 21:25:33
—————————————–



Copyright 2019. All rights reserved.

Posted 2015年11月16日 by ucjmh in category "oracle

Leave a Reply

Your email address will not be published. Required fields are marked *