Professional Documents
Culture Documents
www.vi-grade.com
email: info@vi-grade.com
Copyright Information
VI-grade GmbH
Trademarks
All other trademarks referenced herein are property of their respective holders.
Table of Contents
1 VI-Licensing 20.0
It supports node-locked and network floating configurations and thru an easy configuration process, it is possible
for the administrator to assign certain product licenses to specific groups of client machines or users without
setting up extra servers.
· Node locked
The application is limited to run on one particular client machine. The server for this license may be a different
machine in the network. A preset number of instances of the application can run in parallel.
· Named User/Client
This license is a special type of network floating license that allows you to better control the usage of the
software. The license can be limited to specific users or client machines on the network.
· License Borrowing
Allow mobile users, such as those using notebook computers, to "borrow" licenses from the license
server, so that they can continue to use the licensed application while they're out of the office.
The process to obtain machine identification data ( commonly called host id ) depends on:
· the operative system on which the license server should run;
· the version of the VI-grade software you need to enable.
starting from version 16 the host id required is the network card MAC address for both Linux and Windows OS.
You can obtain the full set of MAC address of your machine issuing one of the following command into a terminal:
· Window s:
ipconfig /all > lmxhostid.txt
· Linux :
/sbin/ifconfig > lmxhostid.txt
Once you obtained the txt file including the machine identification data, please send it to license_admin@vi-
grade.com and you will receive back the required license file.
windows VI_Licensing_20_0_x64_Setup.exe
linux x64 VI_Licensing_20_0_Linux_x64_Setup.tar.gz
· windows 10 x64
When running a node-locked license you have to install the server on your local machine.
When running a netw ork license you have to install VI-Licensing server on the server machine and set the
environment variable on the client machines. You don't need to install VI-Licensing on the client machine, unless
you need to use the borrow ing option: in this case install the license client on the client machine.
Installing on:
· Windows
For more information on how to setup the server please refer to the LM-X End User Guide called enduser.pdf.
Installing the:
· license server
· license client
License Agreement
Read the license agreement carefully. The check box will enable the “I Agree” button required to proceed
with the application setup.
Accept the default components selection. You may already have the correct Visual Studio Runtime
version available on the computer, but it is strongly suggested to keep it checked, to make sure that the
software works properly. Make Sure License Server checkbox is selected (default).
Enter the port number and select the license file that has been provided to you by VI-grade or one of its
resellers. Make sure that the selected port is not already in use by another application or service. The
installer performs a runtime check to verify if the port is available, but this check works only if the port is
in use during installation. The VI-grade licensing system will be installed and a copy of the license file
called license.lic will be placed in the appropriate location of the installation directory.
After the selection of the license file and relative installation procedures, the following window will appear
reporting the status of each procedure.
If you experience problems setting up the server automatically during the installation process you may
use the LMX Setup/Configuration Tool that you can access thru the VI-Licensing menu.
After the VI-Licensing client installation, from Start --> Programs --> VI-Grade the following panel will be
accessible
Selecting Command Prompt a command shell will open, starting from the VI-Licensing installation
directory.
In case of server setup, a couple of dedicated shortcuts are available in the start menu to force start/stop
of the VI-grade-LMX service.
NOTE. the default values and the commands provided below are related to an installation performed on a
Concurrent machine, running RedHat 7, from the root user. If the software is installed on a different OS, please
refer to its own documentation.
Copy the vigrade_lmx file in the /etc/init.d/ folder and then run the following command to set general priviliges
to the script:
chmod +x /etc/init.d/vigrade_lmx
Now this script should be run at every startup of the machine. To do so, run these commands on the terminal:
Now the script vigrade_lmx should already work if a default installation is perfromerd. However, please check the
following variables and fill them with the correct values, depending on your installation. In particular:
INSTALLATION_DIRECTORY=/vigrade/license
CONFIGURATION_FILE=/vigrade/license/lmx-serv.cfg
LOG_FILE=/vigrade/license/lmx-serv.log
USERNAME=root
Finally, in the lmx-serv.cfg file, the license file must be set. To do so, open it with a txt editor and set the correct
path of the license file:
LICENSE_FILE = /vigrade/license/license.lic
1. Replace the existing license file in the same location with the same name. On windows the name would
typically be license.lic for example.
2. Modify the configuration file ( lmx-serv.cfg ) to point to the new license file that you received from VI-grade or one
of their resellers.
LISTEN_PORT = 6200
LICENSE_FILE = C:\Program Files (x86)\VI-grade\VI-Licensing\license.lic
LOG_FILE = C:\Program Files (x86)\VI-grade\VI-Licensing\lmx-serv.log
LOG_ACTIVE = TRUE
In case you got a new license file with additional licenses you may just add a new line pointing to the new file:
LISTEN_PORT = 6200
LICENSE_FILE = C:\Program Files (x86)\VI-grade\VI-Licensing\my_license.lic
LICENSE_FILE = C:\Program Files (x86)\VI-grade\VI-
Licensing\my_license_additional_features.lic
LOG_FILE = C:\Program Files (x86)\VI-grade\VI-Licensing\lmx-serv.log
LOG_ACTIVE = TRUE
Please note that files including expired licenses should be removed in order to get the new ones becoming
functional.
A server restart is required on each modification to the cfg file.
The configuration file (lmx-serv.cfg) for the HAL setup should contain the following 3 lines:
HAL_SERVER1 = [port]@hostname
HAL_SERVER2 = [port]@hostname
HAL_SERVER3 = [port]@hostname
defining the set of machines acting as license servers. The role of each server is the following:
· HAL_SERVER1 is your master server, which allows both CHECKOUT and BORROW.
· HAL_SERVER2 is your first slave server,# which allows CHECKOUT but denies BORROW in the event that
your master server goes down.
· HAL_SERVER3 is part of your configuration to ensure that everything works as expected, and does not allow
any CHECKOUT or BORROW requests.
Notes;
· When HAL licenses are used, please make sure that nor VIGRADE_LICENSE_PATH nor
LMX_LICENSE_PATH variables are defined on the three server machines.
-check feature_name
check for a specific feature availability.
-expiration feature_name
check for remaining time before the selected feature expires.
Note: if the time left is less than 1 hour, it will answer that the feature is already expired, but the user will
be able to use that feature for all the minutes left.
-return feature_name
to return a specific feature previously borrowed, before the borrowing expiration time.
-returnproduct productname
return the set of features related to product name, before the borrowing expiration time.
Note: If the product name provided is wrong, a list of all available product names will be shown.
-featuresfile file_name
definition file listing features for each product.
Note: the application is case sensitive, so be sure to type correctly the product or the feature name.
To borrow the license from the license server (you need to be connected to the server)
· use the following command, from the command prompt available in the Start -> All Programs -> VI-
Grade -> VI-Licensing -> Command Prompt menu
license_toolkit -borrow product license_key_name borrow _time
e.g.: license_toolkit -borrowproduct VI_SportsCar 24
To return the license to the server before the ex piration time (you need to be connected to the server)
· use the following command, from the command prompt available in the Start -> All Programs -> VI-
Grade -> VI-Licensing -> Command Prompt menu
license_toolkit -returnproduct license_key_name
e.g.: license_toolkit -returnproduct VI_SportsCar
The license is returned automatically to the server after the ex piry of the borrow ing time (while the client
machine loses the license).
When an unsupported product name is specified, the borrow process will fail and a list of supported product
names will be shown.
See License Toolkit Options for further info on the previous commands and for all available options.
Notes:
license_toolkit is an LMX protected application so in order to properly allow borrow operation, a proper
connection to an active VI-grade license server is required.
or
· Open the Control Panel and select Add/Remove Programs. Select VI-Licensing Setup and click on
Change/Remove
./lmxendutil -shutdownserver