General information#
It is recommended to read and understand this document. It will help you to find out what components FaceStream consists of and what tasks they solve.
Deploy should be performed in the order specified in the document.
All the procedures in the following manual are described for CentOS. If it is required to deploy dockers on any other OS, please refer to the Docker Compose documentation for information:
https://docs.docker.com/compose/install/
FaceStream requires LUNA PLATFORM components, additional databases, and the LUNA Streams service. Basic information about this software is contained in this document.
LUNA Streams is not a component of the LUNA PLATFORM.
The following LUNA PLATFORM components are used by default with FaceStream.
-
LUNA Licenses is used to license the LUNA Streams service.
-
LUNA Configurator is used for quick access to the basic FaceStream settings and LUNA PLATFORM service settings.
-
PostgreSQL is used as the default database for the LUNA Streams service. It is also possible to use an Oracle database instead of PostgreSQL.
-
InfluxDB is used for monitoring. If necessary, monitoring can be disabled.
The following database versions are recommended for use with LUNA Streams:
- PostgreSQL: 12
- Oracle: 11.2
Installation and configuration of Oracle is not described in this manual. Further in the document, examples of launching using PostgreSQL will be given.
Balancers and other software can be used when scaling the system to provide fail-safety. Their configuration is not described in this document.
Sequence of actions before launching#
Before launching FaceStream, you should perform a number of actions described in the "Before launching" section.
Some of the actions are mandatory, and some of the actions depend on whether the LUNA PLATFORM services are launched and whether the license is activated.
Sequence of actions before manual launching#
If the LUNA PLATFORM services are not launched and the license is not activated at the time of the FaceStream launch, then the following steps should be performed before manual or automatic launch:
-
Activate the license (see the "License key activation when LP is not launched" section);
-
Run the required components (see the "Launching LP Services" section):
- Influx OSS 2 container
- PostgreSQL container
- LUNA Configurator container
- LUNA Licenses container
After the completed steps, you can proceed with manual or automatic launch of LUNA Streams and FaceStream.
Sequence of actions before automatic launching#
If the LUNA PLATFORM services are launched and the LUNA PLATFORM license is activated at the time of the FaceStream launch, then you need to make sure that the license specifies a parameter that determines the number of streams to be processed by the LUNA Streams service and specify the address of the server with the LUNA Licenses service launched in the LUNA Configurator service (see the "License key activation when LP is launched").
After the completed steps, you can proceed with manual or automatic launch of LUNA Streams and FaceStream.