Data Purge

Ivanti EPMM stores significant amounts of data in its database and log files. Every four hours, Ivanti EPMM automatically purges client logs and notification tables. You can automatically or manually purge other data. Purging enables you to:

  • Manage system storage
  • Fulfill corporate or legal requirements for data disposal

For example, a production system managing thousands of phones can exhaust available system storage. In addition, certain industries and countries must adhere to legal mandates requiring purging of data after a pre-defined period of time.

Ivanti EPMM provides a data purging feature that enables you to:

  • turn auto-purging on/off
  • configure auto-purging based on system storage usage or the age of the data
  • manually purge audit log data
  • manually purge old database data using CLI commands

This section includes the following topics:

Configuring manual or automatic data purge

You can configure auto-purging based on either the amount of system storage used or the age of the data stored. The page also displays the amount of data currently in system storage, and the last Ivanti EPMM run status for data and log files.

Procedure 

To configure purge values:

  1. Log into the System Manager.
  2. Go to Settings > Data Purge.

  3. Set Auto Purge to ON or Off.

  4. To purge data based on the age of the data:

    • Enter a value for Keep data no more than __ days. The default is 90 days.
    • Enter a value for Keep logs no more than __ days. The default is 30 days.

    Selected times are based on the Ivanti EPMM system time.

  5. Enter a time in the Purge daily drop-down menu to purge data and logs at a specific time each day. The default is 3 AM.

  6. Purge data using one of the following options:

    • Manual: click Apply to configure settings then click Purge Now to begin manual purging.
    • Automatic: set the Auto Purge to On, configure settings, click Apply> OK.

Configuring audit log purge

You specify how long audit logs are retained on Ivanti EPMM. Determining how long to retain data is a balance between having data you need and having the available server resources to run your Ivanti EPMM. The default value is 90 days.

Procedure 

To set how long audit logs are kept:

  1. Log into the System Manager.
  2. Go to Settings > Data Purge > Audit Logs Purge Configuration.
  3. Select the number of days Ivanti EPMM retains log information. Select from the following options:

    • Last three months (the default)
    • Last one month
    • Last two months
    • Last three months
    • Last four months
    • Last six months
    • Last twelve months
  4. Click Apply > OK to save the changes.

Manually purging DB data using CLI commands

Procedure 

To use CLI commands to clean up the disk storage:

  1. Use ssh to log in to Ivanti EPMM.
  2. Enter enable to access EXEC PRIVILEGED CLI mode.
  3. Enter the “enable secret” password.
  4. Enter dbcleanup purge_data to clean up the database. If Ivanti EPMM services are not already stopped, this command stops them and restarts them when it finishes the clean up.
  5. Enter diskcleanup retired_devices to clean up retired devices from the disk.
  6. If Ivanti EPMM services were stopped, restart Ivanti EPMM.

Setting up the system storage alert

You can set up a System Event to alert you when system storage reaches the level specified. You can use this alert, for example, to indicate the need for manual purging or to prompt personnel to confirm successful auto-purging.

Procedure 

To set up the system storage alert:

  1. Log onto the Admin Portal.
  2. Click Logs > Event Settings.
  3. Click Add New > System Event.
  4. Select System storage threshold has been reached.