...
Stop the old relay using the following command.
Code Block sudo /etc/init.d/devo-scoja-relay stop
Check that the new relay has started to listen to the ports that were being used by the old relay using the following command:
Code Block sudo netstat -atunp | grep <new_relay_PID>.
Code Block $ sudo netstat -atunp | grep 7214 tcp6 0 0 :::12996 :::* LISTEN 7214/java tcp6 0 0 :::12997 :::* LISTEN 7214/java tcp6 0 0 :::12998 :::* LISTEN 7214/java tcp6 0 0 :::13000 :::* LISTEN 7214/java tcp6 0 0 :::13001 :::* LISTEN 7214/java tcp6 0 0 :::13002 :::* LISTEN 7214/java tcp6 0 0 :::13003 :::* LISTEN 7214/java tcp6 0 0 :::13010 :::* LISTEN 7214/java tcp6 0 0 127.0.0.1:5140 :::* LISTEN 7214/java tcp6 0 0 10.0.2.15:38904 52.19.61.231:443 ESTABLISHED 7214/java tcp6 0 0 10.0.2.15:52986 172.17.12.66:443 ESTABLISHED 7214/java tcp6 1 0 127.0.0.1:47520 127.0.0.1:5140 CLOSE_WAIT 7214/java tcp6 0 0 127.0.0.1:12997 127.0.0.1:46414 ESTABLISHED 7214/java tcp6 1 0 127.0.0.1:47528 127.0.0.1:5140 CLOSE_WAIT 7214/java tcp6 0 0 10.0.2.15:52982 172.17.12.66:443 ESTABLISHED 7214/java udp6 0 0 :::12997 :::* 7214/java udp6 0 0 :::12999 :::* 7214/java udp6 0 0 :::13000 :::* 7214/java udp6 0 0 :::13001 :::* 7214/java udp6 0 0 :::13002 :::* 7214/java udp6 0 0 :::13003 :::* 7214/java udp6 0 0 :::13010 :::* 7214/java udp6 0 0 127.0.0.1:5140 :::* 7214/java udp6 0 0 127.0.0.1:5141 :::* 7214/java
In case the connections don’t show up and the new relay process is not listening in all configured ports or events stop being ingested in Devo, start again the old relay:
Code Block sudo /etc/init.d/devo-scoja-relay start
Please make sure data is still reaching Devo before moving to the next phase.
Once the traffic is being handled by the new relay, adjust the memory allocation of the new relay process. We recommend allocating at least 2GB. Edit the file
/opt/devo/ng-relay/conf/relay/devo-ng-relay.jvmoptions
in case it's needed and restart the service.Code Block sudo systemctl restart devo-ng-relay.service
A test command from the Devo Relay CLI can also be executed to double-check that the sending from the new relay is working.
...