Allow Client Lease Duration

Hello,

I am trying to create an on-premise floating license with offline borrowing enabled. I can’t find where to set “Allow Client Lease Duration”, it is always false in my network license.

Is it the setting in the license template “Allow Server Lease Duration” (If checked, LexFloatServer is allowed to override the lease duration.) ?

If it is, then everytime I check this box and save and go back into the template it is unchecked again, it doesn’t seem to be saving this setting.

Please let me know where I am going wrong.

Thanks!

Hi Helen,

Thank you for reaching out.

To enable a client-defined lease duration, you’ll need to set the lease duration of an on-premise floating license to “0”. This instructs the system to use the lease duration configured in the LexFloatServer’s config.yml file instead.

In the config.yml file, you can define the server-side lease duration (in seconds) under the server section as shown below (as an example):

server:
  leaseDuration: 180

Additionally, the “Allow Server Lease Duration” setting in the license template has been deprecated and will be removed in a future update, which is why changes to it aren’t being saved.

For more details about borrowing a floating license, you can refer to the following guide: Offline Floating License Documentation