License update in case of NIC replacement

In case of replacing the network card, you need to update the license. To do this:

Stop the DPI service with the command

service fastdpi stop

back up the license:

mkdir /etc/dpi/backup
cp /etc/dpi/fastdpi.lic /etc/dpi/backup
cp /etc/dpi/fastdpi.sig /etc/dpi/backup
rm /etc/dpi/fastdpi.lig
rm /etc/dpi/fastdpi.sig

This allows you to keep the old license and roll it back in case something goes wrong.
When you perform step 7, Stingray will generate a blank license, which will be filled after step 9.

Remove unnecessary cards from under DPDK management. Instructions.

Change the cards. If the server was rebooted after point 2, check that the service is stopped.

Check the PCI numbers of the new cards. Basic commands:

lspci | grep net

and

ll /sys/class/net/

Add new cards to DPDK. Instructions.

Change the PCI numbers in the configuration file.

Run the service.

Contact your VAS Experts manager for the script. Download it from the link and run it.

Select menu item "2. Install packages".

Select "4. Setup DPI test license".

Install the "5. Setup DPI license service".

Check that the service is running by using the command

service fastdpi status

Pay attention to the uptime of the service.