Versions Compared

Key

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

Table of Contents


Column

 

Installation

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

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

Attention!
  • You cannot install the License server along with Axxon One. If you install Axxon One on a personal computer, then you must have another computer to install the License server.
  • Port 443 must be open.

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

  1. Contact AxxonSoft technical support to get the required license-server.deb package.
  2. Copy the received license-server.deb package to the Downloads folder.
  3. Install the private License server

  4. Создать запрос на активацию (см. Создание запроса на активацию).
  5. Обратиться в компанию ITV и получить от менеджера необходимый пакет license-server.deb и пакет ключей keyfile.zip для приватного Сервера лицензирования.
    Пакет ключей keyfile.zip содержит:

    1. Сертификат: ngp.licserver.crt
    2. Приватный ключ: ngp.licserver.key
    3. Ключ Сервера: server.license.key
    4. Ключ Клиента: license.key
  6. Далее необходимо скопировать полученный от менеджера ITV пакет license-server.deb в папку Downloads.

  7. Установить приватный Сервер лицензирования
  8. :

    Code Block
    languagebash
    sudo dpkg -i license-server.deb
  9. Убедиться, что по пути /etc/AxxonSoft/LicenseServer/ в файле конфигурации license.conf существует переменная
  10. Create an activation request. To do this, you must collect the computer's HIDs using the LS_tool utility byrunningitin the console as the root user:
    Code Block
    languagebash
    /opt/AxxonSoft/LicenseServer/LS_tool-static --collect-hwinfo
    Note
    titleAttention!

    The key binds to the License server, not to Axxon One. When you use the Guardant key, make sure that the USB key is connected to the server where you install the License server.

  11. Make sure that there is a LEASE_ACCOUNTER_TLS_AUTH_ENABLED=true

  12. . Если переменная отсутствует, необходимо выполнить команду
  13. 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
  14. Распаковать полученный от менеджера компании ITV архив keyfile.zip в папку keyfile
  15. Send a file with collected HIDs of the computer to the AxxonSoft manager and request the keyfile.zip package for the private License server that contains:
    1. Certificate: ngp.licserver.crt.

    2. Private key: ngp.licserver.key.
    3. Server key: server.license.key.

    4. Client key: license.key.

  16. Unzip the keyfile.zip archive received from an AxxonSoft manager into the keyfile folder:

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

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

  21. и приватный ключ
  22. 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/
  23. Перейти в папку LicenseServer
  24. Restart the License server:

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

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

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

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

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

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

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

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

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

  45. server.license.key

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

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

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

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

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

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

Installation of the private License server in Linux OS is complete. To access the License server web interface, do the following:

  1. Figure out 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 opens (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.