ONYX - 9.0 - Installation - Guide d'installation de ONYX Serveur de licence/en

Différence entre versions

De MappingDoc
(Page créée avec « ====Windows==== The configuration file's location (mapping.conf) is given in the Windows Registry: HKLM\SOFTWARE\Mapping\Licence server\ConfigFileFullpath (Or a similar l... »)
 
(13 révisions intermédiaires par 2 utilisateurs non affichées)
Ligne 2 : Ligne 2 :
 
The use of a license server is an alternative to the use of traditional license keys  (provided by Mapping).<br/>
 
The use of a license server is an alternative to the use of traditional license keys  (provided by Mapping).<br/>
 
It allows ONYX servers to obtain licenses upon request.<br/>
 
It allows ONYX servers to obtain licenses upon request.<br/>
This can, for instance, allow you to manage a stock of ONYX servers that can adapt the number of licenses according to demand.
+
This can, for instance, allow you to manage a pool of ONYX servers that can adapt to the number of licenses according to demand.
  
A license server is a central license server which must stay accessible to all devices in the stock.<br/>
+
A license server is a central server which must stay accessible to all devices in the pool.<br/>
 
Each ONYX server is linked to it as a client.
 
Each ONYX server is linked to it as a client.
  
Ligne 55 : Ligne 55 :
 
  Enter the key:
 
  Enter the key:
  
Information such as "serial number" and "your type of processor" must be transmitted to Mapping to obtain the software keys to activate the server.
+
Information such as "serial number" and "type of processor" must be transmitted to Mapping to obtain the software keys to activate the server.
  
 
===Launching the server in service mode===
 
===Launching the server in service mode===
Ligne 78 : Ligne 78 :
 
(Or a similar location such as WOW6432Node, HKCU...)
 
(Or a similar location such as WOW6432Node, HKCU...)
  
=='''Client''' (ONYX Server) ayant besoin d'une clé==
+
=='''Client''' (ONYX Server) needing a key==
Le rôle de réclamer une clé est affecté à un binaire spécifique : '''LicenseRequester'''.
+
When a key is retrieved it is assigned to a specific binary file: '''LicenseRequester'''.
  
Ce binaire est fourni avec l'ensemble des binaires Mapping.
+
This binary file is provided with the rest of all Mapping binary files.
  
===Configuration du client===
+
===Configuring the client===
La configuration du client se trouve dans le même fichier de configuration (mapping.conf) que les autres modules ONYX Server.
+
The configuration file for the client is located in the same configuration file (mapping.conf) as other ONYX Server modules.
  
Pour activer l'utilisation d'un serveur de licence au niveau du client, il suffit d'ajouter le bloc suivant dans le fichier mapping.conf :
+
To activate the use of a license server at client level, the following block needs to be added to the mapping.conf file:
 
  <block name="LICENSESSERVER">
 
  <block name="LICENSESSERVER">
 
   <group>
 
   <group>
Ligne 97 : Ligne 97 :
 
   </block>
 
   </block>
  
Et renseigner les éléments suivants :  
+
The following elements need to be specified:  
* <code>LICENSE_SERVER</code> : ON/OFF (permet d'activer ou non le mode serveur de licence)
+
* <code>LICENSE_SERVER</code>: ON/OFF (activates or does not activate the license server mode)
* <code>LICENSE_SERVER_IP</code> : adresse IP du serveur de licence (ne fonctionne pas avec une adresse DNS)
+
* <code>LICENSE_SERVER_IP</code>: IP address of the license server (does not work with a DNS address)
* <code>LICENSE_SERVER_PORT</code> : port d'écoute du serveur de licence.
+
* <code>LICENSE_SERVER_PORT</code>: listening port of the license server.
  
===Execution===
+
===Running the license server===
'''LicenseRequester''' est invoqué automatiquement dès lors qu'un module Mapping a besoin d'une clé pour fonctionner.
+
'''LicenseRequester''' is automatically called as soon as a Mapping module needs a key to run.
  
Cependant, il est également possible de lancer manuellement une demande de clés :
+
However, keys can also be requested manually with:
 
  LicenseRequester -claim
 
  LicenseRequester -claim

Version actuelle datée du 5 juillet 2019 à 15:21

Autres langues :
English • ‎français

The use of a license server is an alternative to the use of traditional license keys (provided by Mapping).
It allows ONYX servers to obtain licenses upon request.
This can, for instance, allow you to manage a pool of ONYX servers that can adapt to the number of licenses according to demand.

A license server is a central server which must stay accessible to all devices in the pool.
Each ONYX server is linked to it as a client.

License Server

The license server has Mapping license keys available which it provides to clients requesting them.

Installation

Linux

Requirements

The following librairies must be installed and updated on the installation server:

  • openssl1.0 (or equivalent, the binary file searched for is libcrypto.so.1)
  • libcap-progs (or libcap2-bin on some systems)
Steps

The license server is provided in the form of a .tar.gz file

  1. Unzip the file: tar -xvf Setup_LicenseServer_linux_xxxxxxxxx.tar.gz
  2. Launch the script install.sh (with root rights)
  3. Follow instructions


Extract from a usual installation process:

Where do you want to install the application? [/apps/M-LicenseServer/]
>
Installation directory: /apps/M-LicenseServer/
same for data directory: /apps/M-LicenseServer/

Which listening port for this server? [2005]
>
Listening port: 2005

The application was succefully installed!

Do you want to start the service now? [Y/n]
>
Starting M-LicenseServer...
done.
Service started.

Entering software keys

The license keys (provided by Mapping) must be entered with the following command for the license server to be activated:

M-LicenseServer -key

The program then allows you to enter the software keys:

Your serial number: DEADD00D
Your type of processor: x86_x86_

Enter the product number:
Enter the key:

Information such as "serial number" and "type of processor" must be transmitted to Mapping to obtain the software keys to activate the server.

Launching the server in service mode

Linux

systemctl start M-LicenseServer

Windows

A new entry point called Mapping Licence server was created in the operating system's list of services.

Launching the server in interactive mode

This launch mode is recommended for Docker containers:

M-LicenseServer -debug

This mode does not give control back.

Configuration

Linux

The configuration file's location (mapping.conf) is given in the /etc/mappinglstab file

Windows

The configuration file's location (mapping.conf) is given in the Windows Registry:

HKLM\SOFTWARE\Mapping\Licence server\ConfigFileFullpath

(Or a similar location such as WOW6432Node, HKCU...)

Client (ONYX Server) needing a key

When a key is retrieved it is assigned to a specific binary file: LicenseRequester.

This binary file is provided with the rest of all Mapping binary files.

Configuring the client

The configuration file for the client is located in the same configuration file (mapping.conf) as other ONYX Server modules.

To activate the use of a license server at client level, the following block needs to be added to the mapping.conf file:

<block name="LICENSESSERVER">
  <group>
    <element>
      <info name="[LICENSE_SERVER]">ON</info>
      <info name="[LICENSE_SERVER_IP]">192.168.10.11</info>
      <info name="[LICENSE_SERVER_PORT]">2005</info>
    </element>
   </group>
 </block>

The following elements need to be specified:

  • LICENSE_SERVER: ON/OFF (activates or does not activate the license server mode)
  • LICENSE_SERVER_IP: IP address of the license server (does not work with a DNS address)
  • LICENSE_SERVER_PORT: listening port of the license server.

Running the license server

LicenseRequester is automatically called as soon as a Mapping module needs a key to run.

However, keys can also be requested manually with:

LicenseRequester -claim