Installing and Running the License Server
This section covers the “quick start” steps used to install and start the FlexNet Embedded local license server as a service on Windows or Linux.
On a Linux platform, you install the license server as a systemd service, as described here. Alternatively, you can install the license server as a SysV service (see SysV Alternative for Installation on Linux).
For help in using flexnetlsadmin commands, see About “flexnetlsadmin” Commands.
Task |
Do this... |
||
|
|
Windows |
Linux |
1 |
Configure the installation and service |
Edit flexnetls.settings if needed to set the port number, your Java installation (JDK or JRE) path, hostid, log threshold, and other options. |
Options added to the installation step (Step 2) enables you to modify configuration. |
2 |
Install the service |
Run flexnetls.bat -install |
Run sudo sudo ./install-systemd.sh to install and start with default configuration. Add options to modify configuration (see Configuration Values Editable from the Command Line). |
3 |
Start the service |
Run flexnetls.bat -start Note:Depending on the security policies defined on your device, a warning message might be displayed, warning you to only run scripts that you trust. If such as warning is displayed, confirm that you want to allow each script to be executed. |
Installation starts the service, or run |
4 |
Do a “health check” on the license server |
Run flexnetlsadmin.bat -server licenseServer_baseURL -status |
Run flexnetlsadmin -server licenseServer_baseURL -status |
5 |
Activate license rights |
Run flexnetlsadmin.bat -server licenseServer_baseURL -activate -id activation_ID -count n |
Run flexnetlsadmin -server licenseServer_baseURL -activate -id activation_ID -count n |
6 |
Verify license rights |
Run flexnetlsadmin.bat -server licenseServer_baseURL -features |
Run flexnetlsadmin -server licenseServer_baseURL -features |
7 |
Provide license server URL to clients |
Distribute the license server URL for handling capability requests (for example, http:/licenseServer_baseURL/request). |
|
8 |
Administer/configure the license server |
See License Server Administrator Command-line Tool: Command Summary for the FlexNet License Server Administrator commands used to administer and configure the license server. If administrative security is enabled, certain operations require authorization credentials in order to perform them (see About “flexnetlsadmin” Commands). |