This page explains how NM Dev licensing works: license files for fixed machines, sharing one license file across several machines, cloud deployments, and the floating license server for organizations. It is compiled from the NM Dev knowledge base.
Licensing FAQ
Is there a way to have one license file shared by multiple machines?
Yes, one license file can contain multiple MAC addresses so you can deploy/copy the same file to multiple machines.
Is it possible to have a license that runs on cloud machines?
Yes, you will need a floating license. See the Floating License Server section below.
Floating License
For personal use, a user needs a valid license file (namely, numericalmethod.lic) to use NM Dev on a fixed machine. In the case that the machines on which NM Dev is deployed to are not fixed, e.g., cloud virtual machine or site license, floating license provides an alternative solution. This solution is suitable for a group of users working in the same organization in which they share a predetermined number of licenses.
License Server
A predetermined number of floating licenses are managed by a dedicated license server. Users from any machine can connect to the server to obtain a temporary license for using NM Dev.
To start the license server, in Windows, double-click the file start-floating-license-server.bat (or, run the script start-floating-license-server.sh in Linux). The script file is packaged with the NM Dev distribution (see the file structure below).
suanshu-x.y.z | floating.server.conf | floating.user.conf | start-floating-license-server.bat | start-floating-license-server.sh | suanshu-x.y.z.jar | \---lib
Configuration
The port number used by the license server is 8080 by default. To change the port number, one can change the value by editing the configuration file floating.server.conf.
PORT = 8080
License
The license server itself needs a license file floating.server.lic (under the same folder as the nmdev.jar file) to run. Please contact our sales team (sales@nm.dev) to get a license file.
Run at Startup
License server can be configured to start at machine startup by the following steps:
- Windows 7 or earlier versions
- Create a shortcut of the batch script by right-clicking the file and selecting “Create shortcut”.
- Click “Start” menu and locate “Startup”.
- Right-click “Startup” and select “Explore”.
- Copy and paste the created shortcut into the Startup folder.
- Windows 8 or later versions
- Create a shortcut of the batch script by right-clicking the file and selecting “Create shortcut”.
- Press Windows key + R.
- Type “shell:startup” into the Run dialog, and press Enter.
- Copy and paste the created shortcut into the Startup folder.
- Mac OS X
- Click “Apple” menu, and select “System Preferences”.
- Click “Users & Groups” icon, and click “Login Items”.
- Click “+” button at the bottom to add the .sh script file in the NM Dev folder.
- Linux
- Edit the file “~/.bash_profile”.
- Add a line to call “location_of_nmdev_folder/start-floating-license-server.sh” into the file, and save it.
Floating Users
A floating user with a valid floating numericalmethod.lic can use NM Dev on any machine (as long as it can connect to the license server).
Configuration (floating users)
The IP address and the port number of the license server can be configured via the configuration file floating.user.conf.
SERVER_HOST = 127.0.0.1 SERVER_PORT = 8080
Note that the port number configured here must match the one used by the server.
License (floating users)
Floating users also need special license file numericalmethod.lic (under the same folder as the nmdev.jar file). Such license file can be replicated to any machine. Please contact our sales team (sales@nm.dev) to get a license file.
