分配给CUCM的硬盘空间为80G，CUCM软件版本为10.5.1.10000-7，出现CUCM分区空间使用率高超过系统监控平台阈值85%的情况。 一、show status会显示多个partition，不同的partition代表不同的涵义 log in CUCM via CLI and run “show status” command, you will see Active, Inactive and Logging partitions of HDD. There is the details of all Partition about what they store. 1.Common partition (log partition)—Contains the trace/log files 2.Active partition—Contains files (binaries, libraries and config files) of active OS and the Cisco Unified CM release 3.Inactive partition—Contains files for alternative Cisco Unified CM release (for example, an older version that was upgraded from or newer version recently upgraded to but the server has not been toggled to this release). 3.Swap partition—Used for swap space. 二、遇到该类问题相关解决方式 To elaborate a bit more on the behavior, some versions of CUCM use more space than others, and that can vary by a few factors like the size of the database, the OVA Template used to create the VM (some have more allocated disk space than others) and the amount of configuration applied and number of enabled logs. If CUCM approached 100% on that “active” partition it would delete any unnecessary files to free up space.
由于某些版本的CUCM使用的空间比其他版本多，并且可能因数据库的大小，用于创建VM的OVA模板等因素而有所不同。如果CUCM在该“活动”分区上接近100％，它将自动删除任何不必要的文件以释放空间。 三、清理及修改阀值的步骤 Free Up Space for Unified CM L2 Upgrade To free up space from the /common partition on the Cisco Unified Communications Manager node, follow the instructions below: Retrieve Core Files Using RTMT Use RTMT to retrieve any core files that may have been in the system: 1. Log in to RTMP and double-click Collect Crash Dump. 2. From the pop-up window, select Cisco Call Manager. Then click Next. 3. Click Next twice. 4. From the Collection Time portion of the pop-up window, select the radio button for Relative Range, and specify the time in minutes, hours, days, weeks and months. 5. On the Download File Options, select whether you want to zip the file. The Download File Location points to the default location. You can change the location by clicking the Browsebutton. Regardless of whether you zip the file, a pop-up window displays a warning message. 6. Wait for RTMT to retrieve any core files.
You can use the CLI to determine if the system has any core files on the active or inactive partitions. The system provides a set of commands to display and delete any existing core files, as follows: 1. Log in to the Unified CM CLI as administrator. 2. From the CLI, you can display any existing core files. Select the active/inactive partition where you want to display the core files by using the utils core active list or file list activelog corecommands. 3. Delete the specific core file by using the command: file delete activelog core 4. Check for available disk space.
Purge Log Files by Changing the Log Partition Watermarks Another way to create additional disk space is by changing the high and low watermarks on the system. This informs Unified CM of the numbers of log files to purge once the watermark is reached. Use RTMT as follows: 1.Launch RTMT and log in to the desired cluster. 2.From the left pane, select Alert Central. 3.On the right pane, double-click LogPartitionHighWaterMarkExceeded. Change the threshold value to 60. 4.On the right pane, double-click LogPartitionLowWaterMarkExceeded. Change the threshold value to 50. 5. This data is polled every five minutes. Allow five to 10 minutes and then check the drive partitions for additional disk space by using one of the methods described above. If you want to free up more disk space in the common partition, change the LogPartitionHighWaterMarkExceeded and LogPartitionLowWaterMarkExceeded threshold values to lower numbers (for example, 30/20). Note: After the L2 upgrade finishes, change the thresholds back to their original values. (The defaults are 95 percent for high watermark and 90 percent for low watermark.)
需特别注意： Cisco does not recommend removing files without the support of a technical support engineer. Some files may be required and removing them could affect platform and/or application stability.