Cleaning up the disk of the Central Node server

When upgrading Central Node on an Astra Linux server, more disk space may be required. If there is not enough disk space, the upgrade process is aborted and a message about insufficient disk space is displayed. You can resume the update process by freeing up disk space on the Central Node server disk using the kata-antiaptdb-cleaner utility. This utility becomes available when you upgrade Kaspersky Anti Targeted Attack Platform to version 7.1.

The utility may delete the following data:

To clean up the disk using the utility:

  1. Sign in to the management console of the Central Node server where you want to clean up the disk via SSH or through the terminal.
  2. When the system prompts you, enter the administrator user name and the password that was specified during installation of the component.

    The application component administrator menu is displayed.

  3. In the application administrator menu, select Technical Support Mode.
  4. Press ENTER.

    This opens the Technical Support Mode confirmation window.

  5. Confirm that you want to manage the application in Technical Support Mode. To do so, select Yes and press ENTER.
  6. Install the disk cleaner utility by running the following command:

    pip install /data/upgrade/whl/kata_antiaptdb_cleaner/kata_antiaptdb_cleaner-1.0-py2.py3-none-any.whl

  7. Run the following command:

    kata-antiaptdb-cleaner

    The system prompts you to specify the number of days for which you want to keep data. By default, data for the last 30 days is kept.

    If you want to keep 1 day's worth of data, consider that data is kept for the past 24 hours counting from the moment when you started the utility.

  8. Do one of the following:
    • If you want to specify the number of days for which you want to keep data, enter a number and press ENTER.
    • If you want to skip this step and keep the default setting, press ENTER.

The utility runs. Data is deleted in accordance with the specified options. Data deletion may take a long time to complete.

You can also specify one or multiple parameters for this command (see the table below).

Utility command line option description

Required parameter

Parameter

Description

No

--help

Help page.

No

--days <number of days>

Number of days for which you want to keep data. Older data is deleted.

No

--clean-yara

Removal of alerts created as a result of scanning objects using YARA technology.

Example command to run the utility with options:

kata-antiaptdb-cleaner --days 40 --clean-yara

Page top