Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width45%
Panel
titleOn the page:

Table of Contents


Column

 

Installation

Note
titleВнимание!
  • В случае если на персональном компьютере установлен ПК Интеллект X, для установки Сервера лицензирования необходимо выделить отдельный компьютер. Сервер лицензирования нельзя устанавливать вместе с ПК Интеллект X.
  • 443 порт должен быть свободен.

Для установки приватного Сервера лицензирования на ОС Linux необходимо:

Attention!
  • License Server cannot be installed on the same computer as Axxon One. If you have Axxon One installed on your computer, you must dedicate a separate computer to install the License Server.
  • Port 443 must be open.

To install the private License Server in Linux OS, do the following:

  1. Create an activation request (see Creating an activation request).
  2. Contact an AxxonSoft manager to get the necessary license-server.deb package and the keyfile.zip key package for the private License Server.
    The keyfile.zip key package contains:
    1. Certificate
  3. Создать запрос на активацию (см. Создание запроса на активацию).
  4. Обратиться в компанию ITV и получить от менеджера необходимый пакет license-server.deb и пакет ключей keyfile.zip для приватного Сервера лицензирования.
    Пакет ключей keyfile.zip содержит:

    Сертификат
    1. : ngp.licserver.crt
  5. Приватный ключ
    1. Private key: ngp.licserver.key
  6. Ключ Сервера
    1. Server key: server.license.key
  7. Ключ Клиента
    1. Client key: license.key
  8. Далее необходимо скопировать полученный от менеджера ITV пакет
  9. Copy the license-server.deb
  10. в папку Downloads.Установить приватный Сервер лицензирования
  11. package, received from an AxxonSoft manager, to the Downloads folder.
  12. Install the private License Server:

    Code Block
    languagebash
    sudo dpkg -i license-server.deb
  13. Убедиться, что по пути /etc/AxxonSoft/LicenseServer/ в файле конфигурации license.conf существует переменная
  14. Make sure that there is a LEASE_ACCOUNTER_TLS_AUTH_ENABLED=true

  15. . Если переменная отсутствует, необходимо выполнить команду
  16. variable at the /etc/AxxonSoft/LicenseServer/ path in the license.conf configuration file. If the variable is missing, run the following command:

    Code Block
    languagebash
    sudo nano /etc/AxxonSoft/LicenseServer/license.conf
  17. Распаковать полученный от менеджера компании ITV архив
  18. Unzip the keyfile.zip

  19. в папку keyfile
  20. archive, received from an AxxonSoft manager, into the keyfile folder:

    Code Block
    languagebash
    sudo mkdir keyfile & unzip keyfile.zip -d keyfile
  21. Перейти в папку keyfile
  22. Go to the keyfile folder:

    Code Block
    languagebash
    cd ./keyfile/
  23. Добавить в директорию /etc/AxxonSoft/LicenseServer/ сертификат
  24. Add the ngp.licserver.crt

  25. и приватный ключ
  26. certificate and the ngp.licserver.key private key to the /etc/AxxonSoft/LicenseServer/ directory:

    Code Block
    languagebash
    sudo cp ngp.licserver.crt ngp.licserver.key /etc/AxxonSoft/LicenseServer/
  27. Перейти в папку LicenseServer
  28. Restart the License Server:

    Code Block
    languagebash
  29. cd /etc/AxxonSoft/LicenseServer/

    Перезапустить Сервер лицензирования:

    Code Block
    languagebash
  30. sudo systemctl restart license
  31. Перейти по пути /etc
  32. Add the server.license.key to the /var/AxxonSoft/LicenseServer/

  33. и добавить в эту директорию ключ Сервера server.license.key
  34. keys directory:

    Code Block
    languagebash
    sudo cp server.license.key /
  35. etc
  36. var/AxxonSoft/LicenseServer/
  37. Перезапустить Сервер лицензирования
  38. keys
  39. В результате по пути
  40. Restart the License Server:

    Code Block
    languagebash
    sudo systemctl restart license
  41. Info
    titleПримечание
  42. As a result, two files will be located at the /var/AxxonSoft/LicenseServer/keys

  43. будут расположены два файла: ключ Сервера
  44. path: server.license.key

  45. и ключ с именем в виде ID-системы.
  46. and a key named as the system ID.

  47. Удалить Серверный ключ
  48. Delete the

  49. server.license.key

  50. из директории
  51. from the /var/AxxonSoft/LicenseServer/keys directory:

    Code Block
    languagebash
    sudo rm /var/AxxonSoft/LicenseServer/keys/
  52. serv\
  53. server.license.key
  54. На всех Серверах ПК Интеллект X, находящихся в домене, с помощью утилиты активации активировать ключ Клиента license.key (см. Активация путем распространения лицензионного файла).

    Info
    titleПримечание

    В результате на всех Серверах ПК Интеллект X, находящихся в домене по пути /opt/AxxonSoft/RaFT/data/Nodes/default/Tickets/, будут расположены два файла: ключ Клиента license.key и сертификат ngp.ca.

Установка приватного Сервера лицензирования на ОС Linux завершена.

Полезные команды

Installing the private License Server in Linux OS is complete. To access the License Server web interface, you need to:

  1. Determine the address of the License Server using the command:
    Code Block
    systemctl status license
  2. Enter the obtained address into the browser's search bar.

As a result, the License Server web interface will open (see Logging in to the License Server web interface).

Useful commands

InstallУстановить

Code Block
languagebash
dpkg -i license-server.deb

УдалитьDelete:

Code Block
languagebash
dpkg -r license-server

Перезапустить службуRestart the service:

Code Block
languagebash
systemctl restart license

Проверить статус службыCheck the status of the service:

Code Block
languagebash
systemctl status license

Посмотреть журнал службыView the service log:

Code Block
languagebash
journalctl -u license.service -r

Useful commands using Prometheus metrics

Check the status of the service:

Code Block
ngp_license_service_status

Where the response is:

  • 0—the service is working;
  • greater than or equal to 1—there are problems in the service operation.

Check license expiration time:

Code Block
ngp_license_expire_time_utc

The response contains the time in 64-bit Unix format. To convert the response to date and time format, you can use any available converter (for example, https://timeconverter.online/). For example, 1917820800 corresponds to October 10, 2030 in the value of the license key.

Info
titleNote

Metrics are sent either every three minutes or when connection with the License Server is lost.