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!
  • 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 Serverserver in the 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 must collect the computer's HIDs using the LS_tool utility byrunningitin the console
  5. under the 
  6. 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

  7. using
  8. you use the Guardant key, make sure that the USB key is connected to the server where you install

  9. the
  10. the License server.

  11. 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
  12. Copy the license-server.deb package, received from an AxxonSoft technical support specialis, to the Downloads folder.
  13. Install the private License Server:

    Code Block
    languagebash
    sudo dpkg -i license-server.deb
  14. 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
  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 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. Go to the keyfile folder:

    Code Block
    languagebash
    cd ./keyfile/
  18. 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/
  19. Restart the License Serverserver:

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

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

    Code Block
    languagebash
    sudo systemctl restart license

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

  22. 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 the Linux OS is complete. To access the License Serverserver web interface, do the following:

  1. 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 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.

...

Info
titleNote

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