Go to documentation repository
Page History
| Section | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Installation
| Note | ||
|---|---|---|
| ||
|
Для установки приватного Сервера лицензирования на ОС Linux необходимо:
| |
|
To install the private License Server in Linux OS, do the following:
- Create an activation request (see Creating an activation request).
- 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:- Certificate
- Создать запрос на активацию (см. Создание запроса на активацию).
- : ngp.licserver.crt
Приватный ключ- Private key: ngp.licserver.key
Ключ Сервера- Server key: server.license.key
Ключ Клиента- Client key: license.key
Далее необходимо скопировать полученный от менеджера ITV пакет- Copy the license-server.deb в папку Downloads.Установить приватный Сервер лицензирования
- package, received from an AxxonSoft manager, to the Downloads folder.
Install the private License Server:
Code Block language bash sudo dpkg -i license-server.debУбедиться, что по пути /etc/AxxonSoft/LicenseServer/ в файле конфигурации license.conf существует переменная Make sure that there is a LEASE_ACCOUNTER_TLS_AUTH_ENABLED=true
. Если переменная отсутствует, необходимо выполнить командуvariable at the /etc/AxxonSoft/LicenseServer/ path in the license.conf configuration file. If the variable is missing, run the following command:
Code Block language bash sudo nano /etc/AxxonSoft/LicenseServer/license.confРаспаковать полученный от менеджера компании ITV архив Unzip the keyfile.zip
в папку keyfilearchive, received from an AxxonSoft manager, into the keyfile folder:
Code Block language bash sudo mkdir keyfile & unzip keyfile.zip -d keyfileПерейти в папку keyfileGo to the keyfile folder:
Code Block language bash cd ./keyfile/Добавить в директорию /etc/AxxonSoft/LicenseServer/ сертификат Add the ngp.licserver.crt
и приватный ключ certificate and the ngp.licserver.key private key to the /etc/AxxonSoft/LicenseServer/ directory:
Code Block language bash sudo cp ngp.licserver.crt ngp.licserver.key /etc/AxxonSoft/LicenseServer/Перейти в папку LicenseServerRestart the License Server:
Code Block language bash sudo systemctl restart licenseПерейти по пути /etcAdd the server.license.key to the /var/AxxonSoft/LicenseServer/
и добавить в эту директорию ключ Сервера server.license.keykeys directory:
Code Block language bash sudo cp server.license.key /etcvar/AxxonSoft/LicenseServer/
Перезапустить Сервер лицензированияkeysВ результате по пути Restart the License Server:
Code Block language bash sudo systemctl restart licenseAs a result, two files will be located at the /var/AxxonSoft/LicenseServer/keys
будут расположены два файла: ключ Сервера path: server.license.key
и ключ с именем в виде ID-системы.and a key named as the system ID.
Удалить Серверный ключ Delete the
server.license.key
из директории from the /var/AxxonSoft/LicenseServer/keys directory:
Code Block language bash sudo rm /var/AxxonSoft/LicenseServer/keys/serv\ server.license.key
Обратиться в компанию ITV и получить от менеджера необходимый пакет license-server.deb и пакет ключей keyfile.zip для приватного Сервера лицензирования.
Пакет ключей keyfile.zip содержит:
cd /etc/AxxonSoft/LicenseServer/Перезапустить Сервер лицензирования:
| language | bash |
|---|
| title | Примечание |
|---|
На всех Серверах ПК Интеллект X, находящихся в домене, с помощью утилиты активации активировать ключ Клиента license.key (см. Активация путем распространения лицензионного файла).
| Info | ||
|---|---|---|
| ||
В результате на всех Серверах ПК Интеллект 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:
- Determine the address of the License Server using the command:
Code Block systemctl status license - 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 | ||
|---|---|---|
| ||
dpkg -i license-server.deb |
УдалитьDelete:
| Code Block | ||
|---|---|---|
| ||
dpkg -r license-server |
Перезапустить службуRestart the service:
| Code Block | ||
|---|---|---|
| ||
systemctl restart license |
Проверить статус службыCheck the status of the service:
| Code Block | ||
|---|---|---|
| ||
systemctl status license |
Посмотреть журнал службыView the service log:
| Code Block | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
Metrics are sent either every three minutes or when connection with the License Server is lost. |