License Daemon
Table of Contents
- 1 Table of Contents
- 2 Copyright
- 3 Introduction
- 4 Package Description
- 5 Installation
- 6 Execution
- 6.1 Linux
- 6.1.1 Service Script
- 6.1.2 Manual Execution
- 6.1.3 Automatic Execution
- 6.1.4 Terminate Process
- 6.2 Windows
- 6.2.1 Manual Execution
- 6.2.2 Automatic Execution
- 6.1 Linux
- 7 Configuration of lmadmin
- 8 Configuration of Variables
- 9 Troubleshooting
- 9.1 LogFile Error
- 9.2 lmadmin Error (Linux)
- 9.2.1 Problem
- 9.2.2 Possible Cause
- 9.2.3 Workaround/Fix
- 9.3 lmhostid Error (Linux)
- 9.3.1 Problem
- 9.3.2 Possible Cause
- 9.3.3 Workaround/Fix
- 9.4 lmstat Error (Linux)
- 9.5 GLIBC Problem (Linux)
- 9.6 hostname Error(Linux)
- 9.7 Firewall Problem
- 9.7.1 Linux
- 9.7.1.1 Resolution
- 9.7.2 Windows
- 9.7.1 Linux
- 9.8 “No such file or directory” Error (Linux)
- 9.8.1 Problem
- 9.8.2 Reason
- 9.8.3 Workaround/Fix
Vendor Daemon Configuration page
Copyright
All the contents of this document are protected by the copyright law. They may not be disclosed to third parties or copied or duplicated in any form without the written consent of NanoXplore.
Introduction
This document is intended to help configure and install the NanoXplore License Manager Daemon (NXLMD) required to use NanoXplore tools.
Although it should work as expected on any recent 64 bit Linux or Windows operating system, the NanoXplore License Manager Daemon has been successfully tested on the following systems:
RedHat Enterprise Linux 7 and 8
Ubuntu 18.04 LTS and 20.04 LTS
Windows Server
For any other distribution or platform, please contact the NanoXplore Support team at support@nanoxplore.com.
Please note that you should launch some of the described Linux commands as root, adding “sudo” in front of each command.
Package Description
The NXLMD-2.2-linux.tar.gz package contains the following directories:
NXLMD-2.2 (Root Directory + Current Version) | Contents |
---|---|
bin | Binary Files |
etc | Contains one service file to automate daemon execution (only on Linux) |
The NXLMD-2.2-windows.zip package contains the following directories:
NXLMD-2.2 (Root Directory + Current Version) | Contents |
---|---|
bin | Binary Files |
Installation
Linux
In this document we refer to the directory where the NXLMD files are installed as the installation directory.
The default “/” recommended directory is /opt/NanoXplore.
Archive
If the installation directory does not exist, create it using the command below:
$> mkdir /opt/NanoXplore
To install the NanoXplore License Manager Daemon:
Unpack NXLMD-2.2-linux.tar.gz file into the installation directory using the following command:
$> tar xzvf NXLMD-2.2-linux.tar.gz -C /opt/NanoXplore
Linux Distribution Adaptation
The NanoXplore License Manager Daemon supports several Linux distributions, you must point to the right one when updating the symbolic links in the directory /opt/NanoXplore/NXLMD/2.2/bin.
Please go to the bin directory and update all the existing links with the following commands (e.g. for RHEL 7):
$> ln -sfn x86_64_RHEL_7/lmgrd lmgrd $> ln -sfn x86_64_RHEL_7/lmhostid lmhostid $> ln -sfn x86_64_RHEL_7/lmstat lmstat $> ln -sfn x86_64_RHEL_7/lmutil lmutil $> ln -sfn x86_64_RHEL_7/NXLMD NXLMD $> ln -sfn x86_64_RHEL_7/lmadmin lmadmin
Linking Libraries
The NanoXplore License Manager Daemon requires the library ld-lsb-x86-64.so.3 which might not be installed on Linux distributions.
To do so, use the following command:
Retrieve Licensing Information
To retrieve the required license file from NanoXplore, you must provide the following information:
The Name of the Host where the License Manager Daemon is installed.
Use the following command to retrieve this information:
The License Manager Host ID provided by the binary is located in /opt/NanoXplore/NXLMD/2.2/bin.
Use the following command to retrieve this:
License File
Once you retrieve the license file, copy it to the installation directory:
Installation to Non-Default Directories
You can install NXLMD in a non-default directory ${MY_INSTALLATION_DIRECTORY} using the following command:
Use the command below to change the path in the License File from
${MY_INSTALLATION_DIRECTORY}/NXLMD/2.2/license.lic
to
${MY_BIN_DIRECTORY} = ${MY_INSTALLATION_DIRECTORY}/NXLMD/2.2/bin/
Windows
In this document we refer to the directory where the NXLMD files are installed as the installation directory.
The default “/” recommended directory is C:\NanoXplore
Archive
Unzip the archive to the C:\NanoXplore directory
License File
Copy the license file to the installation directory C:\NanoXplore\NXLMD\2.2\
Execution
Linux
Service Script
To do this, run the following command:
Copy the lmadmin.service file to the /etc/systemd/system directory:
If you choose to use the default user specified in the lmadmin.service file, you must execute the following commands:
Manual Execution
To manage the NanoXplore License Manager Daemon manually, use the following commands:
Start
Stop
Restart
Automatic Execution
Use systemctl to add the new service:
Start the NanoXplore License Manager Daemon with the following command:
To print status information about the NanoXplore License Manager Daemon, use the command:
Terminate Process
To stop the NanoXplore License Manager Daemon, use the command:
Windows
Manual Execution
Launch a Windows PowerShell and go to the installation directory of NXLMD:
To launch the lmadmin service, use the following command:
Automatic Execution
Launch a Windows PowerShell as Administrator
Go to the NXLMD installation directory:
To add the lmadmin service to Windows:
Run the following command:
Configuration of lmadmin
Once the lmadmin service is launched, you must configure it:
Open a navigator and access the following URL: http://127.0.0.1:8090 (if you launched the navigator on your server)
You should obtain the following page:FlexNet Administration PageClick on the “Administration” tab
Note: You will be asked to sign in: the default Username and Password are “admin”/”admin”. Once logged in, you will be prompted to change the admin passwordClick on the “Vendor Daemon Configuration” tab
Vendor Daemon Configuration PageYou can now import your license file by clicking the “Import License” button.
Once imported, the license daemon should be automatically launched.
To check the status:
Navigate to the Dashboard tab
Click on the “Concurrent” button
If the license daemon is well configured, you should obtain a page similar to this:
If you encounter any issues, please contact NaxoXplore Support
Configuration of Variables
When launching NanoXplore tools, the LM_LICENSE_FILE variable must be exported
To avoid having to repeat this for every execution, you can to add it in the ~/.bashrc file with the following command:
For instance:
Troubleshooting
LogFile Error
Linux
If you use the nxlmd service, check the execution log file in the following directory :
If you use the lmadmin service, check the execution log file in the following directory:
Windows
Check the execution log files in:
lmadmin Error (Linux)
Problem
The following message appears in the /opt/NanoXplore/NXLMD/2.2/bin/lmadmin/logs/web.log:
Possible Cause
You may have launched lmadmin as root.
Workaround/Fix
Try to launch lmadmin as another user (dedicated lmadmin for example)
lmhostid Error (Linux)
Problem
The following message appears in the execution log file (example):
With:
${MY_LICENSE_FILE} = ${MY_INSTALLATION_DIRECTORY}/NXLMD/2.2/license.lic
Possible Cause
You probably have the wrong network interface (see previous sections for more information on how to change this)
Workaround/Fix
To check the hostid found by NXLMD without running the server, you can use the following command:
You must get a full hostid with ${HOSTID} not empty:
lmstat Error (Linux)
Check the NanoXplore License Manager Daemon is running correctly using the following command:
GLIBC Problem (Linux)
Problem
If the following error message appears:
NXLMD: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by NXLMD)
Fix
Change the links in the ${MY_INSTALLATION_DIRECTORY}/NXLMD/2.2/bin directory to your OS version.
For example:
hostname Error(Linux)
Check your hostname is written in the file:
/etc/hosts.
Firewall Problem
Linux
Resolution
If you have a firewall set, add a specific rule for the lmgrd Port (27000 by default) and for the NXLMD Port
You can manually specify the NXLMD Port in the License File, for example, to set the port to 27010:
with ${MY_BIN_DIRECTORY} = ${MY_INSTALLATION_DIRECTORY}/NXLMD/2.2/bin/
Windows
If the Windows firewall is enabled, you must authorise lmadmin and lmgrd
At the first launch of the server, Windows will ask you if you wish to authorise the services, otherwise, you must add them manually in the Firewall parameters.
“No such file or directory” Error (Linux)
Problem
If the following message appears when launching ‘journalctl –xe’ command:
Reason
The ld-lsb-x86-64.so.3 file may be missing.
Workaround/Fix
Run the following command:
If there is no result, run the following command:
© NanoXplore 2022