Working with License in Linux OS

Linux OS uses special settings to work with a license.

The section describes activation of Foresight Analytics Platform at BI server installed on Linux OS.

NOTE. Foresight Analytics Platform can be activated at BI server only using network or temporary stand-alone license.

License Search Settings

License search settings determine how a license is searched.

To manage license search, create the LSFORCEHOST system environment variable:

NOTE. To specify multiple license servers, use the environment system variable LSHOST or registry settings.

Stand-alone License Activation

To search for a stand-alone license:

  1. Create a LSFORCEHOST system variable. Enter NO-NET in the variable value.

  2. Get computer locking code and send a request to get a license by the email support@fsight.ru. A license is sent in the response email.

  3. Place the obtained license file lservrc to the folder /opt/Foresight/fp9.2-biserver/bin.

NOTE. The lservrc file must be without extension. If the file has the .dat extension, remove it.

  1. The item is relevant if BI server was installed from archive. If an installation package was used, go to the next step.
    Start the lsinit utility that is included into the BI server software package of Foresight Analytics Platform in Linux OS. Execute the following commands in the terminal to start the utility:

cd /opt/Foresight/fp9.2-biserver/bin

sudo ./lsinit

If the initialization is successful, the "Successful to initialize the system" message appears. If a different message appears, check if all the previous steps were executed correctly and specified commands were entered correctly. Repeat correct steps. If an error message persists, contact technical support services by sending a request to support@fsight.ru.

  1. Grant access permissions for the license file for an Apache HTTP Server user:

sudo chown www-data:www-data /opt/Foresight/fp9.2-biserver/bin/lservrc

Specify the path to the license file, that was obtained at the step 3, in the command.

The specified example can be used to grant permissions in Ubuntu and Debian. On working in other Linux distribution files replace www-data:www-data with value from the table:

Username:Group Linux distribution file
www-data:www-data Ubuntu, Debian
daemon:daemon Astra Linux
apache:apache ALT Linux, Red Hat Enterprise Linux

Viewing License in Use

To understand which license is in used, check the value of the LSFORCEHOST/LSHOST variable or see log files by using standard text editors or their alternatives. For example, to see an Axis log file in Centos OS, execute the command:

vi "/opt/Foresight/fp9.2-biserver/logs/axis2.log

 

See also:

License Server and Features of Its Use