Checkin / Checkout
No manual action regarding a floating license is required by the user. LemonTree automatically requests a license on startup, and returns it on shutdown.
The checkout of the license is done on startup, and the license is automatically returned when LemonTree is closed.
Should an extension of the license checkout be necessary, this is handled automatically aswell.
A floating license has a maximum validity of 1 hour. If the user does not actively re-request the license (for example because they turned off their computer without closing LemonTree) in this timeframe,
the license can automatically be used by another user.
The term "Hold time" refers to an amount of time during which a checked-out license is not given out to another user, even if the license has been checked-in by the user. This hold time is ensured by the licensing server.
Floating Licenses Configuration
Storage of Floating License Settings
All license information for the current user is stored in the following path on your machine:
This folder may also contain a file that holds the configuration of the floating server.
Such a file has the ending .lic and consists of a single line:
HOST (Hostname) ANY (Port)
(Hostname) and (Port) are replaced by the name and the port of your RLM Server.
For example, if you were to configure an rlm-server named "rlm" that runs on port 1234, the content of the file would look like this:
HOST rlm ANY 1234
Offline Floating Licenses
It is not possible to use offline licenses per default. To use offline floating licenses the administrator has to edit the
appsettings.json file, located in
C:\Program Files\LieberLieber\LemonTree. The new setting
AllowOfflineFloatingLicenses needs to be set to true.
Configure License Server via the LemonTree UI
A single RLM Server used for getting a floating license can be configured directly via the LemonTree UI. To do so:
- Open the Licensing Dialog, either by starting LemonTree without a valid license or via (Burger Menu) → Help → License Information
- Switch to the "Apply New License" Tab
- Change the License Type to "Floating License"
- Enter the RLM Server address in the format (Port)@(Hostname)
The entered information will be stored in clear text in a file named "floating.lic" in the licenses folder.
Configure License Server via manual file creation
You can also create the floating server configuration file yourself with a text editor.
Configuring Multiple RLM Servers
LemonTree supports the usage of multiple configured RLM Servers and will attempt to obtain a floating license from either of these servers. Such a setup may be used for increased redundancy.
The LemonTree UI currently only supports configuring a single RLM server. Configuring LemonTree to use multiple RLM servers must be done by manually creating the corresponding license setting files.
To configure multiple RLM Servers, create a __separate__ configuration file for each RLM Server.