反馈已提交

网络繁忙

You are viewing 5.1 help doc. More details are displayed in the latest help doc.

Overview of administrator operations

  • Recent Updates: May 05, 2022
  • 1. Overview

    In FineBI, administrator roles are divided into super administrators and sub-administrators of the system. Their roles and corresponding responsibilities are as follows:

    Administrator typesRange of managementDescription
    Super administratorDecision-making systemThat is the user at the time of initial setup, usually an enterprise IT staff, responsible for coordinating the work of the entire system, configuring system personnel, roles, permissions, etc.
    Sub-administratorSubdata/system itemUsually an administrator of a company's subsidiary company, super administrators delegate certain authority to manage the data, personnel, roles, authority, etc. within the scope of this branch/department.

    The super administrator can assign part of the system permissions to the sub-administrators according to the needs, such as assigning department business package permissions to the corresponding department sub-administrators, and the sub-administrators can assign the permissions to the business/analysts of the department, reducing the workload of IT staff and the amount of IT-led communication.

    This article will introduce the relevant functional knowledge that administrators need to master.

    2. Data preparation

    2.1 Data connection management

    Before data analysis, the administrator (usually IT staff) prepares the data, that is, define data connection.

    2.1.1 Create data connection

    Go to Manage>Data Connection>Data Connection Management, you can see the new data connection and the data connection that has been created, click "New Data Connection", as shown in the following figure:

    18.png

    2.1.2 Enter the information of data connection

    Note: The data connection name cannot be easily modified. After the change, the database table will report an error because the database cannot be found, so you need to plan the data connection name in advance. After changing the data connection name, the SQL dataset needs to reselect the data connection. Try to use SQL to add the basic table instead of the database table.

    2.2 Manage business package and group

    The administrator formulates the mode of building business packages and groupings, and tries to standardize the naming, which helps users to use, for example, it can be divided according to basic tables, departments, etc.

    2.2.1 Add packages and groups

    FineBI's business package is the data foundation for BI analysis. It is created by the administrator and added to the table in the database for analysts to use. In order to facilitate the management of data conditioning, FineBI provides the function of creating different groups, creating corresponding types of business packages under different groups, and adding corresponding analysis tables under each business package.

    Enter the data preparation, click "Add a group" to create a new group under the data list, click "Add a business package" to create a new business package under the corresponding group, as shown in the following figure:

    19.png

    2.2.2 Manage business packages

    The administrator can rename, delete, and move the business package,

    1) Rename as shown in the figure below:

    20.png

    2) Move the "example" package to "Scene data", as shown in the following figure:

    21.png

    3) Delete the business package as shown in the figure below:

    22.png

    2.3 Add data table

    Add corresponding tables in these business packages.

    For details, please refer to: Add database table

    Note: Database tables, SQL datasets, and Excel datasets are the original data sources of the enterprise.

    The self-service dataset is to perform data processing and merging operations on the above three tables, including its own, to help business personnel who do not write SQL to perform table processing and merging.

    2.4 Access methods of table 

    2.4.1 Real-time data

    Real-time data provides FineBI with a way to directly connect to the database to access data. After the basic table is real-time data, the table will no longer need to update the data to the local. It directly connects to the database to access data through SQL, and all the data acquired is real-time data.

    For details, see: Real-time data

    Real-time data considerations:

    • Real-time data is not recommended for self-service data collection. It is recommended to extract data and update the data locally.

    • Real-time data try to use SQL dataset as much as possible to reduce scenarios where real-time data uses self-service dataset to process data.

    2.4.2 Extracted data

    FineBI's data update refers to extracting data from the database to engine storage, and local mode uses local disk storage. The storage path is: %FineBI\bin\ROOT\db.

    PhenomenonResults
    Table A comes from a database table, and the self-service dataset comes from A. Modify the field name of the database table

    An error will be reported when updating table A, and the table is abnormally marked with red. After editing table A, update A and A can be updated successfully.

    The self-service dataset update will not succeed, and the fields of the self-service dataset need to be adjusted manually

    Analysis table B comes from basic table A. After basic table A is updated, edit and cancel a field without updatingAnalysis table B is updated and can be updated normally. Because A has not been updated, the configuration has not changed. Edit B, you will be prompted that the unchecked fields have no permissions—because the permissions are obtained from A in real time
    Update information of analysis tableShows the updated information of the basic table, and the update progress shows the current situation after the update
    Obtaining the field type of the table editing interfaceAfter saving once, you will not get the field type in the database
    Upload ExcelTemporary files are saved to the installation path: %FineBI\webapps\webroot\WEB-INF\assets\temp_attach folder, this file cannot be deleted
    After table A is updated, new fields are added to the databaseYou can see the newly added fields in the table editing interface, which are not checked by default; no single table update is required. After checking, a single table update is required to obtain the corresponding data
    Auto-escapingIt can only be automatically obtained when the table is added for the first time through the business package/database; the escape is realized by obtaining the annotations of the table name and field name in the data
    The basic table update was successful, but the associated update failedNo notification of update failure will be sent
    The base table was updated successfully, but the analysis table failed to updateWill send an update failure message prompt
    Delete table or associationOnly after the update, the corresponding data storage file will be deleted
    Regular update, set simple and repeated execution, every other day

    Means to execute every 24 hours. If you really need to update every other day, you need to set it to every two days (48 hours)

    The basic table of the analysis table, all update failedThe corresponding analysis table will not trigger an update this time. The global update interface will show that the update has failed
    Incremental updateIncremental sql cannot be empty
    In the system management, the start date of the week is changedGlobal update will be triggered after restart
    It is recommended that tables with similar time be updated togetherAs long as they are updated together, the duplicates will be automatically removed, and there will be no problems with repeated updates

    Try to use a global update, update once every night
    The longer the interval between each update, the betterIf the amount of update is relatively small (according to the table behind it), it can be updated within 1 hour. If the amount of update is relatively large, it will take several hours to update once, or update every day and night.

    2.5 Manually establish associations between tables

    2.5.1 Introduction

    Generally, there is an association relationship between database tables. When a database table is added to the business package, the system will automatically read the association between the tables; if there is no association relationship, you can manually establish the association relationship between the tables.

    For details, see: Add table association

    23.png

    2.5.2 Setting rules

    1) The data value in the field on the "1" end is not allowed to have duplicate values or null values.

    2) Try to reduce the use of 1:1 association, you can use 1:N or N:1 instead.

    3) All tables in the "My self-service dataset" group do not support the establishment of associations.

    4) One-to-one correspondence between the left and right fields of the joint association.

    5) After configuring the field association, if you choose to extract data, you need to click "Update Information> Single Table Update" to update the table, and save the extracted data locally before you can use it.

    3. System management

    3.1 Directory management

    Supports operations such as adding and deleting templates in batches, and setting the homepage.

    3.1.1 Setting interface

    Click Manage>Directory, the setting interface is as shown in the figure below:

    24.png

    3.1.2 Precautions

    1) By default, users in all departments can see the system homepage.

    2) Set the BI template to be displayed as the home page, and the template will automatically hide the "Save As" and "Export" buttons at the top of the dashboard on the home page.

    3) The format can be a relative path or an absolute path, the absolute path needs to add http:// .

    3.2 User management

    3.2.1 Add users

    1) Manually add users

    Go to "Manage> User" to support manual addition of users and batch import of users. The manual addition method is: click "Add user" (such as user Sam), enter user information, click OK, and the user is added, as shown in the following figure:

    25.png

    2) Sync user dataset

    Go to Manage> User, click "Synchronize Users", select the user source, enter the corresponding user information table, etc., click OK, as shown in the following figure:

    26.png

    Precautions:

    ContentExplanation
    Sync users suggest to choose from the beginningTwo different user modes, user-made tables and analytical dashboards, are not universal, even if they are the same user name, password, position, etc.
    For manually adding users, import user information in server dataAfter the dataset sync is turned on, the user information will be synced with the dataset, dynamically changed and updated in real time, that is, if the database information changes, the user information in the decision-making system will also change accordingly
    FineBI supports multiple user sourcesWhen the user syncs the dataset, the original data will not be cleared. If the synced user data conflicts with the original built-in data, it will not be displayed
    Login again after the sync setting of the synced user set is completedThe reason is that the login method is switched, and the original login data needs to be cleared. If you do not login again, many unpredictable errors will occur. For example, when multiple people login, the storage location of various parameters will be confused due to the switching of the login method.
    All users in user dataset and institutional departments are automatically generated from the databaseCannot be modified

    3.2.2 User management

    Manually added users can edit, disable and delete users, and synced users can be disabled. As shown below:

    27.png

    3.2.3 Institutional department and role

    1) Institutional department

    Click Manage>User>Institutional Department, select the department, and add users correspondingly, as shown in the following figure:

    28.png

    2) Role

    29.png

    Note: Departments can be classified, but roles cannot be classified.。

    3.2.4 Platform users

    In order to limit the concurrent amount of viewing and editing and the amount of data during analysis, and to speed up calculation and display, users need to be divided into types-viewing users and design users (including analysis users and processing users), and processing users have high authority for analyzing users, it has the authority to configure associations and add database tables.

    1) Setting interface

    Go to Manage>User>Platform User, and select "BI User", as shown in the figure below:

    30.png

    2) Precautions

    • A user can only be added to one of the  BI viewing user, the BI processing user or the BI data analysis user. The user added to the BI  design user will have the viewing permission by default. The super administrator defaults to the data processing user.

    • The register file does not limit the number of users, so you need to open the restricted users in the platform users first, otherwise all users have the platform use, BI view, BI design and mobile platform permissions by default.

    3.3 Authority management

    The administrator manages the scope of authority of each user in "Manage>Permission", and users can only access the content that has been granted authority.

    The authority management interface is shown in the figure below:

    1.png

    3.3.1 System management

    Assign the permissions of the corresponding node, and the user can see the corresponding node in the management system.

    3.3.2 Package authority

    The basic business packages prepared by IT can be assigned to users, and business package groups can be created for the user's department or business line to create an environment for initial business analysis.

    1) The permission configuration page is shown in the figure below:

    2.png

    2) Precautions

    Precautions
    After configuring the viewing permission of the directory, you need to configure the use permission of the corresponding business package of the directory dashboard, otherwise an error will be reported that there is no data viewing permission

    Open the management authority of a certain group of the business package, the user can create a business package under this business package group, and rename and delete this business package group;

    Open the management authority of the business package, the user can edit, rename, move, delete, and create new tables in this business package and the tables in the business package

    Only super administrators can add business package groups
    Permission settings can set the row and column permissions of the table
    The authority assigned by departments and roles is a union relationship

    3.3.3 Data connection authority

    The user has the authority to use, manage and authorize the data connection. 

    Note: To open the data connection control authority, you need to turn on the hierarchical authorization and data connection control buttons under the global settings.

    1) The configuration interface is shown in the figure below:

    3.png

    2) Authority description

    • Use: Have the use authority of a data connection, after the user logs in, the data connection can be used to add data in the "Data Preparation> Business Package".

    • Manage: Have the manage authority of a data connection. After logging in, the user can edit, copy, modify, and delete the data connection under "Manage> Data Connection".

    • Authorization: Have the authorization authority for a data connection. After logging in, the user can assign the corresponding authority of the data connection to the manageable user in Management System> Authority Management> Data Connection.

    3.3.4 Dashboard share control

    Provides function to control whether users have sharing permissions, and which department roles can be shared to. Avoid users from sharing templates casually or sharing them with inappropriate users.

    The 2020-01-15 version of BI provides permission control for public links, and you can set who can set up public link according to department role users.

    The setting interface is shown in the figure below:

    4.png

    3.4 Template management

    The template management of the system displays the templates created by all general users in the current system, and the templates that have been requested to be listed are also among them, and the administrator can quickly list them.

    For details, see: Template Management

    5.png

    3.5 Registration

    Registration is used to view some version information of the current decision-making system and a list of purchased features.

    6.png

    3.6 Intelligent operations

    3.6.1 Memory management

    When there is no area chart when you click on it, it may be that the Websocket port 4 8888 is not opened or is not forwarded. It is recommended to open it because it affects the login time and so on.

    3.6.2 Backup and restore

    FineBI provides a backup and restore function, and the supported backup content is shown in the following table:

    FoldersBackup content
    configPlatform configuration information
    reportletsReport templates
    dashboardsBI templates
    jarJAR
    pluginsPlugins

    Go to "Manage>Intelligent Operations>Backup and Restore", as shown in the figure below:

    7.png

    Precautions for Backup and Restore
    When the platform database is a built-in database, the backup and restore function is not supported. If you need to use the backup and restore function, please configure an external database
    After restoring, the restored version disappears and the current version is automatically backed up
    Be cautious when restoring, as the restoring will lose the data sets or templates made between before and after the restoring.
    Before restoring, determine the part you want to restore. The platform configuration can only restore the configuration information. The template will not be restored, and an error will be reported after the start of the template information loss.
    The restoration steps of the overall project are generally: restore the platform configuration and webroot
    Please manually back up the project daily and regularly: webroot

    3.6.3 Platform log

    Monitor the various conditions of the system.

    8.png

    4. Daily operation and maintenance

    4.1 BI system deployment

    Knowledge: Server system (linux/win)/Server memory/Server cpu core number/Disk size, BI installation path/BI memory (%/bin/finebi.vmoptions)/Data storage path/Whether external database/User concurrency, database type/Database performance/Data volume/Concurrency

    4.1.1 Start BI in Linux

    1) Start

    Switch to the BI installation path, such as the one installed in the opt directory, the command is as follows:

    cd /opt/FineBI/bin

    Execute the start command directly, as shown below:

    nohup ./finebi &

    2) Restart

    Use the command to view the PID corresponding to the JAVA process, the command is as follows:

    ps -ef | grep finebi

    Use the command to kill the process, and the FineBI service will be shut down, as shown below:

    kill -9 13807

    Then refer to the above to enter the FineBI directory and use the command  nohup ./finebi  & to start.

    After the startup is successful, you can enter the address http://IP:37799/webroot/decision in the browser to access.

    Note: Where IP is the IP of the corresponding installation server. If the external network cannot be accessed, third-party tools such as peanut shell, fcn, frp, etc. can be used to achieve intranet penetration.

    4.1.2 External database

    9.png

    External database FAQ

    QuestionsAnswers

    Reasons for configuring an external database

    HSQL is a built-in database in FineBI. However, due to HSQL cannot be accessed by multiple threads and unstable after a large amount of data, when encountering a cluster or a large amount of data, migration is necessary to ensure the stability of the system. By configuring the external database, the built-in system configuration and other data can be migrated to the external database to ensure the performance of the system

    What is the relationship between the internal and external data inventory data and the company's own storage business production database? Will internal and external databases store data in the business production database?

    The internal and external data inventory is the configuration of the system, such as adding a table to the BI system, and only the table name, field name, association relationship and creator information are stored in the internal and external databases, and no actual data values are stored.

    The enterprise's own storage business production database will retrieve data by establishing a data connection

    Can I choose only one of built-in and external databases?

    Yes, if you choose built-in, the system configuration information will be stored in%FineBI%\webroot\WEB-INF\embed\finedb. Select the external database, after the connection information is configured successfully imported, it will be stored in the database table

    How to judge whether to relocate?Check "Manage>System>General>External Database" to see whether it has been configured. If it is configured, you can click in to see the migrated database.

    Or check the db.properties under

    %FineBI%\webapps\webroot\WEB-INF\config, if there is, it means that it has been relocated. Taking SQL server as an example, you can see that the database URL pattern, user name, and password are encrypted

    4.2 FineBI project directory structure

    FilesContents
    backupStore project backup information
    %FineBI%\webapps\webroot\WEB-INFBI project main directory; project backup folder
    Web component.htmlThis is a Web component, just write the hyperlink address. For example, this is a custom HTML file, which is built into the project under the directory %FineBI%/webroot/.
    %FineBI%\webapps\webroot\WEB-INF\dashboardsA folder for saving BI templates
    %FineBI%\webapps\webroot\WEB-INF\embedBuilt-in database configuration directory; can be relocated outside
    %FineBI%\webapps\webroot\WEB-INF\configSystem parameters, outbound database information
    %FineBI%\webapps\webroot\WEB-INF\libJAR package folder that BI project depends on

    4.3 Error log

    4.3.1 Adjust the log level

    Click "Manage>Intelligent Operations>Platform Log", select "Global Setting", click the drop-down box of system log level to adjust, as shown in the following figure:

    10.png

    Note: Adjust the log level to INFO daily.

    4.3.2 Log storage location

    The log path is stored daily under %FineBI5.1%\logs. As shown below:

    11.png

    4.3.3 Update error log keywords

    FunctionsKeywordsRemark

    Table starts to execute

    table load start

    "dataset name": {}

    It is recommended to search directly for the dataset name + table escaped name

    Table is executed successfully

    table load success

    "dataset name": {}


    Table failed to execute

    table load fail

    "dataset name": {}

    Supplement the general table failure. By searching for the same thread name, you can generally see what the exception is thrown by looking up for further analysis.

    Global update succeeded

    global Load finish!


    4.4 System parameter description

    12.png

    ParameterDescriptioon
    Data accessSet the amount of data to access the database during preview
    Cache settingEnable or disable caching
    Cache time(s)Cache time is in seconds, set to 0, it means that the cache is always in effect, real-time data will always be read from the cache, and no new cache will be generated
    Analyze the disk usage of the user self-service dataset (cells)

    Default value: 50,000,000;

    Parameter description: Quickly analyze the maximum number of cells supported during the generation process, if it exceeds the maximum number of cells, the generation will fail


    4.5 System upgrade strategy

    4.5.1 Same version upgrade

    The process of upgrading the JAR package is as follows:

    The external database must first enter the "Manage>Intelligent Operations>Backup and Restore", and manually perform the platform backup.

    1) How to upgrade JAR package under Linux

    StepsContents
    1

    Turn off BI service

    Enter the directory %FineBI%/bin/ 

    Check the process number: ps -ef | grep FineBI 

    Kill the process: kill -9 **** (process number)


    2Back up the WEB-INF folder
    3Unzip the compressed package
    4Replace the JAR package to the %FineBI%\webapps\webroot\WEB-INF\lib folder
    5Restart BI and execute the command:nohup ./FineBI  &

    2) How to upgrade JAR package under Windows

    StepsContents
    1Turn off BI service
    2Back up the WEB-INF folder
    3Unzip the compressed package
    4Replace the JAR package to the %FineBI%\webapps\webroot\WEB-INF\lib folder
    5Restart BI

    4.5.2 Different version upgrade

    Note: You must contact technical support for upgrades.

    Attachment List


    Theme: Admin Guide
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    售前咨询电话

    400-811-8890转1

    在线技术支持

    在线QQ:800049425

    热线电话:400-811-8890转2

    总裁办24H投诉

    热线电话:173-1278-1526

    文 档反 馈

    鼠标选中内容,快速反馈问题

    鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。

    不再提示

    10s后关闭