Moving the MPP logs to a different location

Last Updated : Jun 05, 2026 |

About this task

If you need to free up space on an MPP server, you can use the mppMoveLogs.sh script to create a new directory and move the MPP logs to that directory.

Procedure

  1. Install the target drive or create the target partition as described in your operating system documentation.
    Important:

    Do not create the new directory on this drive or partition, as the script will fail if the directory already exists.

    The drive or partition must be local to the MPP server and it must contain either 2 GB of free space or be at least as large as the current $AVAYA_MPP_HOME/logs directory, whichever value is greater.

    Tip:

    For a good tutorial about creating a partition, see http://tldp.org/HOWTO/html_single/Partition/.

  2. If you created a new partition, add an entry for the partition in the /etc/fstab file so that it is automatically mounted when the system is booted.

    If the partition for the directory will only host the Experience Portal log directory, you can improve security by setting its properties in the /etc/fstab file to rw,nosuid,noexec,auto,nouser,async,noatime,nodev. For more information about these options, refer to Man pages on Linux for the Mount command

  3. Log on to the EPM web interface by using an account with the Administration or Operations user role.
  4. Stop the MPP whose logs you want to move:
    1. From the EPM main menu, select System Management > MPP Manager.
    2. On the MPP Manager page, click the Selection check box next to the name of the MPP you want to stop.
    3. Click Stop in the State Commands group.
    4. Wait until the operational state becomes Stopped. To check this, click Refresh and look at the State field.
      Note:

      The operational state changes when the last active call completes or the grace period expires, whichever comes first.

  5. Log on to Linux on the Experience Portal MPP server.
    • If you are an Avaya Services representative, and use Avaya Enterprise Linux, or if the Avaya Service accounts are installed on this server, log on to the local Linux console as root.

    • Otherwise, log on remotely as a non-root user, and then change the user to root by entering the su - root command.

  6. Enter the bash mppMoveLogs.sh [-logdir directory_name] command, where -logdir directory_name is an optional parameter specifying the directory name that you want to use.

    If you do not specify this parameter on the command line, the script prompts you for the directory name during execution. If the directory you specify already exists, the script returns an error message and fails. This ensures that no existing files will be overwritten by the script.

    When the script completes successfully, all of the current logs will reside in the new location, and all future logs will be stored in the new location.

  7. Restart the MPP:
    1. From the EPM main menu, select System Management > MPP Manager.
    2. On the MPP Manager page, click the Selection check box next to the name of the MPP you want to start.
    3. Click Restart in the State Commands group
    4. Wait until the operational state becomes Running. To check this, click Refresh and look at the State field.