Guest

Cisco Unified MeetingPlace Express

MeetingPlace Express Disk Space Optimization

Document ID: 116168

Updated: Jul 02, 2013

Contributed by Cisco TAC Engineers.

   Print

Introduction

This document describes how to ensure that you have sufficient disk space in each of the MeetingPlace Express partitions in order to protect the health of the system.

Background Information

A server that is low in disk space can cause a variety of major issues, such as these:

  • MeetingPlace Express server reboots unexpectedly.
  • Web Page is no longer accessible.
  • Upgrade fails due to an insufficient disk space error message.

 You might also receive alarm messages that indicate that the available disk space is low.

Create Disk Space

Here is a list of useful commands that you can use at any time in order to create more disk space.

Note: For any commands given, you can ignore the text "[root@server mpxadmin]# " because it serves as a prompt similiar to the one you see in the Secure Shell (SSH) session with MeetingPlace Express when you enter the commands. The commands follow the prompt text.

  • In order to change to a directory, enter:
    [root@server mpxadmin]# cd (directory)
  • For example, this command changes the directory to the /tmp/ folder:
    [root@server mpxadmin]# cd /tmp/
  • In order to view the current directory you are in, enter:
    [root@server mpxadmin]# pwd
  • In order to see the list of files and directories within a directory as well as their file sizes, enter:
    [root@server mpxadmin]# ls -l

Complete These Steps in Order to Create Disk Space

  1. SSH to the Multiprotocol Encapsulation (MPE) server. You can use SSH software such as PuTTY.
  2. Log in as the user mpxadmin.
  3. Change to root with this command:
    [root@server mpxadmin]# su
  4. Enter the root password.
  5. In order to check the size of the partitions, enter:
    [root@server mpxadmin]# df -h

    This lists each partition along with the total size, amount of space used, amount of space available, and the percentage of used space.
    The output should look similar to this:
    [root@server mpxadmin]# df -h

    Filesystem Size Used Avail Use% Mounted on
    /dev/cciss/c0d0p1 5.8G 3.5G 2.1G 63% /
    /dev/cciss/c0d0p6 3.9G 2.2G 1.6G 59% /common
    /dev/cciss/c0d0p2 7.7G 6.0G 1.4G 82% /db
    /dev/cciss/c0d0p9 247M 4.3M 230M 2% /grub
    /dev/cciss/c0d0p7 3.4G 99M 3.1G 4% /mpx-record
    /dev/cciss/c0d0p5 4.9G 4.9G 0 100% /opt
    /dev/cciss/c0d0p3 5.8G 33M 5.5G 1% /partB
    none 1.5G 23M 1.5G 2% /dev/shm

The most common issues are caused by the /opt and the / partitions being 100% or almost 100% utilized. Partitions should be under 90% utilized.

  1. In order to change to the directory that might contain many unnecessary log files, enter:
    [root@server mpxadmin]# cd /opt/macromedia/breeze/content/7
  2. In order to view the list of files and folders, enter:
    [root@server mpxadmin]# ls -l

    The ls - l command displays many breeze log directories that are no larger than 4k. Since there are many directories, they can fill up your /opt partition. You can delete all these directories.
  3. The command to delete these directories is:
    [root@server mpxadmin]# rm -Rf 1*

    Note: The 1* means it deletes all directories that have a 1 at the beginning of their name; you can use 11* if you want to remove all with *11 at the beginning, and so on.

    Warning: If you run the rm command in the wrong directory, you might delete important files or folders that should not be deleted. There might be no way to recover from this other than to reinstall.

  4. In order to change to the next location, enter:
    [root@server mpxadmin]# cd /opt/macromedia/macromedia-breeze-5.1-161/
    logs/support/diagnostic/_defaultVHost_/meetingapp/7/

    [root@server mpxadmin]# ls -l

    Again, you might see many breeze log directories that are no larger than 4k. Since there are many directories, they can fill up your /opt partition.
  5. In order to delete these directories, enter:
    [root@server mpxadmin]# rm -Rf 1*

    Note: The 1* means it deletes all directories that have a 1 at the beginning of their name; you can use 11* if you want to remove all with *11 at the beginning, and so on.

  6. Next, check the db-maintenance.log.DATE archive files. These can also accumulate. You can delete them all, or you can delete all but the last seven days.
    [root@server mpxadmin]# cd /opt/cisco/meetingplace_express/database/db-maintenance/logs/
  7. In order to list the files, enter:
    [root@server mpxadmin]# ls -l
  8. Remove the files with this command. But, you need to enter the date from the file names in the "DATE" field.
    [root@server mpxadmin]# rm -f db-maintenance.log.DATE
    (Example: rm -f db-maintenance.log.2012-01* - this will delete
    archived logs for January 2012.)

    Warning: DO NOT remove the db-maintenance.log file, because this file is used by the system.

  9. In order to clear the debug log file, enter:
    [root@server mpxadmin]# cd /opt/macromedia/macromedia-breeze-5.1-161/logs/support/
  10. In order to clear the debug log, enter:
    [root@server mpxadmin]# cat /dev/null > debug.log
  11. In order to clear the syslog file, enter:
  12. [root@server mpxadmin]# cd /var/log
  13. In order to clear the syslog log, enter:
    [roo@server mpxadmin]# cat /dev/null > syslog
  14. In order to clear the unused sendmail queued messages (qf.... and df.... files) in /var/spool/mqueue and /var/spool/clientmqueue (if it exists), enter:
    [root@server mpxadmin]# cd /var/spool/mqueue
    [root@server mpxadmin]# rm -f qfo*
    [root@server mpxadmin]# rm -f dfo*

    There might also be files with capital letters at the beginning. Check for more files with:
    [root@server mpxadmin]# ls -l
  15. In order to remove any Xsession errors from the server, enter:
    [root@server mpxadmin]# rm -f /root/.xsession-error*
  16. Another location to check is:
    [root@server mpxadmin]# cd /opt/macromedia/macromedia-breeze-5.1-161/
    logs/support/remote/meetingapp@localhost/7

    Note: This directory might not exist in all installations.

    Warning: Do NOT proceed to delete files in this directory if you get this message: bash: cd: /opt/macromedia/macromedia-breeze-5.1-161/logs/support/remote/meetingapp@localhost/7: No such file or directory.

  17. In order to check for folders here, enter:
    [root@server 7]# ls -l

    You might see old directories like this:
    drwxrw----    2 breeze   breeze       4096 Jun 29  2012 1060248
    drwxrw----    2 breeze   breeze       4096 Aug 16  2012 1196754
    drwxrw----    2 breeze   breeze       4096 Aug 27  2012 1228243
  18. In order to delete these directories, enter:
    [root@server 7]# rm -Rf 1*

    Note: The 1* means it deletes all directories that have a 1 at the beginning of their name; you can use 11* if you want to remove all with *11 at the beginning, and so on.

  19. Then, check for old installation files on the hard drive. Enter this command in order to automatically remove unnecessary files.
    [root@server mpxadmin]# mpx_cleanup -all

    Note: If no old installation files are detected, a message displays that indicates that there are only two versions on the system and there is nothing to remove. This error message does not allow the system to delete important files, so it is safe to enter the mpx_clean -all command.

  20. At the end of this process, enter the df -h command again in order to display the status of your disk space.
    [root@server mpxadmin]# df -h
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/cciss/c0d0p1     5.8G  3.5G  2.1G  63% /
    /dev/cciss/c0d0p6     3.9G  2.2G  1.6G  59% /common
    /dev/cciss/c0d0p2     7.7G  6.0G  1.4G  82% /db
    /dev/cciss/c0d0p9     247M  4.3M  230M   2% /grub
    /dev/cciss/c0d0p7     3.4G   99M  3.1G   4%/mpx-record
    /dev/cciss/c0d0p5     4.9G  4.1G  570M  88% /opt
    /dev/cciss/c0d0p3     5.8G   33M  5.5G   1% /partB
    none                  1.5G   23M  1.5G   2% /dev/shm

    Remember that partitions should be under 90% utilized. MeetingPlace Express experiences issues when the partitions are 100% utilized.
Updated: Jul 02, 2013
Document ID: 116168