Individual lease duration for clients

Hi,

is there any way to let clients borrow a hosted floating license for a duration other than the one specified in the license policy?

Background: In our scenario users lease floating licenses from the same license pool either:

  1. for a short period of time (some hours) during which they typically remain online or

  2. for an extended period of time (some weeks) during which they will not have a connection to the license server.

In case 2. we’d like to give our users the choice to select a date until which their license will be borrowed.

Setting the lease duration in the license policy to some expected maximum, let’s say eight weeks, by default seems like overkill and will most likely result in many zombie licenses as we’d have to rely on our users to return their licenses if they don’t need them for the whole lease duration. Also, the impact of failing to return the short term licenses properly will be amplified.

If this is not possible, is there some clever workaround?

Thanks!

Hi,

You can override the value of lease duration while creating the license. For your usecase I would recommend creating two separate keys. One should be used for short uses and other for borrowing.

Hi,

in your proposed solution, how would I make sure both keys use up activations from the same pool, so customers don’t exceed their total number of activations?

Thanks!

Instead of allowing 10 activations in one license, create two licenses one allowing say 6 activations and other allowing 4 activations

Oh, that is kind of a bummer. I would very much like to suggest as a feature, that one can override the default lease duration using LexActivator/LexFloatingClient up to a maximum duration defined by the license. FlexNet does support this, so I assumed the documentation stating Borrowing floating licenses for offline usage is supported out of the box. meant exactly that.

Quick follow up: On the client, can I somehow retrieve the date/time until which the license is borrowed? Or the lease duration? GetLicenseExpiryDate and GetServerSyncGracePeriodExpiryDate seem not to serve that purpose.

This is useful feature request, we will see the feasibility of implementation and get back to you. Adding functions to get the lease expiration will also be a useful addition.

Thank you, that sounds great! In the meantime, I’ll try to get a slightly modified version of your suggestion up and running. I might also try to somewhat misuse metadata to make the lease duration available to the client for now.