Additional findface-video-worker deployment on remote hosts

To install only the findface-video-worker service, do the following:

Tip

Before deployment, be sure to consult the system requirements.

Tip

If you have several video cards on your server, see Multiple Video Cards Usage before deploying findface-video-worker-gpu.

  1. On the FindFace server, open the /etc/findface-security/config.py configuration file and make sure that the ROUTER_URL parameter contains the external IP address of the FindFace server and not the localhost. The findface-video-worker instances on the remote hosts will be using this address for posting faces.

    sudo vi /etc/findface-security/config.py
    
    ...
    
    'ROUTER_URL': 'http://192.168.0.12',
    
    ...
    
  2. Download the installer file findface-security-and-server-4.5.run.

  3. Put the .run file into some directory on the designated host (for example, /home/username).

  4. From this directory, make the .run file executable.

    chmod +x findface-security-and-server-4.5.run
    
  5. Execute the .run file.

    sudo ./findface-security-and-server-4.5.run
    

    The installer will ask you a few questions and perform several automated checks to ensure that the host meets the system requirements. Fill out the prompts appropriately once requested. The questions are the following:

    1. Product to install: FindFace Video Worker.

    2. Type of findface-video-worker package: CPU or GPU.

    3. IP address of the findface-security host.

    After that, the installation process will automatically begin.

    Note

    The answers will be saved to a file /tmp/<findface-installer-*>.json. You can edit this file and use it to install FindFace on other hosts without having to answer the questions again.

Note

If you chose to install findface-ntls and/or findface-video-manager on different hosts than that with findface-security, specify their IP addresses in the /etc/findface-video-worker-cpu.ini (/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

In the ntls-addr parameter, specify the findface-ntls host IP address.

ntls-addr=127.0.0.1:3133

In the mgr-static parameter, specify the findface-video-manager host IP address, which provides findface-video-worker with settings and the video stream list.

mgr-static=127.0.0.1:18811

Tip

To automatically install findface-video-worker on another host without answering the installation questions, use the /tmp/<findface-installer-*>.json file. Execute:

sudo ./findface-security-and-server-4.5.run -f /tmp/<findface-installer-*>.json

You can find an example of the installation file in Installation File.

Important

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