In this article:

Development Environment and Test Environment

Task Scheduler

Production Environment Configuration

System Configuration

A system is an information system that is developed as a sequence of environments that satisfy customer needs. To develop the system, one will require at least three environments:

System configuration should take into account:

Foresight Analytics Platform supports work in containerization and virtualization environments, with monitoring systems, data backup and recovery systems, security information and event management systems.

Development Environment and Test Environment

The test environment matches the development environment and assumes the following:

Designations:

The algorithm of interaction of environment elements:

  1. The user interacts with web application interface in the browser.

  2. The browser interacts with web application back end. On the first use of the web application back end, the required web application files and the page with the login dialog box. The web application reads settings from the config.json configuration file.

  3. The further interaction between the browser and the BI server depends on the method in use:

  1. The B server sends queries to the licensing service to determine access to the functionality.

  2. The licensing service handles the obtained queries and redirects them to the license server. The license server checks if there is a valid license for corresponding features and sends response to the BI server via the licensing service.

  3. The BI server interacts with the DBMS using business logic core.

The BI server includes business logic core and security core:

Task Scheduler

A task scheduler is added to the environment to execute scheduled resource intensive tasks:

Designations:

IMPORTANT. The task scheduler must be located separately from the BI server.

The user creates tasks using scheduled tasks container in the web application. The administrator prepares the Scheduler.xml configuration file, which stores task scheduler settings. The task scheduler interacts with the licensing service, license server, and DBMS as follows:

  1. The task scheduler sends queries to the licensing service to determine access to the tools used in the scheduled tasks container and to the functionality.

  2. The licensing service handles the obtained queries and redirects them to the license server. The license server checks whether there is a valid license for corresponding features and sends response to the task scheduler via the licensing service.

  3. The task scheduler executes tasks based on the specified schedule and interacts with the DBMS.

Production Environment Configuration

Production environment configuration assumes, along with the presence of development/test environment elements, assumes the following:

NOTE. State server, license server, and load balancer are not included in the software package of Foresight Analytics Platform.

Designations:

The algorithm of interaction of environment elements:

  1. The user interacts with web application interface in the browser.

  2. The browser interacts with the load balancer that is used to work with the web servers cluster.

  3. The load balancer sends queries to one of the web application back ends in the cluster. On the first use of the web application back end, the required web application files and the page with the login dialog box. The web application reads settings from the config.json configuration file.

  4. The browser interacts with the load balancer that is used to work with the BI servers cluster.

  5. The load balancer sends queries to one of the BI servers in the cluster. Queries are sent via the PP.SOM.Som access point. The BI server works via the PP.SOM web service, which allows access to product functionality. If on executing a query the BI server failure occurred, the balancer resends the query to another BI server, which restores all necessary objects from the state server, executes the query and creates the report for the user.

  6. The BI server interacts with the licensing service to determine access to the functionality. If required, set up fault tolerance of the licensing service. In this case a load balancer will be located between the BI server and the licensing service. The load balancer sends queries to one of the licensing services in the cluster.

  7. The licensing service handles the obtained queries and redirects them to the license server. The license server checks if there is a valid license for corresponding features and sends response to the BI server via the licensing service. If required, set up one or several backup license servers to provide license server fault tolerance.

  8. The BI server interacts with the DBMS using business logic core.

  9. The BI server saves parameters of all objects at the state server after handling queries and addressing the DBMS.

When executing scheduled resource intensive tasks using the task scheduler:

  1. The task scheduler interacts with the licensing service to determine access to the functionality. If required, set up fault tolerance of the licensing service. In this case a load balancer will be located between the task scheduler and the licensing service. The load balancer sends queries to one of the licensing services in the cluster.

  2. The licensing service handles the obtained queries and redirects them to the license server. The license server checks whether there is a valid license for corresponding features and sends response to the task scheduler via the licensing service. If required, set up one or several backup license servers to provide license server fault tolerance.

  3. The task scheduler interacts with the DBMS using the business logic core.

See also:

Installing and Setting Up Foresight Analytics Platform Applications