现象:
[oracle@hotel02 trace]$ cd /u01/app/agent11g/bin
[oracle@hotel02 bin]$ ./emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 11.1.0.1.0
OMS Version : 11.1.0.1.0
Protocol Version : 11.1.0.0.0
Agent Home : /u01/app/agent11g
Agent binaries : /u01/app/agent11g
Agent Process ID : 6581
Parent Process ID : 6555
Agent URL : https://hotel02:3872/emd/main/
Repository URL : https://gc.localdomain:4900/em/upload
Started at : 2013-01-14 16:40:30
Started by user : oracle
Last Reload : 2013-01-14 19:41:39
Last successful upload : 2013-01-14 17:47:29
Total Megabytes of XML files uploaded so far : 14.39
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 1.82%
Collection Status : Disabled by Upload Manager
Last successful heartbeat to OMS : 2013-01-15 04:15:19
---------------------------------------------------------------
Agent is Running and Ready
[oracle@hotel02 bin]$ ./emctl upload agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
EMD upload error: Upload was successful but collections currently disabled - disk full
[oracle@hotel02 bin]$ df -h
文件系统 容量 已用 可用 已用% 挂载点
/dev/sda2 28G 26G 506M 99% /
/dev/sda1 99M 30M 65M 32% /boot
tmpfs 2.9G 1.6G 1.4G 54% /dev/shm
#Cause
The EMD disk system shows used percent at 99%.
The agent default for space required for upload files is 98%. The collections will stop when the
space on the disk is beyond that.
#Solution
To implement the solution, please execute the following steps:
1. Update the AGENT OH/sysman/config/emd.properties with the parameter:
UploadMaxDiscUsedPct=99
UploadMaxDiskUsedPctFloor=99
2. Stop the agent: ./emctl stop agent
3. Start the agent: ./emctl start agent
4. Upload to the OMS: ./emctl upload agent
或是释放系统空间。