Cleansing the Pulse data
Pulse constantly monitors your TM1 instances and stores the information in a h2 database (or https://cubewisecare.atlassian.net/wiki/spaces/PIAC/pages/666173450 , or https://cubewisecare.atlassian.net/wiki/spaces/PIAC/pages/727908358 ) and an Opensearch cluster (Pulse v6 or later).
h2 (or SQL server): It stores all the information that Pulse is monitoring plus Pulse configuration.
Opensearch cluster: It stores all the data second by second.
To know the status and the size of these databases, go to the Pulse Status page on the About page. In the example below the h2 database size is 1 GB and the Opensearch cluster is 21,419 MB:
The Pulse.cfg file includes a https://cubewisecare.atlassian.net/wiki/spaces/PIAC/pages/816119819 section to help you manage the growth of the databases.
Managing the size of the Pulse database
To reduce the size of the database, you can now easily choose to keep only the last 360 days of history.
To do that, a Maintenance section has been added to the conf/Pulse.cfg file including 5 parameters:
MaintenanceJobHourInterval: The maintenance will execute by default each Sunday at 4:30 am (default: 0 30 4 ? * SUN *). To change this time, you will need to add a new CRON expression, you can use a CRON generator (http://www.cronmaker.com/)
ServerHistoricDays: The number of days of server history data to keep (Default: 0, means non-active)
ProcessHistoryHistoricDays (Pulse 5 only): The number of days of process history data to keep (Default: 0, means non-active)
DumpFilesHistoricDays (Pulse 5 only): The number of days of dump files data to keep (Default: 0, means non-active)
PulseLogFilesHistoricDays: The number of days of Pulse logs data to keep (Default: 0, means non-active)
Managing the size of the Pulse Opensearch cluster
If you are not familiar with the Pulse Opensearch data, please read the following article first:
To reduce the size of the Opensearch cluster, you can choose how many years, months and days of data you want to keep per indices.
To do that, a new Maintenance section has been added to the conf/Pulse.cfg file including 3 parameters:
ElasticHistoricYears: The number of yearly indices to be kept by Pulse.
ElasticHistoricMonths: The number of monthly indices to be kept by Pulse.
ElasticHistoricDays: The number of daily indices to be kept by Pulse.
More information on Pulse indices here.
Activate the Maintenance job
To activate the maintenance job:
Stop Pulse services
Update the above Maintenance settings in the conf/Pulse.cfg
Start Pulse services