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 the WAF node modules.

Step 1: Add new Wallarm WAF repositories

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

    sudo vim /etc/apt/sources.list.d/wallarm.list
    
    sudo vim /etc/apt/sources.list.d/wallarm.list
    
    sudo vim /etc/yum.repos.d/wallarm-node.repo
    
  2. Comment out the previous repository address and add an address for Wallarm WAF 2.14:

    # deb http://repo.wallarm.com/debian/wallarm-node jessie/
    # deb http://repo.wallarm.com/debian/wallarm-node jessie-backports/
    deb http://repo.wallarm.com/debian/wallarm-node jessie/2.14/
    deb http://repo.wallarm.com/debian/wallarm-node jessie-backports/2.14/
    
    # deb http://repo.wallarm.com/debian/wallarm-node stretch/
    deb http://repo.wallarm.com/debian/wallarm-node stretch/2.14/
    
    # deb http://repo.wallarm.com/debian/wallarm-node stretch/
    # deb http://repo.wallarm.com/debian/wallarm-node stretch-backports/
    deb http://repo.wallarm.com/debian/wallarm-node stretch/2.14/
    deb http://repo.wallarm.com/debian/wallarm-node stretch-backports/2.14/
    
    # deb http://repo.wallarm.com/ubuntu/wallarm-node xenial/
    deb http://repo.wallarm.com/ubuntu/wallarm-node xenial/2.14/
    
    # deb http://repo.wallarm.com/ubuntu/wallarm-node bionic/
    deb http://repo.wallarm.com/ubuntu/wallarm-node bionic/2.14/
    
    [wallarm-node]
    # baseurl=http://repo.wallarm.com/centos/wallarm-node/6/$basearch
    baseurl=http://repo.wallarm.com/centos/wallarm-node/6/2.14/$basearch
    
    [wallarm-node]
    # baseurl=http://repo.wallarm.com/centos/wallarm-node/7/$basearch
    baseurl=http://repo.wallarm.com/centos/wallarm-node/7/2.14/$basearch
    
  3. Upload files from the newly added repository:

    sudo apt update
    
    sudo apt update
    
    sudo yum update
    

Step 2: Install updated Tarantool packages

sudo apt install wallarm-node-tarantool
sudo apt install wallarm-node-tarantool
sudo yum update wallarm-node-tarantool

Step 3: Restart the postanalytics module

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