Connecting Repository Created in FlyBI

To connect a repository created in FlyBI, to the web application of Foresight Analytics Platform:

  1. Recreate a service user with the credentials, which were used on repository creation in FlyBI, using the PP.Util utility. The application is located in the folder with installed BI server: /opt/foresight/fp10.x-biserver/bin. To start the application, use the PP.Util_start.sh script with the following parameters:

sudo ./PP.Util_start.sh /create_audit_user metabase_id login password audit_login audit_password db_login db_password

Where:

NOTE. The P4AUDIT service user name is reserved by the system and cannot be used.

For example:

sudo ./PP.Util_start.sh /create_audit_user REPOSITORY_ID FLYBI FLYBI USER_SERVICE USER_SERVICE

The specified credentials of the repository owner and service user are used by default on executing the CreateRepo.sh script in FlyBI.

  1. Save service user credentials:

sudo ./PP.Util_start.sh /save_audit_creds "SERVER_DATABASE|TYPE" login [password]

Where:

For example:

sudo ./PP.Util_start.sh /save_audit_creds "127.0.0.1|POSTGRES" USER_SERVICE USER_SERVICE

After executing the operations service user credentials are saved in the settings.xml file located at: /opt/foresight/fp10.x-biserver/etc.

  1. Set up repository access in the Set Up Repository Connection dialog box or using the Metabases.xml file located at: /opt/foresight/fp10.x-biserver/etc.

NOTE. When setting up repository connection on each client computer or the computer with installed BI server, IP address or server alias should match with the server specified in the SERVER_DATABASE parameter on saving service user credentials.

  1. Restart the BI server.

After executing the operations the repository is connected to work in the web application.

Features of synchronization between the FlyBI project navigator and the object navigator of Foresight Analytics Platform:

The security manager in FlyBI is identical to the security manager in Foresight Analytics Platform.

Working with ClickHouse DBMS

To work with ClickHouse DBMS, see the Setting Up ClickHouse section and add the EXTRACT_DB global variable:

  1. Select the Parameters item on the side panel in the object navigator. The Global Variables page opens:

  1. Click the Add button and set global variable parameters in the columns:

  1. Click the Save and Close buttons.

After executing the operations the EXTRACT_DB global variable is added.

If the security manager already contains the special user for working with the DBMS, execute the operations:

  1. Save user credentials using the PP.Util utility:

sudo ./PP.Util_start.sh /save_creds metabase_id /DEC login [password]

Where:

For example:

sudo ./PP.Util_start.sh /save_creds REPOSITORY_ID /DEC USER_EXTRACT USER_EXTRACT_PASSWORD

  1. Restart the BI server.

After executing the operation the user credentials are saved to the Metabases.xml file.

See also:

Creating and Managing Metadata Repositories