Upgrading Kaspersky Security Center Linux from version 15.4 or earlier through backup

To upgrade Administration Server from version 14.2—15.4 to version 16 or later, you can create a backup of the Administration Server data and restore it after installing a new version of Kaspersky Security Center Linux. If problems occur during installation, you can restore the previous version of Administration Server by using the backup of the Administration Server data created before the upgrade.

To upgrade Kaspersky Security Center Linux from version 15.4 or earlier to the latest version through backup:

  1. Before the upgrade, back up the Administration Server data with an older version of the application.
  2. Uninstall the older version of Kaspersky Security Center Linux.
  3. On the DBMS server, create a database for IAM. The IAM database name must be different from the database used by the Administration Server.
    • For PostgreSQL, run the following command:

      sudo -i -u postgres psql -U postgres -c "CREATE DATABASE <iam_db_name>;"

    • For MariaDB, run the following command:

      sudo mysql -u root -p -e "CREATE DATABASE <iam_db_name>;"

  4. Create an unprivileged account 'ksciam', add it to the 'kladmins' security group, and then set the 'kladmins' group as the primary group for the 'ksciam' account. To do this, sequentially run the following commands:

    sudo adduser ksciam

    sudo gpasswd -a ksciam kladmins

    sudo usermod -g kladmins ksciam

  5. Install Kaspersky Security Center Linux version 16.1 on the former Administration Server device.
  6. Restore the Administration Server data from the backup created before the upgrade.
  7. Install Kaspersky Security Center Web Console.

    If Kaspersky Security Center Web Console was installed earlier, reinstall it with the same response file.

    Log in to Kaspersky Security Center Web Console under the administrator's internal user account.

    The data initialization process usually takes up to 15 minutes after restoring Administration Server data, but the time depends on the hardware performance and the size of the Administration Server data. During this time, Kaspersky Security Center Web Console may fail to connect and display errors.

  8. For devices on which the earlier version of Network Agent was installed, create and run the task for remote installation of the new Network Agent version.

    We recommend that you upgrade the Network Agent for Linux to the same version as Kaspersky Security Center Linux.

    After completion of the remote installation task, the Network Agent version is upgraded.

    Run the following commands on Linux-based assets to remove dependencies that are no longer needed:

    • For Debian-based assets, run either of the following commands:

      sudo apt-get -y autoremove

      sudo apt -y autoremove

    • For RPM-based assets, run either of the following commands:

      sudo dnf autoremove

      sudo yum autoremove

See also:

Upgrading Kaspersky Security Center Linux from version 16 or later by using the installation file

Page top