Upgrade From TOS Aurora

Overview

If you monitor Stonesoft, devices, do not upgrade from R21-3 to R22-2. Instead upgrade directly to R23-1 PHF2.1.0 or later. This is due to a bug in the upgrade process that might cause the last modified date in the Rule Viewer to be incorrect for some Stonesoft devices. If you have already upgraded from R21-3 to R22-2, a fix may be available - contact support for details. We apologize for the inconvenience.

This procedure is for upgrading to release R22-2 and it is identical for all platforms and operating systems. For all other installation paths such as upgrading from TOS Classic to TOS Aurora and clean install, see the appropriate procedure in the menu. Before starting you should make a backup and export it outside of the cluster.

This procedure must be run on the primary data node.

If you are upgrading from R21-3 or later, this procedure is run once per cluster on the primary data node and will automatically upgrade TOS on all other nodes in the cluster with the exception of the CLI. When running CLI commands on the other nodes in the cluster, you will be prompted to upgrade the TOS CLI.

If you are upgrading from R21-2 or earlier, the procedure involves some extra steps due to infrastructure changes and worker nodes will need to be reconnected manually, as described below.

After the upgrade completes successfully, you should make a new backup as previous backups made on one product version cannot be restored to another.

Prerequisites

OS Compatibility and Upgrade Paths

  1. Make sure your current version can be upgrade directly to this version of TOS Aurora - see TOS Aurora Upgrade Paths.
  2. If you are running on a non-TufinOS operating system, make sure your operating system is Red Hat Enterprise Linux 8.6, 8.8, or 8.9.

  3. If you are running on the TufinOS operating system, make sure your current OS version will support the new version of TOS Aurora - see TufinOS Compatibility. Either way, we always recommend upgrading TufinOS to the latest version.

Port and Services

  1. If your deployment incorporates remote clusters and you are upgrading from a release lower than R23-1, be aware that an additional port 9090 is now required for successful running of TOS - see remote collector ports.

Downloads

  • Download the TOS R22-2 PHF4.0.0 installation package from the Download Center.

  • The downloaded files are in .tgz format <FILENAME>.tgz.

Required Steps Before Starting

  1. Run the command tos status. In the output, make sure system status is "OK", all nodes are "healthy" and under "Disk usage" /opt is not more than 70%. If any of these conditions are not met, the upgrade will fail.

  2. Make sure you have at least 25 GB free on the primary data node in the /tmp directory.

  3. If you monitor devices managed by a management device/domain that does not have a dedicated license because it inherits its license status from its monitored devices/domains e.g. FMC, FMG, Panorama, make sure all such monitored devices/domains are licensed or removed. Failure to do this will cause the management device/domain to be unlicensed after the upgrade.

  4. If you are upgrading a remote collector cluster:

    • Do not start the upgrade until the upgrade to the central cluster has completed.

    • It must run it under the same release as the central cluster.

    • When upgrading from a remote collector cluster running release R20-2, the cluster will need to be reconnected manually to the central cluster. When upgrading from later versions, this is done automatically.

  5. Your license must be activated before starting the upgrade, otherwise the procedure will abort.

    Select Admin > Licenses. The License window appears.

    Activated:

    Not Activated:

    If the license is not activated, follow the instructions in Activate License.

  6. Make a backup of the installation file that was used for your current TOS Aurora installation - /opt/tos/tos.tar - to a directory outside of /opt/tos This is necessary in case there is a need to roll back.

  7. Transfer the run file to the primary data node to directory /opt/tufin/data.
  8. If you use automated provisioning and you are upgrading from R21-3 or higher, make sure there are no queued provisioning tasks. You can check this using the waiting_tasks API.

Upgrade Procedure

Read and understand Prerequisites before you start.

  1. Log in to the primary data node using SSH as user tufin-admin or another user with sudo or root privileges.

  2. Check your current version by running the following command:

    [<ADMIN> ~]# tos version
    tos version
  3. Check that your cluster status is healthy.

  4. Make sure all users are logged out from the browser.

  5. Make a one-time backup.

  6. After your backup has completed, continue by running commands:

    [<ADMIN> ~]# screen -S upgrade
    screen -S upgrade
  7. Extract the TOS run file from its archive.

    [<ADMIN> ~]$ tar -xvzf tos-xxxx-xxxxxxxx-final-xxxx.run.tgz
    tar -xvzf tos-xxxx-xxxxxxxx-final-xxxx.run.tgz
  8. Run the following commands:

    [<ADMIN> ~]# cd /opt/tufin/data/
    cd /opt/tufin/data/
    [<ADMIN> ~]# sh <rls>.run
    sh <rls>.run

    where

    <rls> is the name of the file extracted in prerequisites.

  9. If upgrading from R22-2 PGA.0.0 or R22-1 PHF3.x and your syslog VIP is set up with transport TCP, import the syslog certificate.

    [<ADMIN> ~]# sudo tos certificate import --type syslog --ca=<CA-PATH> --cert=<CERT-PATH> --key=<KEY-PATH> --skip-cli-validation
    sudo tos certificate import --type syslog --ca=<CA-PATH> --cert=<CERT-PATH> --key=<KEY-PATH> --skip-cli-validation

    Make sure your TCP syslogs are sent over TLS.

  10. Upgrade TOS:

    [<ADMIN> ~]# tos update /opt/tos/tos.tar
    tos update /opt/tos/tos.tar
  11. Reconnect worker nodes (only if upgrading from R21-2 or earlier).

    If you are upgrading from release R21-3 or later, skip this step.

    If you have worker nodes, they will be disconnected. The upgrade procedure will detect the nodes and ask you if you want to reconnect them now or later. Select one of the following:

    • Stop the upgrade and add the nodes now.

      After adding the nodes, run the tos update command again.

      [<ADMIN> ~]# tos update /opt/tos/tos.tar
      tos update /opt/tos/tos.tar

      If all nodes have been added, the upgrade will continue from where it left off, otherwise the upgrade procedure will again ask you if you want to reconnect them now or later.

    • Continue with the upgrade without adding nodes.

      The upgrade procedure will continue. You can add the worker nodes if and when required.

    On completion, a confirmation message appears.

  12. Verify.

    Check again the tos version as described in upgrade procedure step 2 above. Make sure that the version displayed is the one to which you intended to update.

    [<ADMIN> ~]# tos version
    tos version

    Check again the cluster status. This time there is only one option - that for R21-3 and later - as described in upgrade procedure step 3 above.

    [<ADMIN> ~]# systemctl status k3s
    systemctl status k3s
  13. Make a new backup.

    Before allowing users to start work, make a new one-time backup. This is necessary because the data schemas have been modified and any backups made before the upgrade can no longer be restored to the new version of the product. See Backup Procedure.

  14. Update Tufin extensions (formerly Tufin Marketplace apps) and Tufin Professional Services solutions (only if upgrading from R21-2 or earlier)

    If you had apps installed and you did not upload the latest install files to the primary data node as explained in Prerequisites, they must be upgraded manually to work with the new TOS release.

    • Download the latest versions at extensions.tufin.com or marketplace.tufin.com/my-apps/, or get the upgrade packages directly from your PS representative. and place them on the primary data node.

    • For files of type .run, reinstall as described in the appropriate app KC.

    • For files of type .tar, run the following command on the primary data node

      [<ADMIN> ~]# tos apps upgrade <path.tar>
      tos apps upgrade <path.tar>

      where <path.tar> is the full path of the file

  15. If you have FortiManager devices in SecureTrack, add a SAN signed certificate to each device.

  16. (Recommended) Make sure users clear their browser cache.