Skip to content

Migrating the Filter Node 2.12 to 2.14 on Linux

To migrate an existing filter node version 2.12 to version 2.14, do the following:

  1. Add the Wallarm repository for the new filter node version.

  2. Update the Wallarm packages.

  3. Restart the services.

Adding the Wallarm Repository for a New Filter Node Version

If your current filter node is installed on Debian (including installations from the backports repositories) or Ubuntu, then comment the existing repository URLs and add the new ones in the /etc/apt/sources.list.d/wallarm.list file:

# deb http://repo.wallarm.com/debian/wallarm-node jessie/

deb http://repo.wallarm.com/debian/wallarm-node jessie/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/debian/wallarm-node buster/

deb http://repo.wallarm.com/debian/wallarm-node buster/2.14/
# deb http://repo.wallarm.com/ubuntu/wallarm-node trusty/

deb http://repo.wallarm.com/ubuntu/wallarm-node trusty/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/

If your current filter node is installed on CentOS or Amazon Linux 2, then comment the existing baseurl parameter and add the new one in the /etc/yum.repos.d/wallarm-node.repo file:

[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

Updating the Wallarm Packages

Update Sequence

If the Wallarm modules are installed separately, first update the postanalytics module.

Update the Wallarm postanalytics module and the Wallarm NGINX/NGINX Plus/Kong module.

If these modules are installed on the same host, then execute the following command:

apt-get install wallarm-node --no-install-recommends
yum upgrade wallarm-node

If these modules are installed on the different hosts, then

  • execute the following command on the appropriate host to update the postanalytics module:
apt-get install wallarm-node-tarantool --no-install-recommends
yum upgrade wallarm-node-tarantool
  • execute the following command on the appropriate host to update the Wallarm NGINX/NGINX Plus/Kong module:
apt-get install wallarm-node-nginx --no-install-recommends
yum upgrade wallarm-node-nginx

Restarting the Services

After successful update of the Wallarm packages, restart the updated services by issuing the following command:

service nginx restart
systemctl restart nginx

The Migration is Complete

Now you should have successfully migrated your filter node to version 2.14.