Versions Compared

Key

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

Table of Contents


Column

 

Installation

Note
titleAttention!
  • License Server cannot be installed on the same computer as You cannot install the License server along with Axxon One. If you have install Axxon One installed on your a personal computer, then you must dedicate a separate have another computer to install the License Serverserver.
  • Port 443 must be open.

To install the private License Serverserver 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:

    Code Block
    languagebash
    sudo dpkg -i license-server.deb
  4. Create an activation request. To do this, you
  5. need to
  6. must collect the computer's
  7. HID
  8. HIDs using the
  9.  
  10. LS_tool
  11.  
  12. utility byrunningitin the console
  13. under the 
  14. as the root user:
    Code Block
    languagebash
    /opt/AxxonSoft/LicenseServer/LS_tool-static --collect-hwinfo
    Note
    titleAttention!

    The key

  15. is linked
  16. binds to the

  17. Licensing Server
  18. License server, not

  19. to
  20. to Axxon One. When

  21. using
  22. you use the Guardant key, make sure that the USB key is connected to the server where

  23. the Licensing Server is installed.
  24. Contact an AxxonSoft technical support specialist 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: ngp.licserver.crt
    2. Private key: ngp.licserver.key
    3. Server key: server.license.key
    4. Client key: license.key
  25. Copy the license-server.deb package, received from an AxxonSoft manager, to the Downloads folder.
  26. Install the private License Server:

    Code Block
    languagebash
    sudo dpkg -i license-server.deb
  27. you install the License server.

  28. 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
    languagebash
    sudo nano /etc/AxxonSoft/LicenseServer/license.conf
  29. 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.

  30. Unzip the 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
  31. Go to the keyfile folder:

    Code Block
    languagebash
    cd ./keyfile/
  32. Add the ngp.licserver.crt 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/
  33. Restart the License Serverserver:

    Code Block
    languagebash
    sudo systemctl restart license
  34. Add the server.license.key to the /var/AxxonSoft/LicenseServer/keys directory:

    Code Block
    languagebash
    sudo cp server.license.key /var/AxxonSoft/LicenseServer/keys
  35. Restart the License Serverserver:

    Code Block
    languagebash
    sudo systemctl restart license

    As a result, two files will be are located at the /var/AxxonSoft/LicenseServer/keys path: server.license.key and a key named as the system ID.

  36. Delete the server.license.key from the /var/AxxonSoft/LicenseServer/keys directory:

    Code Block
    languagebash
    sudo rm /var/AxxonSoft/LicenseServer/keys/server.license.key

Installing Installation of the private License Serverserver in Linux OS is complete. To access the License Serverserver web interface, you need todo the following:

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

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

Useful commands

Install: 

Code Block
languagebash
dpkg -i license-server.deb

...

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 0—the service is working;
  • greater than or equal to 1—there 1—there are problems in the service operation.

...

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 Serverserver is lost.