Skip to content

Updating the Separately Installed Postanalytics Module

These instructions describe the steps to update the postanalytics module installed on a separate server. Postanalytics module must be updated before updating Linux node packages.

Breaking changes and recommendations for different node type upgrade

  • If upgrading Wallarm node 2.18 or lower, please note that version 3.x contains breaking changes. Before upgrading the modules of 2.18 and lower up to 3.4, please carefully review the list of Wallarm node changes and consider a possible configuration change.
  • We recommend to upgrade both the regular (client) and partner nodes of version 3.2 or lower up to version 3.4. It allows to stay up to date with Wallarm releases and prevent installed module deprecation.

Step 1: Add new Wallarm repository

Delete the previous Wallarm repository address and add a repository with a new Wallarm node version packages. Please use the commands for the appropriate platform.

CentOS and Amazon Linux 2

sudo yum remove wallarm-node-repo
sudo rpm -i https://repo.wallarm.com/centos/wallarm-node/6/3.4/x86_64/Packages/wallarm-node-repo-1-6.el6.noarch.rpm
sudo yum remove wallarm-node-repo
sudo rpm -i https://repo.wallarm.com/centos/wallarm-node/7/3.4/x86_64/Packages/wallarm-node-repo-1-6.el7.noarch.rpm
sudo yum remove wallarm-node-repo
sudo rpm -i https://repo.wallarm.com/centos/wallarm-node/8/3.4/x86_64/Packages/wallarm-node-repo-1-6.el8.noarch.rpm

Debian and Ubuntu

  1. Open the file with the Wallarm repository address in the installed text editor. In this instruction, vim is used.

    sudo vim /etc/apt/sources.list.d/wallarm.list
    
  2. Comment out or delete the previous repository address.

  3. Add a new repository address:

    deb http://repo.wallarm.com/debian/wallarm-node stretch/3.4/
    
    deb http://repo.wallarm.com/debian/wallarm-node stretch/3.4/
    deb http://repo.wallarm.com/debian/wallarm-node stretch-backports/3.4/
    
    deb http://repo.wallarm.com/debian/wallarm-node buster/3.4/
    
    deb http://repo.wallarm.com/ubuntu/wallarm-node bionic/3.4/
    
    deb http://repo.wallarm.com/ubuntu/wallarm-node focal/3.4/
    

Step 2: Update the Tarantool packages

sudo apt update
sudo apt dist-upgrade
sudo apt update
sudo apt dist-upgrade
sudo yum update

Step 3: Restart the postanalytics module

sudo systemctl restart wallarm-tarantool
sudo service wallarm-tarantool restart
sudo systemctl restart wallarm-tarantool