findface-video-worker Deployment on Remote Hosts
findface-video-worker instances on remote hosts, do the following:
Allow accessing the
findface-ntlslicense server from any IP address. To do so, open the
/etc/findface-ntls.cfgconfiguration file on the server with
listen = 0.0.0.0:3133. Restart the
sudo vi /etc/findface-ntls.cfg ## Address to accept incoming client connections (IP:PORT) ## type:string env:CFG_LISTEN longopt:--listen listen = 0.0.0.0:3133
sudo systemctl restart findface-ntls.service
Allow accessing the
findface-video-managerservice from any IP address. To do so, open the
/etc/findface-video-manager.confconfiguration file on the server with
rpc:listen: 0.0.0.0:18811. Restart the
sudo vi /etc/findface-video-manager.conf listen: 0.0.0.0:18810 ... rpc: listen: 0.0.0.0:18811
sudo systemctl restart findface-video-manager.service
On the FindFace server, open the
/etc/findface-security/config.pyconfiguration file and make sure that the
ROUTER_URLparameter contains the external IP address of the FindFace server and not the localhost. The
findface-video-workerinstances on the remote hosts will be using this address for posting objects.
sudo vi /etc/findface-security/config.py ... 'ROUTER_URL': 'http://192.168.0.12', ...
To install only a
findface-video-worker service, do the following:
Before deployment, be sure to consult the system requirements.
If you have several video cards on your server, see Multiple Video Cards Usage before deploying
Download the installer file
.runfile into some directory on the designated host (for example,
From this directory, make the
Be sure to specify the actual file name instead of
chmod +x findface-*.run
The installer will ask you a few questions and perform several automated checks to ensure that the host meets the system requirements. After filling out each prompt, press Enter. The questions and answers are the following:
Product to install: FindFace Video Worker.
findface-video-workerpackage: CPU or GPU.
IP address of the
After that, the installation process will automatically begin.
If you chose to install
findface-video-manager on different hosts than that with
findface-security, specify their IP addresses in the
/etc/findface-video-worker-gpu.ini) configuration file after the installation.
sudo vi /etc/findface-video-worker-cpu.ini sudo vi /etc/findface-video-worker-gpu.ini
ntls-addr parameter, specify the
findface-ntls host IP address.
mgr-static parameter, specify the
findface-video-manager host IP address, which provides
findface-video-worker with settings and the video stream list.
To automatically install
findface-video-worker on another host without answering the installation questions, use the
/tmp/<findface-installer-*>.json file. Execute:
sudo ./<findface-*>.run -f /tmp/<findface-installer-*>.json
You can find an example of the installation file in Installation File.
To preserve the FindFace compatibility with the installation environment, we highly recommend you to disable the Ubuntu automatic update. In this case, you will be able to update your OS manually, fully controlling which packages to update.
To disable the Ubuntu automatic update, execute the following commands:
sudo apt-get remove unattended-upgrades sudo systemctl stop apt-daily.timer sudo systemctl disable apt-daily.timer sudo systemctl disable apt-daily.service sudo systemctl daemon-reload
The FindFace services log a large amount of data, which can eventually lead to disc overload. To prevent this from happening, we advise you to disable
rsyslog due to its suboptimal log rotation scheme and use the appropriately configured
systemd-journal service instead. See Service Logs for the step-by-step instructions.