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:
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
- Configuring audit log purge
- Manually purging DB data using CLI commands
- Setting up the system storage alert
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.
To configure purge values:
- Log into the System Manager.
Go to Settings > Data Purge.
Set Auto Purge to ON or Off.
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.
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.
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.
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.
To set how long audit logs are kept:
- Log into the System Manager.
- Go to Settings > Data Purge > Audit Logs Purge Configuration.
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
- Click Apply > OK to save the changes.
To use CLI commands to clean up the disk storage:
- Use ssh to log in to Ivanti EPMM.
- Enter enable to access EXEC PRIVILEGED CLI mode.
- Enter the “enable secret” password.
- 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.
- Enter diskcleanup retired_devices to clean up retired devices from the disk.
- If Ivanti EPMM services were stopped, restart Ivanti EPMM.
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.
To set up the system storage alert:
- Log onto the Admin Portal.
- Click Logs > Event Settings.
- Click Add New > System Event.
- Select System storage threshold has been reached.