Working with License in Linux OS

Linux OS uses special settings to work with a license.

The section describes Prognoz Platform 9 activation at BI server installed in Linux OS.

NOTE. Prognoz Platform 9 can be activated at the 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 lservrc license file in the directory /opt/foresight/pp9.0-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 a setup package was used, go to the next step.
    Run the lsinit script that is included into Prognoz Platform 9 BI server distribution kit in Linux OS. Execute the following commands in the terminal to start the script:

cd /opt/foresight/pp9.0-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 helpdesk 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/pp9.0-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 kits replace www-data:www-data with value from the table:

Username:Group Linux distribution kit
www-data:www-data Ubuntu, Debian
daemon:daemon Astra Linux
apache:apache ALT Linux, Red Hat Enterprise Linux, Zircon 36C, Sintez-OS.WS

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/pp9.1-biserver/logs/axis2.log

 

See also:

License Server and Features of Its Use