Additional video-worker deployment on remote hosts

Use the additional installer if you need to install only the video-worker service.

To deploy video-worker from the additional installer, do the following:

  1. Download the installer file <video-worker-xxx>.run.

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

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

    chmod +x <video-worker-xxx>.run
    
  4. Execute the .run file. The video-worker component will be automatically installed.

    sudo ./<video-worker-xxx>.run
    

    Note

    During installation, you will be prompted to answer the following questions:

    • Specify the IP address of the findface-videomanager-api host.
    • Specify the IP address of the ntls host.
    • Specify labels to allocate cameras to this video-worker instance (see Allocate video-worker to Camera Group).

    Tip

    The IP addresses and labels can be specified in command line options upon launching the .run file. Use the following options: -v: the findface-videomanager-api host IP address, -n: the ntls host IP address, -l: allocation labels.

    sudo ./<video-worker-xxx>.run -v 127.0.0.1 -n 172.163.42.34 -l "label1=true;label2=true"
    
  5. Open the /etc/video-worker.ini configuration file for editing.

    sudo vi /etc/video-worker.ini
    
  6. In the ntls-addr parameter, specify the NTLS host IP address.

    ntls-addr=127.0.0.1:3133
    
  7. In the mgr-static parameter, specify the videomanager-api host IP address, which provides video-worker with settings and the video stream list.

    mgr-static=127.0.0.1:18811
    
  8. In the capacity parameter, specify the maximum number of video streams to be processed by video-worker.

    capacity=10