Upgrade TufinOS 3 to 4: HA, VMWare ESXi

Overview

This procedure is for upgrading TufinOS 3 to 4 on VMWare ESXi machines in a high availability deployment. This requires upgrading first the worker nodes and then the data nodes.

If you have both central and remote clusters, upgrade the central cluster first.

During the TufinOS upgrade there will be some downtime. This procedure does not require reinstalling TOS.

Is This The Right Procedure?

This procedure is ONLY for:

  • TOS R24-2

  • Central clusters or remote clusters - If you DO NOT plan on making changes in the server configurations (For example: IP address, server timezone).

  • High availability deployments

  • Upgrades on the same VMWare ESXi machines

If your TOS release is not R24-2, go to the Knowledge Center that matches your TOS version. If other requirements are not met, select a different procedure.

Prerequisites

  1. This procedure must be performed by an experienced Linux administrator with knowledge of network configuration.

  2. Ensure that each partition has at least 30% available space. No partition should exceed 70% usage.
    [<ADMIN> ~]$ df -h | awk '$5+0 > 70 {print $0}'
    df -h | awk '$5+0 > 70 {print $0}'

    Do not proceed with the upgrade until the output returns 0 results.

  3. For R24-2 PGA.0.0 and later, if you are using NFS your backup server needs to be running NFS 4.

    From R24-2 PHF1.0.0 and later, if you are running NFS 3 on your backup server it will not work because of a security vulnerability. If you want to ignore the security vulnerability to enable NFS 3, you need to run the following commands on all TOS servers that are using TufinOS 4.20 and later:

    systemctl unmask rpcbind.socket rpcbind.service
    systemctl unmask rpcbind.socket rpcbind.service
    systemctl start rpcbind.socket rpcbind.service
    systemctl start rpcbind.socket rpcbind.service
    systemctl enable rpcbind.socket rpcbind.service
    systemctl enable rpcbind.socket rpcbind.service
  4. For data nodes only. If you have not already separated the etcd database, add a second disk to the machine.

    • Size: 50 GB

    • Select a storage type of SSD. Take into consideration that TOS requires 7,500 IOPS and the throughput expected will average 250MB/s with bursts of up to 700MB/s.

Downloads

  1. Download the TufinOS 4.50 installation package from the Download Center to your local machine.

    • For a VMWare ESXi machine, download the .iso image file.

  2. Extract the TufinOS image from its archive.

    [<ADMIN> ~]$ sudo tar xzvf <FILENAME>.tgz
    sudo tar xzvf <FILENAME>.tgz

    The run file name includes the release, version, build number, and type of installation.

    TufinOS ISO file example: TufinOS-4.50-4368238-x86_64-Final.iso

  3. Verify the integrity of the TufinOS installation package.

    [<ADMIN> ~]# sha256sum -c TufinOS-X.XX-XXXXXX-x86_64-Final.iso.sha256
    sha256sum -c TufinOS-X.XX-XXXXXX-x86_64-Final.iso.sha256

    The output should return OK

Preliminary Preparations

  1. If you are running a multi-node cluster, get a list of your nodes.

    [<ADMIN> ~]$ sudo tos cluster node list
    sudo tos cluster node list

Upgrade Worker Nodes

Repeat these steps for each worker node.

Upgrade The Data Nodes

After upgrading a data node, run tos status and check if the System Status is ok and all the items listed under Components appear as ok. If this is not the case, wait for the database to sync before proceeding to upgrade the next node.