The following are basic instructions, information and some tips for flex.bi Enterprise server administrators.

Creating Backups

Backing up flex.bi data bases

As a server administrator, you are responsible for creating regular backups of your flex.bi data bases. The frequency of the backup procedure should be chosen according to your company's data security policy. 

The backup files should be stored separately from the original database, ideally in a geographically remonte location.


There are many ways of backing up your databases - might have special tools or ability to make disk snapshots. The easiest, but still very reliable way is to create database dumps. For example, on a MySQL server you could do this:

Backing up flex.bi installation files

To reduce the possible service downtimes, it is also recommended to back up flex.bi installation files located in the flexbi_private folder, according to your company's internal backup policy.

The backup files should be stored separately from the original database, ideally in a geographically separate location.

Restarting the Service or Server

Sometimes the best solution is a restart, but you have to distinguish between restarting only the flex.bi service and restarting the entire server.

Restarting the flex.bi Service

When?

You should restart the flex.bi service in the following situations.

The server is running normally, you can log-in and perform normal operations, but:

How?

Before restarting the flex.bi service you should stop any ongoing data imports, to avoid possible locks in the database.

To do this:

The procedure of restarting the flex.bi service depends on the method you are using to start the service.


After restarting the flex.bi service, resume any imports that you canceled before restarting.

Restarting the entire server

When?

You should restart the entire server in the following situations.

The flex.bi service is not working as expected and:

How?

Restart the server according to your company's internal procedures.

Checking Log Files for Errors

There are 2 log files available in the flex.bi system, which can be found in the Troubleshooting page of the flex.bi web interface and flexbi_private/log folder on the server.

Debugging Data Import

For data import debugging you can use two methods:

debug_import = ["<register_name>"]


In the code example above you have to exchange the attribute <register_name> for the name of the register that you want to monitor.


For both debug methods to work, you have to be set as the Owner of the particular account.

Assigning Account Owner Role

In the flex.bi web interface:

  1. Select the account ghat you want to edit.
  2. In the Current account menu select Account users.
  3. In the list, make sure that your role is set to Owner.

Enabling the Debug Procedure

In the flex.bi web interface:

  1. Select the account ghat you want to edit.
  2. In the Current account menu select Edit account.
  3. In the Update account window, enter debug_import = ["<register_name>"] (using the appropriate register name) in the Plan parameters field.
  4. Click on the Update button.

Data import debug messages are shown in the log file eazybi-queues.log mentioned before, which is available in the Troubleshooting page of the flex.bi web interface and flexbi_private/log folder on the server.

Monitoring Available Space on Hard-drives

As a  server administrator, you are responsible for making sure that there is enough free space for data imports on the server's hard-drives. Lack of free space can cause data import interruptions and other errors.

Regularly check if there is enough free space available. If the space is running out, you can free it by deleting unnecessary files (e.g. old backups and all of the files in the import/[account number]/uploaded folder, because they are stored in data folder after import), adding extra hard drives or choosing another cloud server subscription plan with a higher data capacity.