Overview
LexFloatServer is the on-premise floating license server that runs inside your customer's network. It leases seats from a limited pool to the clients running your app in that network, so the clients never need an internet connection.
What problem does it solve?
With floating licenses, any machine can use your app as long as a seat is free, and the seat goes back to the pool when the app closes. Seats are shared, not locked to machines.
With hosted floating licenses, the pool is kept on Cryptlex servers, so every client needs internet access to get a seat.
LexFloatServer moves the pool of seats into your customer's network. Clients get their seats from LexFloatServer over the local network, so your app works without internet access, even in air-gapped networks.
Seats can also be borrowed. A machine can take a seat off the network for a set time (an offline lease), for example a laptop used in the field.
How it works
- LexFloatServer is activated with an
on-premise-floatinglicense. The license's allowed activations set how many LexFloatServer instances can be activated with it, and its allowed floating clients set how many seats each instance can lease. - LexFloatServer runs on a machine in the network, usually as a system service that starts with the machine. It can also run in a terminal.
- Your app starts and requests a seat through LexFloatClient, the client library you embed in your app to lease seats from LexFloatServer.
- LexFloatServer leases a seat if one is free, on a first-come, first-served basis. If all seats are in use, it declines the request.
- The lease is renewed automatically. LexFloatClient renews the client's lease in the background while your app runs.
- Your app closes and returns the seat. If the app crashes or the machine loses power, the seat is freed when its lease expires.
The license's leasing strategy controls what a seat covers. With per-machine, every copy of your app on one machine shares one seat. With per-instance, each running copy uses its own seat.
Serving multiple products
LexFloatServer can serve one of your products, or several at the same time. Either way, it is one server, on one port, with one local dashboard.
Server settings are set once and apply to every product: the port, the API key and local dashboard users, the network rules (trusted proxies and blocked IPs), and logging.
Each product has its own product file, license key, and other settings, which fall back to shared defaults when they are not set. Seats of one product are never used by another, and each product's seat usage is shown separately in the local dashboard.
For every setting, see the Config Reference.
Deployment considerations
LexFloatServer is node-locked to the machine it is activated on. Run one LexFloatServer per machine. It serves all your products, so a second one is not needed.
Clients communicate only with LexFloatServer. They never connect to Cryptlex and do not need internet access, so your app can run in a secure or fully air-gapped network, including inside containers and VMs. Every client must be able to reach LexFloatServer on its port (8090 by default).
Where you can install LexFloatServer depends on whether it has internet access:
- Physical machine: Works with or without internet access.
- Cloud virtual machine: Works with or without internet access. The cloud instance is a safe choice, because cloud providers assign each virtual machine a stable, unique identifier, which makes cloning difficult.
- Kubernetes cluster: Works with or without internet access. The cluster gives LexFloatServer a stable fingerprint.
- Other virtual machines and containers: Internet access is recommended. In a virtual machine or container, the machine fingerprint is not strong enough to detect a cloned copy, but with internet access Cryptlex can detect it when LexFloatServer syncs.
The server sync grace period of the on-premise-floating license controls how long LexFloatServer can run without syncing with Cryptlex servers:
- Periodic sync: Set the grace period to a finite value, such as 30, 60, or 90 days. LexFloatServer must then sync with Cryptlex servers at least once in that period, either online or by repeating the offline activation. If it does not sync in time, it stops leasing seats until it syncs again.
- Never syncs: For a network that can never connect, set the grace period to
-1and activate LexFloatServer offline.
LexFloatServer saves every lease to disk, so after a restart or a crash it continues where it stopped, and seats already in use stay in use.
Minimum requirements
For the supported platforms, versions, and architectures, see minimum requirements.
Downloading LexFloatServer
You can download LexFloatServer from the SDK Downloads page in the admin portal. Binaries are available for Windows, macOS, and Linux.