Floating License Server Operation Manual - On-premise version
The following is explained about the on-premise version of floating licenses.
- Setup
- Operation
- Checking license usage status
- Updating licenses
- Uninstallation
- Troubleshooting
Setup
This explains how a system administrator can set up a floating license server for Next Design. The steps to set up a floating license server are as follows.
- Download
- Installation
- Configuration
- License activation
- Server auto-start registration
- Change firewall settings
- Create license configuration file
- Operation check
If you use multiple editions with floating licenses, you need to prepare a different license server for each edition.
Administrative privileges are required to execute the commands described in the following steps.
For Windows, run the command prompt as an administrator.
For Linux, use the sudo
or su
command in conjunction with the commands.
1. Download
Download the files required to build a floating license server from the Next Design support page.
The required files are as follows.
- Windows
- Linux
- LexFloatServer-Win.zip
- NextDesignProduct.dat
After downloading the zip file, disable security protection as follows before extracting the file.
- Right-click the zip file to display [Properties].
- Read the [Security] explanation displayed at the bottom of the [General] tab, check the [Allow] check box on the right, and press the [OK] button.
- LexFloatServer-Linux.zip
- NextDesignProduct.dat
2. Installation
Extract the downloaded zip file and store it in the installation folder of your choice.
- Windows
- Linux
- LexFloatServer.exe ・・・ License server executable file
- config.yml ・・・ Configuration file
- NextDesignProduct.dat ・・・ Next Design product identification data file
The Visual Studio 2015 redistributable package is required to run the floating license server. If it is not installed, download it from the Microsoft site and install it.
- lexfloatserver ・・・ License server executable file
- config.yml ・・・ Configuration file
- NextDesignProduct.dat ・・・ Next Design product identification data file
3. Configuration
Configure the information required to operate the floating license server.
Open the "config.yml" stored in the folder in a text editor and edit it as follows.
server:
port: { Port number used by the floating license server }
licenseKey: { License key of the issued floating license }
productFilePath: NextDesignProduct.dat
auth:
admins:
- username: { User name to sign in to the license management screen }
password: { Password to sign in to the license management screen }
If the Next Design product identification data file: "NextDesignProduct.dat" is stored in a folder different from the license server executable file, specify the relative path from the license server executable file in the above productFilePath:
.
4. Activating the license
License activation is performed from the command line. This section explains how to activate online and how to activate offline.
- Activation can also be performed from the license management screen accessed from a browser, but the procedure is simpler when using the command line, so the procedure for command line is explained below.
- Online activation method
- Offline activation method
Execute the following command.
lexfloatserver -a
- Execute the following command from the command line.
lexfloatserver -g --offline-request {path to offline activation request file}
- An offline activation request file will be generated in the specified path.
- Attach the offline activation request file to an email and send it to ndsupport@denso-create.jp.
- Once the response file is returned, execute the following command.
lexfloatserver -a --offline-response={path to response file}
5. Registering the server for automatic startup
To start the floating license server, you need to register the service. By executing the following command, it will be registered as a service, and the floating license server will automatically start when the server starts.
- Windows
- Linux
lexfloatserver -i --service-name {service name to register} --service-display-name {service name to display in management tool}
lexfloatserver -i --service-name {service name to register}
6. Change firewall settings
Configure the firewall to allow access to the floating license server.
- Windows
- Linux
- Open [Network and Internet] from [Windows Settings].
- Open [Windows Firewall].
- Open [Allow an application through the firewall].
- Click [Allow another app] to open the [Add app] dialog.
- Click the [Reference] button and select [LexFloatServer.exe].
- Check [Private] and [Public] for [Floating license server] in the [Allowed apps and features] list.
- Click the [OK] button to close the dialog.
If you are using a firewall on the server you are setting up, allow it to accept the configured port number.
7. Create a license configuration file
Use the license configuration file creation tool to create a license configuration file.
For information about the license configuration file creation tool, see License configuration file creation tool.
8. Operation check
The following explains the procedure to check if the floating license server is working properly.
You can check if it is working properly by starting Next Design on a machine other than the server and actually authenticating the license.
- Start Next Design.
- If you have not registered the Next Design license, the [License registration] dialog will be displayed.
(If the license is already registered, please deactivate the license by following the license deactivation procedure described below before starting the program.) - Select [Floating license] from the [License type] options.
- Select [On-premise] from the [License server] options.
- In [License setting file], specify the path to the license setting file created with the license setting file creation tool.
- If necessary, change the system proxy settings so that you can connect to the license server. For details, please contact your network administrator.
- Press the [Register] button.
- If the license server is working properly and the license is authenticated, Next Design will start.
- Select [Help] > [License Management] to display the [License Management] dialog.
- Click the [Release License] button and click OK in the confirmation dialog that appears.
- The license will be released and Next Design will close.
Operation
Check license usage status
System administrators can check license usage status from a browser. The information that system administrators can check is as follows.
- Number of licenses currently in use/Maximum number available
- License activation status
- Information on users currently using licenses
- Machine name
- Start a browser.
- Enter [http://floating license server host name:port number to be used] in the address bar.
- Sign in with the configured username and password.
Updating a license
To update a license, such as extending the license period or increasing the maximum number of available licenses, you must follow the steps below.
- Windows - Online
- Windows - Offline
- Linux - online
- Linux - offline
- Execute the following command on the command line to reactivate.
lexfloatserver -a
- Execute the following command on the command line to restart the service.
sc stop {registered service name}
sc start {registered service name}
- Execute the following command on the command line to create an offline activation request file.
lexfloatserver -g --offline-request {path to offline activation request file}
- An offline activation request file will be generated in the specified path.
- (If activation has been deactivated) Reactivate using the offline activation response file used during server setup.
lexfloatserver -a --offline-response={path to response file}
- Attach the offline activation request file to an email and send an email requesting offline activation to ndsupport@denso-create.jp.
- When the response file is returned, run the following command to activate.
lexfloatserver -a --offline-response={path to the new response file returned}
- Run the following command on the command line to restart the service.
sc stop {registered service name}
sc start {registered service name}
- Execute the following command on the command line to reactivate.
lexfloatserver -a
- Execute the following command on the command line to restart the service.
service {registered service name} stop
service {registered service name} start
- Execute the following command on the command line to create an offline activation request file.
lexfloatserver -g --offline-request {path to offline activation request file}
- An offline activation request file will be generated in the specified path.
- (If activation has been deactivated) Reactivate using the offline activation response file used during server setup.
lexfloatserver -a --offline-response={path to response file}
- Attach the offline activation request file to an email and send an email requesting offline activation to ndsupport@denso-create.jp.
- When the response file is returned, run the following command to activate.
lexfloatserver -a --offline-response={path to the new response file returned}
- Run the following command on the command line to restart the service.
service {registered service name} stop
service {registered service name} start
Uninstallation
The service registration can be cancelled by following the steps below.
- online
- offline
- Execute the following command on the command line.
lexfloatserver -u --service-name {registered service name}
lexfloatserver -d
- Execute the following command on the command line.
lexfloatserver -u --service-name {registered service name}
- Attach the floating license key to the body of the email and send an offline deactivation request email to ndsupport@denso-create.jp.
Please discard the offline activation request file used to activate the license.
Troubleshooting
This explains the causes and solutions for license authentication failures.
- Unable to connect to the floating license server.
Cause
-
Either the server address or the port is incorrect
-
The floating license server is not running
-
The floating server's firewall is preventing license authentication
-
The proxy server is preventing license authentication
Condition
-
[Server Address] is different from [http://floating license server host name], or [Port] is different from the port number specified in the configuration
-
The floating license server is not running
-
The floating license service is not excluded in the server's firewall settings
-
The floating license server address is not excluded in the client's proxy settings
Solution
-
Enter the correct server address and port.
-
Start the floating license server. Follow the procedure explained in Service registration.
-
Allow the floating license service in the firewall application permission. Follow the firewall procedure in the configuration.
-
Do not use a proxy server for local addresses or exclude the floating license server address. Follow step 5 in the operation check.
- The license is not registered on the floating license server.
Cause
-
The license is not registered on the floating license server.
-
The registered license key is incorrect.
Condition
-
The procedure (-a) for registering the license on the floating license server has not been performed.
-
The registered license key is incorrect, and an error occurs when executing -a.
-
The license key has been unregistered.
Solution
- Check the floating license key and perform the activation procedure.