Installation, configuration, update

Reports Exporter

How to transfer reports from the RB to BI Point

In order to transfer the reports from the Report Book to BI Point, use a report migration tool.  The application is called a Reports Exporter and can be found in the folder bin\rbexporter: The application must be connected to a META database. To do so, select the button ‘Connect to META’.  In the opened window, type a server name and select a META database from the drop-down list. An authentication is by default set to Windows authentication that uses the account of a currently logged-in user. For ‘SQL Server Authentication’ it is necessary to provide the credentials of SQL user with access permissions to a given database.               The application connected to the META database will display the same structure of the report tree as that available in the Report Book. Here it is necessary to select the reports that must be exported to a file and then select the button ‘Export’.  A standard window to select a file location will open.   Note: It is possible to export the following reports: OLAP, SQL and Table. A Table report will be converted to a SQL report. Note: MDK dimensions and additional dimensions as well as SQL functions cannot be exported. After selecting the file location, a window for typing a password for protecting a file will open. That password will be required when importing the reports into BI Point application. After typing the password and selecting the button ‘Export’, the report definitions will be saved in a .RBD file.           In order to import the reports into BI Point, log on to the application, go to tab Administrator Panel and select the option ‘Import from Report Book’. In the opened window, drag the created .RBD file onto the area with an arrow or indicate its location on disk. After the file is loaded, the file name will be displayed and the button ‘Import’ will activate. Select that button to proceed to the selection of a destination folder in BI Point repository and finish the import process. If the selected .RBD file is incorrect, you can return to the previous screen using the icon "X".   In each of the three repository sections: Connections, Data Models and Reports, a folder ‘Imported from Report Book’ with appropriate objects will be created.  The number of created connections and data models depends on the number of the data sources that were used by the exported reports. Note: After the import operation is finished, it is necessary to complete the credentials in each created connection! Note: In created data models, it is recommended to verify the correctness of parameters (tab Query) as well as the mapped measures/dimensions (tab Headers).

Reports with an additional measure or a MDX measure

The Reports Exporter application exports neither additional measures nor MDX measures. Therefore, such measures need to added to BI Point application manually. The script below, when executed on the REPO database, displays the list of reports to which an additional measure has been added.
SELECT [RDA_ReportId] as “Report ID" ,[LIN_Name] as “Report Name" ,[LIN_FolderId] as "Folder ID" ,[FOL_Name] as “Folder Name" ,[RDA_DefinitionType] as “Report Definition Type" ,[RDA_TextDefinition]as “Report Definition" ,[LIN_CreatedOn] “Report Date” ,[LIN_ModifiedOn] “Report’s Last Modification Date" FROM [RB].[ReportsData] RD join [RB].[Reports] R on RD.RDA_ReportId=R.REP_Id join [RB].[Links] L on L.LIN_ReportId=RD.RDA_ReportId join [RB].[Folders] F on L.LIN_FolderId=F.FOL_Id where RDA_TextDefinition like '%whatifMeasures%' AND RDA_TextDefinition like '%data fieldName="[[]Measures].[[]%-%-%-%-%]%'
To search for the reports with additional MDX measures, the condition RDA_TextDefinition like "%whatifMeasures%" must be changed to RDA_TextDefinition like '%mdxQuery=%'
The last condition RDA_TextDefinition like '%data fieldName="[[]Measures].[[]%-%-%-%-%]%' means that a given measure is used in a report (has been dragged onto the workspace). This condition can also be added to the script 2.

Last report opening date

After executing the script 1 you can check when the reports with the additional measure or MDX measure were opened the last time. To do so, execute the following script also on the REPO database.
SELECT [LAC_Id] as "Action ID" ,[LAC_ActionName] as “Action" ,[LAC_ObjectId] as “Report ID" ,[LIN_Name] as "Report Name" ,[LAC_SessionId] as "Session ID" ,[SES_UserLogin] as “User Name" ,[LAC_DateTime] as “Date" FROM [LOG_DATABASE_NAME].[dbo].[LogActions] LA join [LOG_DATABASE_NAME].[dbo].[Sessions] S on LA.LAC_SessionId=S.SES_ID join [REPO_DATABASE_NAME].[rb].[Links] L on LAC_ObjectId=L.LIN_ReportId join [REPO_DATABASE_NAME].[rb].[ReportsData] RD on L.LIN_ReportId=RD.RDA_ReportId where LAC_ActionName like 'Open Report' and RDA_TextDefinition like '%whatifMeasures%' and [LAC_Id] in (select max(lac_id) from [LOG_DATABASE_NAME].[dbo].[LogActions] la join [LOG_DATABASE_NAME].[dbo].[Sessions] S on LA.LAC_SessionId=S.SES_ID join [REPO_DATABASE_NAME].[rb].[Links] L on LAC_ObjectId=L.LIN_ReportId join [REPO_DATABASE_NAME].[rb].[ReportsData] RD on L.LIN_ReportId=RD.RDA_ReportId where [LAC_ActionName] like'Open Report' and RDA_TextDefinition like '%whatifMeasures%' group by [LAC_ObjectId] )
In this script, you can also specify whether to search for the reports with additional measures or MDX measures. Additional measures are searched for using the condition RDA_TextDefinition like "%whatifMeasures%"(which is already added in the above script), whereas MDX measures are searched for using the condition RDA_TextDefinition like '%mdxQuery=%'
In the condition LAC_ActionName like 'Open Report' you can also type 'UpdateReport' to similarly search for the update dates of particular reports.

Reports using the same model

After the reports are exported from the Report Book and then imported to BI Point, duplicated data models can be created. If two SQL reports with the same query are exported, then two identical data models will be added to each of the reports in BI Point. The scripts below can be used to find the reports with data models that use the same query. Such reports can next be linked to one model and the other reports can be removed. Note: The scripts work only for SQL reports transferred from the Report Book with the report exporter. The scripts must be executed on the BI Point database and its backup copy needs to be made prior to making any changes. The first script will display the report list, the data models on which they are generated as well as an ID of the data model that has the same query as the report model. In case there are more identical models, the smallest ID from the group of identical models will be displayed.
SELECT r."OBJ_Id" “Report object ID", "REP_Id" “Report ID", r."OBJ_Name" “Report name", m."OBJ_Id" “Model object ID", "DMO_Id" “Model ID", m."OBJ_Name" “Model name", smq.ModelId “Identical model ID" --, * FROM rb."RepositoryObjects" r LEFT JOIN rb."Reports" ON "REP_ObjId" = r."OBJ_Id" LEFT JOIN rb."DataModelsReports" ON "DMR_REPID" = "REP_Id" LEFT JOIN rb."DataModels" ON "DMR_DMID" = "DMO_Id" LEFT JOIN rb."RepositoryObjects" m ON "DMO_ObjId" = m."OBJ_Id" LEFT JOIN rb."DataSources" ON "DS_Id" = "DMO_DataSourceId" LEFT JOIN rb."DataSourceDefinitions" ON "DSD_Id" = "DS_DefinitionId" LEFT JOIN rb."DataModelsQueries" mq ON mq."DMQ_ModelId" = "DMO_Id" LEFT JOIN (SELECT MIN("DMQ_ModelId") ModelId, "DMQ_Query" FROM rb."DataModelsQueries" GROUP BY "DMQ_Query") smq ON mq."DMQ_Query" = smq."DMQ_Query" WHERE r."OBJ_Type" = 4 AND "DSD_Definition" is null AND m."OBJ_DestinationElementType" = 'DataSetMSSQL' ORDER BY 7,4;
The example below illustrates the query results on the database with 6 imported reports: The figure shows 4 models created for 6 reports. 3 reports (874,875,876) have the same model because in the Report Book, they were the standard reports linked to the same source report. In case identical reports are linked to one source report in the Report Book, they will be linked to one model in BI Point.Despite different models, five reports have the same query in these models. This is presented in the Identical Model ID column. The reports (871,872, 874,875,876) can thus be linked to one model. In this case, the identical model ID is 170, however it is possible to use any model from this group (models 170, 171, 173). Value 170 is a grouping value that shows which elements have a common query. The report 873 has a different model and a query than the other reports, thus, it cannot be reassigned and must remain as it is. After defining which reports have a common model, it is necessary to execute an update to link them to the common model. The update is as follows for the above-described example:
 UPDATE rb."DataModelsReports" SET "DMR_DMID" = 173 WHERE "DMR_REPID" IN (871,872)
Since this update, all sample reports will use the same model. The last non-mandatory step is the deletion of unused models. They can be removed manually from the BI Point application. This can be done with the help of the script below, which will list the models not used in any report (the query will also display the models that have been used in a dashboard but have not been used in the report).
SELECT m."OBJ_Id" “Model object ID", "DMO_Id" “Model ID", m."OBJ_Name" “Model name" FROM rb."RepositoryObjects" m LEFT JOIN rb."DataModels" ON "DMO_ObjId" = m."OBJ_Id" LEFT JOIN rb."DataModelsReports" ON "DMR_DMID" = "DMO_Id" WHERE "DMR_REPID" IS NULL

Publishing the BI Point website using IIS (URL Rewrite)

1. How to configure http - redirection

  • The following instructions are created for the Comarch BI Point program for instances that are set up on a port other than the default port (80). To ensure the configuration proceeds correctly, there are two solutions if the program is installed on port 80 (default):
    1. Move the BI Point program to another port (e.g., 81) if it is installed on port 80.
    2. Create a "site" on a port other than 80 during the subsequent configuration stage (however, in this solution, after logging into the site, it is required to enter www.website.com:port)
Required components when configuring using IIS (Internet Information Services): In order to redirect the newly installed BI Point to another port, it is possible to use the IIS functionality. For this purpose, install the Microsoft Application Request Routing 3.0 add-on. Next, configure the config.json file available under: C:\Program Files (x86)\Comarch\BI Point\instances\Instance_name\bipoint\config.json as shown in the figure below:     If you want to allow connections to BI Point through a specific domain/subdomain, you must appropriately modify the "AllowedHosts" entry. Windows "AllowedHosts": "bipoint.example.com" Linux bipoint: (...) environment: - AllowedHosts=bipoint.example.com;another.example.com (...)   If you want to define more than one host, separate them with a semicolon: ; To ensure the analytics engine functions correctly, you must add to AllowedHosts the host specified in the engine's ApiUrl. The default container name bipoint is automatically added, but if the BI Point container name has been changed in docker-compose.yml on Linux, you must appropriately update AllowedHosts. The change must also be applied in BI Point database in the table dbo.settings for BIPointUrl. In SET_CustomValue, enter a website name that matches the website address by which BI Point will be hosted.     For instances that use the analytical engine, enter the address (same as the one provided in dbo.Settings) in the appsettings.json available under: C:\Program Files (x86)\Comarch\BI Point\instances\Instance_name\engine\appsettings.json For "ApiUrl": "" entry   Next, add a website in IIS. To do so, after starting the Internet Information Services Manager, go to the Sites folder and then select the option Add Website .           Depending on the address on which you want to host BI Point, complete the website name (in the presented case, BI Point must be available at the address bipoint101.pl) and the host name. The physical path is discretionary. It is recommended to specify a physical path to an empty folder.                       Save the entered settings with the OK button. Next, add a server farm. This option becomes available upon installing first the ARR add-on and restarting the IIS. In order to create a farm server, select the option Create Server Farm as shown in the figure below.       In the Server Farm Name field, enter any name (a typed name should clearly indicate the application/website to which it applies). In the advanced settings of the server farm, select the port (in the httpPort field) on which the BI Point you want to rewrite is installed. In the presented case, BI Point is installed on the port 81, therefore, this port is entered in the httpPort field. Type localhost in the Host Name field and 127.0.0.1 in the Server Address IP.                     Once all the fields are completed, select the button Add to confirm and then the button Finish. After specifying the server, you will be asked whether to create a rule. Confirm the displayed message:           The message confirmation status is presented in the IIS home > Url rewrite tab. The added rewrite rule should be displayed in the selected location after starting the URL Rewrite, as shown in the figure below:       In the rule edition window, the following view is displayed:                       Tag a pattern in the Match URL tab with “*” symbol unless a named instance is configured (see How to configure HTTP with URL prefix) In the Conditions tab, select the option Add. The window below will then open:             Set the condition input to {HTTP_HOST} and the pattern to the address at which BI Point is to be available (you can also use * indicating any address). You can use the option Test pattern to verify whether the entered pattern covers the target URL address of BI Point:                   After saving the address configuration, it may be necessary to restart IIS / BI Point or refresh the website several times. The BI Point instance should then be available at the configured address. If the selected website is not available from an external network (there is no public address specified), add the website address also into the host file (C:\Windows\System32\drivers\etc\hosts). In case of the described installation, complete the host file as shown in the figure below:             After the website is added, BI Point should be available at the added website link:                  

2. How to configure HTTPS

In order to configure HTTPS, you need to configure the above and select a SSL certificate. Next, right-click on the created website for which you want to configure https and then select Edit Links. In the opened window, define a new link with https configuration. Select also an appropriate https certificate.                   Next, go to the website home, select SSL Settings           and then the parameter Require SSL. Back in the IIS home, select URL Rewrite and then the option View Server Variables:         Select Add and type HTTP_X_FORWARDED_PROTO as the server variable name. Next, go back to the rule added in chapter 1:       And we add in the 'Server Variables' tab:             After restarting again the IIS, BI Point should be available under https.  

HSTS header settings

When using HTTPS connection, enable the HSTS header setting. This option forces the browser to use HTTPS. In the application configuration, set the UseHsts flag to true and specify also the https port by setting https_port.

Settings in config.json

To properly view the page, set the UseForwardHeaders flag to true in the config.json file under C:\Program Files (x86)\Comarch\BI Point\instances\Instance_name\bipoint\.

3. How to configure HTTP with URL prefix

If other websites are configured in the IIS as Default Web Site, then it is possible to configure BI Point with a URL prefix (i.e., the URL address has then the following form: demo-xl.comarch.pl/bipoint). For this purpose, create an application under Default Web Site website as part of configuration. First, modify the config.json file that can be found at: C:\Program Files (x86)\Comarch\BI Point\instances\Instance_name\bipoint\config.json In the file, add the instance name as shown below (the instance in the described example is bipoint).         Next, in the IIS, add the application as shown in the figure below:                   When adding the application, type the instance name (in the example, it is bipoint) and select the path to the empty folder.                   Then, add a server farm. This feature becomes available after installing first the ARR add-on and restarting the IIS. In order to create a farm server, select the option Create Server Farm as shown in the figure below:       In the Server Farm Name, type any name (a typed name should clearly indicate the application/website to which it applies). In the advanced settings of the server farm, select the port (in the httpPort field) on which the BI Point you want to rewrite is installed. In the presented example, BI Point is installed on the port 81, therefore, this port is entered in the httpPort field. Type localhost in the Host Name field and 127.0.0.1 in the Server Address IP.                   Once all the fields are completed, select the button Add to confirm and then the button Finish. After specifying the server, you will be asked whether to create a rule. Confirm the displayed message:         The message confirmation status is presented in the IIS home > Url rewrite tab. The added rewrite rule should be displayed in the selected location after starting the URL Rewrite, as shown in the figure below:         In the rule edition window, the following view will be displayed:                   In the Pattern field, type an expression that will cover only the BI Point instance and not the other websites. In the above example, the pattern has the form *bipoint*.              

Hosting BI Point Using .NET Core Kestrel

To expose BI Point externally using Kestrel, you need to add the following entries to config.json:  "Kestrel": { "EndPoints": { "Http": { "Url": "http://0.0.0.0:82" }, "Https": { "Url": "https://0.0.0.0:443", "Certificate": { "Subject": "name", "Store": "WebHosting", "Location": "LocalMachine" } } } }, In this case, two endpoints must be configured: one for HTTP and another for HTTPS (port 443). To ensure HTTPS functions correctly, it is necessary to define a certificate that will be used for communication. For Windows systems, the easiest way to locate its path is by using the MMC (Microsoft Management Console) tool. If the certificate is not imported, it should be located in the Trusted Root Certification branch. Note: After configuring SSL, an application restart is required!                                   Below is a description of the certificate parameters according to Microsoft documentation: "Subject": "<subject; required>", "Store": "<cert store; required>", "Location":"<location; defaults to CurrentUser>", For the necessity to use more advanced options, detailed information can be found in the Microsoft documentation  which is located here.  

Linux

Installation of Comarch BI Point on Linux

Note: The exemplary installation described below was carried out on Ubuntu distribution. To begin BI Point installation, use the following command to run the setup script available in the folder with the setup wizard image:
 sh first-setup.sh
If the user running the script does not have administrator privileges (root), the command needs to be preceded with ‘sudo’ (permission to this function is necessary in order to carry out the installation):
sudo sh first-setup.sh
After the command is executed, the BI Point setup wizard will check whether all the necessary components are installed. The setup wizard requires a network tool - Curl. It is used to execute network queries and commands. Note: In the case of other distributions, it is necessary to get a relevant command as part of package installation. In order to install the curl tool, execute the following command (the exemplary command below is running on Debian and Ubuntu distributions):
sudo apt install curl
In order to install the curl tool, execute the following command (the exemplary command below is running on Debian and Ubuntu distributions):
  1. Docker
  2. Docker – compose
  3. Installation of supporting scripts
  4. Generation of a docker-compose.yml file
  5. Installation of BI Point image
The first step is the execution of the setup script for the Docker component: The next step is the installation of a Docket-compose component: Finally, the images are installed: You will be asked to select the path to the package containing BI Point images on the server. You need to select the location of the file with .tar.gz extension (if you ran the setup script from the folder containing the BI Point image (a .tar.gz file), select the Enter key to confirm the suggested path). Upon confirmation, the setup wizard will process the following:
  • Loading BI Point images
After the images are loaded, it will be possible to run the Key Manager and install BI Point application. Upon confirmation, the Key Manager application will be installed on Linux system. Note: You only need one instance of the Key Manager per network. If you installed the Key Manager with a license for BI Point on another server (Windows or Linux), then you can skip this step (by typing n) and in the latter installation step you will be asked to provide appropriate parameters (server and key number). If you added the Key Manager to the docker-compose.yml file while executing the script, then after running the Key Manager for the first time, you need to add your license key via the manager tool from the key manager image, e.g.: Prior to executing the commands, make sure to include the container names of the Key Manager:
  • Adding a license key
docker exec -i KM_Container_Name manager addkey clientid=<client id> pin=<pin> key=<key>
  • Deleting the license key
docker exec -i KM_Container_Name manager deleteinstallation key=12341241234
  • Releasing the license
docker exec -i KM_Container_Name manager releaseuser user="<user>"
We can check the Status in the browser by navigating to http://<server>:5150/key/<key number>. For example: http://localhost:5150/key/123412412.
In the following step, the supporting scripts are installed: After that, you will be asked to specify the configuration parameters of the application. Setup parameters:
  • Port of BI Point application
  • BI Point version (ERP Standard BI, CEE BI,CEE BI Smart, Optima BI, XL BI, XL BI Start, BI Point Standalone)
  • Server of the license key manager (depending on the option selected in step [4])
  • License key number
After the configuration parameters are specified, execute the following command:
 sudo docker-compose up -d
The command is responsible for running containers and volumes. After the containers are run, the import of connections, data models and standard reports begins. After the installation is completed, the BI Point website can be run via a web browser. The default user is admin (password – admin).

Verification of the import status

In order to verify the current import status of the standard content of BI Point application, you need to verify the name of the appropriate container by using the following command:
sudo docker ps
Next, execute the last fragment of the log of the selected container by using this command:
 sudo docker logs bipoint_bipoint1 --tail 10
The above message indicates that the import process has completed.

Updating Comarch BI Point on Linux

Upgrade

In the first step, change BI Point images to new ones that are compatible with 2023.2  release (files named bipoint-images-(…)). After changing the images, change also the update-images.sh script in the folder with already installed BI Point application. The previous files are not needed and can be deleted Once the script and the BI Point images are changed, execute the following command:
 sh update-images.sh
After executing the script, the message below will be displayed. Press the Enter key to confirm it. Next, select the 2023.2 release image location. If it was already changed in the same folder that contains the update-images.sh script, then press Enter to confirm the default location. After loading individual images: The additional scripts will be updated: The docker-compose.yml will also be updated as shown in the message below, which is displayed during execution of the updating script: The above update step has overwritten the following:
  • BI Point image number in the docker-compose file
In the next step, deactivate the containers in order to update the database. After executing the docker-compose down command, the containers will be deleted:
 docker-compose down
Next step, delete the ae_db container (after executing again the docker-compose command, a data volume will be created in the version compatible with Postgres 12). The command in this case is as follows: The final step is to migrate the BI Point database: To perform the migration, we first remove the containers:
 docker-compose -f docker-compose.yml -f docker-compose.migrator.yml down
Next, we start the "bipoint_db" image:
docker-compose -f docker-compose.yml -f docker-compose.migrator.yml up -d bipoint_db
Wait until the "bipoint_db" is running and in a healthy state (check using docker-compose ps). Then, start the migrator container:
docker-compose -f docker-compose.yml -f docker-compose.migrator.yml up bipoint_migrator
At this point, the database container and the bipoint_migrator container will be running, with the migrator applying migration scripts and plugins. After the migration is complete, the bipoint_migrator container will shut down. You can then restart the BI Point containers with the following command:
 docker-compose up -d
 

Manual upgrade

Prior to database migration, make a backup copy of your database. Execute the following command in the container:
 docker exec -u postgres <name of the old database container> pg_dump -d bipoint > ./dump
The above command creates a backup copy. After the backup copy is created, modify the docker-compose.yml and overwrite the following values as shown in the figure below (sample command of the text editor):
Nano docker-compose.yml
After the docker-compose.yml is changed, execute the update-images.sh script.
 sh update-images.sh
Once the script is executed, execute the command below:
 docker-compose down
Next, restart only the database container:
docker-compose up -d  bipoint_db
Then, follow the steps below:
echo "drop database bipoint;" | docker exec -i -u postgres <container name> psql echo "create database bipoint;" | docker exec -i -u postgres <container name> psql cat ./dump | docker exec -i -u postgres <container name> psql -d bipoint
After the backup copy is restored from the dump file, you can proceed to the migration tool step. In order to migrate the database, first delete the containers:
 docker-compose -f docker-compose.yml -f docker-compose.migrator.yml down
Then, run only the bipoint_db image:
docker-compose -f docker-compose.yml -f docker-compose.migrator.yml up -d bipoint_db
After the bipoint_db image is run (the image status can be checked on a current basis using the docker-compose ps command) and its status shows healthy, you can run the migration tool image:
docker-compose -f docker-compose.yml -f docker-compose.migrator.yml up bipoint_migrator
After the migration is completed successfully, the message below will be displayed: Finally, run the containers using the command below:
sudo docker-compose up -d
 

Windows

Installation

In the first installation step it is necessary to read and confirm the license terms: The button Options opens new window. In order to change the setup path, select a location on disk, where BI Point must be installed. The default path is always the same as on the screen below:   If the available disk space is not sufficient, it will not be possible to continue the installation. A relevant message will then be displayed. Before starting the installation, close all running programs. Selecting the button Install starts the installation.

Update

The program update does not significantly differ from the installation process. Uninstalling the program beforehand will leave instance folders intact, which will be used for subsequent updates. The figure below presents the start screen of Comarch BI Point configuration tool. After launching the Comarch BI Point installer, if the default path from previous versions is preserved (C:\Program Files (x86)\Comarch\BI Point), select the "Next" button. If a different path is used than the default, click on "Select Folder" and provide the path to the main directory of the existing instance, e.g., C:\Program Files (x86)\Comarch BI Point\BI Point. The figure below presents the META database of BI Point configuration tool.     Note: In case of updating a BI Point database, it is required that the user updating the database has the sysadmin or db_owner privileges on the server on which the database is stored. After selecting the update option, a window presenting the progress of BI Point update process will open. After the update is finished, the following progress screen will be displayed.

Configuration

Start screen

Below is a start screen of Comarch BI Point configuration tool. In the configuration tool start screen, it is necessary to: 1. Select a product to install from among the available products:
  • BI Point Standalone
  • XL BI Point Start
  • Optima BI Point
  • XL BI Point
  • ERP Standard BI Point
  • CEE BI Point
  • CEE BI Point Smart
2. Select a setup mode:
  • Using the ‘New’ mode it is possible to create a new BI Point instance along with a new BI Point database.
  • Using the ‘Modification’ mode it is possible to create a new application instance with the use of already existing BI Point database. In this mode, it is also possible to install the missing configuration components for the previously created instances.
  • Using the ‘Update’ mode it is possible to update BI Point application upgrading at the same time an already existing version of META database.
Uwaga
Note: In the case of the update mode, it is necessary to select an already existing BI Point database. This mode can be used for the application version and BI Point database version not older than 7.5.
3. Specify an ‘Installation Name’. That name will be used to tag the services, a database and a folder with BI Point instance. 4. Select a language version of the configuration tool. Available languages are: Polish, English, German, French, Spanish, Japan, Italian, Portuguese and Russian.  

Source database/OLAP database/DMS database screen

A subsequent step in the case of XL BI Point Start, XL BI Point, ERP Standard BI Point, Optima BI Point, CEE BI Point and CEE BI Point Smart products is the configuration of the source database: The following must be completed:
  1. Database type
  2. Name of the server where a given database is stored
  3. Port to the server
  4. An authentication method (SQL Server or Windows). In the case of Windows authentication, the user credentials are completed automatically with details of a currently logged-in user, whereas in the case of SQL Server authentication, it is necessary to provide a user name and password.
  5. Source database of Comarch ERP XL or Comarch Optima system, that is selected from a drop-down list. The list contains all databases stored on the selected server, which a user can access.
In the case of XL BI Point Start, XL BI Point products, a DMS database can additionally be configured: An OLAP database can additionally be configured for XL BI Point, Altum BI Point, CEE BI Point and BI Point Standalone products: The following must be completed:
  1. Name of the server where OLAP database is stored.
  2. Name of OLAP database selected from a drop-down list.
Uwaga
Note: In the case of instances using connections to OLAP databases, when there is a message in the application logs about a missing provider, it is necessary to install MSOLAP x86 and x64 providers and then register dll files in the command line: regsvr32 "C:\Program Files\Microsoft Analysis Services\AS OLEDB\140\msolap.dll" regsvr32 "C:\Program Files (x86)\Microsoft Analysis Services\AS OLEDB\140\msolap.dll" Finally, the machine must be restarted and the “read only” option must be deselected on the dll file.
 

Summary screen

The window presents detailed information on Comarch BI Point configuration. BI Point (Website)
  • URL Address – address under which it will be possible to run Comarch BI Point application after it has been installed.
  • Logon Method – specifies a logon mode to the application. It is by default set to login/password.
  • Default User – determines the first application user (admin/admin)
BI Server
  • Name of BI Server service.
  • Credentials – specify that it will be possible to log on to the BI Server service via a local system account.
BI Point Database
  • BI Point Database Name – name of META database.
  • Server where a database will be generated.
  • Port to the server.
PostgreSQL installation
  • Server where a PostgreSQL instance will be created.
  • Port to the server.
  • Service name – service to PostgreSQL.
  • Credentials specify a PostgreSQL database user. A password is, by default, specified also as postgres.
Source Database The data is copied from the Source Database step. Analytical Engine
  • Service name – analytical engine service.
  • Credentials – specify that it will be possible to log on to the analytical engine service via a local system account.
Analytical Engine Database
  • Name – name of the Analytical Engine database.
  • Server where an engine database will be generated.
  • Port to the above server.
Geographical Database
  • Name – name of a geographical database.
  • Server – place where a geographical database will be generated.
  • Port to the above server.
Key Manager
  • Server where the Key Manager has been installed.
  • Port – port of the Key Manage, the default port is 5150.
  • Key Number – number of the key with the license to a selected product.
Other
  • Instance Name – retrieved from the first configuration step.
  • Installation Path – the location where BI Point files will be stored.
All the data necessary to install the application is completed by default and is sufficient to install the product. If any of the default ports is used, then the first unused port that is found will be assigned. If necessary, the application can also be configured individually. For this purpose, it is necessary to go to Custom Configuration, where it is possible to configure each section separately.  

Custom configuration

Database screen

Here it is possible to customize the settings of database generation process. Bi Point Database
BI Point Database Name – name of BI Point database.
Database Server Instance
It is possible to create or use an existing PostgreSQL instance.
For a new instance it is possible to:
  • change the port – the default port is 5432
  • change a default database name – a default name is postgres
  • change the password for postgres user – a default password is postgres
The following must be completed in order to use an existing instance:
  • Server Name – server where a new database will be generated
  • Port to the PostgreSQL server
  • Database Default Name – default database generated during PostgreSQL installation
  • User Credentials – Authentication Method field
Connection to a database can be verified with the button ‘Test Connection’.

Service screen

In the window, it is possible to configure the necessary services for Comarch BI Point to work properly. Configuration of BI Point component services
  • Website Name
  • Port to the website – the Web service uses a URL port (80), by default. That port can be set according to individual preferences.
  • URL Address – address under which it will be possible to run Comarch BI Point application after it has been installed. The address will change automatically after the website is renamed.
  • Analytical Engine Service Name – this name can be changed by modifying an instance name on the start screen.
  • Analytical Engine Service Port – a default port for the Analytical Engine is 9000. That port can be set according to individual preferences.
Configuration of Analytical Engine database
  • Server Name – server where an analytical engine database will be generated.
  • Port to the server.
  • Default Database Name – a default name is postgres.
  • Authentication Method – credentials of PostgreSQL user.
  • Database Name – database name of the analytical engine.
If option ‘Use existing instance’ is selected in the ‘Database’ step or if any changes are made to the option ‘Create new PostgreSQL instance’, then it is possible to select the option ‘Use BI Point database settings’. Using that option, it is possible to get the PostgreSQL server details from the ‘Database’ step. If that option is not used, then it is necessary to configure the database individually. Authentication for BI Point services
Services can be created on a “LocalSystem’ account or on a domain account. If the first option is selected, then it is necessary to make sure that the SQL Management NT\SYSTEM user or NT AUTHORITY\SYSTEM user holds the sysadmin permissions (if authentication mode is set to ‘Modification’, then this condition is required to continue configuration).  If a domain account is selected, then it is necessary to provide a user name along with a domain (domain\user) as well as the user’s password. A domain account must have the permissions of Windows administrator and Analysis Services Administrator.
Uwaga
For XL BI Point, ERP Standard BI Point, CEE BI Point and BI Point Standalone products, it is recommended to create services on a domain account.
 

Premium Analytics Engine tab

In this tab, you can create a database and a premium analytics engine service if you own the appropriate license. For a description of this functionality, see the article "BI Point Premium".  

Geographical Database screen

Here it is possible to generate or use an existing geographical database that will be used when creating a map control on a dashboard. Geographical Database
  • Server Name – server where a new database will be generated.
  • Port to the server.
  • Default Database Name – a default name is postgres.
  • Authentication Method – credentials of a PostgreSQL user.
  • Database Name – own name must be provided in case of generating a new geographical database or the name of existing database must be selected from the list.

Key Server screen

In the Key Server window, it is possible to change the key server details, if the key is stored on a different server. Key Manager
  • Server where the Key Manager has been installed.
  • Port – port of the Key Manager, the default port is 5150.
  • Key Number – number of the key with license to a selected product.
Uwaga
Note: In case of selecting Optima BI as a product after configuring first the BI Point application, it will be necessary to update the details of the key number and the key server of the subsequent field – AnalysisBILicenseKey, AnalysisBILicenseServer in the settings table on the newly generated BI Point database. This instruction applies only if the license of the BI Analyses is stored on a different key than the license of BI Point application.

Mail Server screen

In the Mail Server screen, it is possible to configure a mail server that will be used to send subscriptions. Mail Server
  • SMTP Server Address – address of the outgoing mail server.
  • Port – port to the SMTP server.
  • Authentication – user credentials to SMTP server account.
  • Sender E-mail Address – e-mail address that will be used to send subscriptions.
Wskazówka
Connection to a database can be verified with the button ‘Test Connection’.

Other screen

Here it is possible to select a logon method and to import standard reports. Standard reports Option ‘Import standard reports’ is used to import standard reports (depending on the product selected in the first step of the configuration tool) into the BI Point repository. Logon method After selecting the option ‘Login/Password’, credentials of the first user must be provided. A ‘Domain Account’, that will be associated with a given login, is completed automatically with credentials of a currently logged-in user. If the option ‘Domain Accounts’ is selected, a user will be logging on via domain accounts. In this case, the login and password will also be completed automatically with credentials of a currently logged-in user.

Installation screen

Before proceeding to the installation step, it is recommended to verify on the summary screen the detailed list in terms of changes made to the custom configuration. If the entered data is correct, you can proceed to the installation step.