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:
Download the installer file
<video-worker-xxx>.run
.Put the
.run
file into some directory on the designated host (for example,/home/username
).From this directory, make the
.run
file executable.chmod +x <video-worker-xxx>.run
Execute the
.run
file. Thevideo-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
: thefindface-videomanager-api
host IP address,-n
: thentls
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"
- Specify the IP address of the
Open the
/etc/video-worker.ini
configuration file for editing.sudo vi /etc/video-worker.ini
In the
ntls-addr
parameter, specify the NTLS host IP address.ntls-addr=127.0.0.1:3133
In the
mgr-static
parameter, specify thevideomanager-api
host IP address, which providesvideo-worker
with settings and the video stream list.mgr-static=127.0.0.1:18811
In the
capacity
parameter, specify the maximum number of video streams to be processed byvideo-worker
.capacity=10