- Revenera Community
- :
- FlexNet Embedded
- :
- FlexNet Embedded Forum
- :
- Implementing the Floating model using C-SDK
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Implementing the Floating model using C-SDK
Hi,
We are using 'LLS' component which is primarily a java based one... to implement 'floating licenses' logic.
Would like to know if C-SDK is sufficient and has all the APIs to implement floating licenses logic in our application ? If so, please provide few references to the respective APIs.
Regards,
RaviKiran
Hi @Ravikiran ,
Yes the C-SDK has all the necessary APIs to implement floating/concurrent licensing. There are a few differences between licensing a client directly with FlexNet Operations vs using a License Server.
Direct activation with FlexNet Operations (FNO):
- The capability request from the client to FNO contains an Activation ID and Quantity using FlxCapabilityRequestAddRightsId or FlxCapabilityRequestAddRightsIdWithSettings.
- FNO returns all of the features associated with entitled Product. Features expire on the entitlement expiration date.
License requests from a Server (Local Server or Cloud Server):
- The License Server is activated and contains a pool of license features.
- Capability requests from the client to License Server contain the desire license features and quantities using FlxCapabilityRequestAddDesiredFeature.
- Features are "borrowed" from the server for a designated borrow interval specified in the license model or default FNO settings (default is 1 week).
- Features need to be re-requested (renewed) periodically to extend the expiration date.
Thanks,
Jim
Hi Jim,
Thanks for the response.
When I cross-check with my previous posts... in one reply, its mentioned that.. .Local License Server is mostly required to implement floating/concurrent model.
While we work analyzing the best approach to implement Floating model, sharing below, the original post for your reference.
Re: Working without the LLS for floating licenses - Community (flexera.com)
Regards,
RaviKiran
Hi @jberthold ,
The device which has the custom license server (without using the LLS from flexera) should be configured with 'activation id', so that it can pull all the licenses entitled under this activation id using 'FlxCapabilityRequestAddRightsId ' or similar API... and then it can have the logic to serve the clients to share these licenses in first come first serve basis.
Could you please correct, if my understanding is wrong.. or add if I miss anything.
Kind Regards,
RaviKiran
Hi @Ravikiran ,
You referenced a custom (non-Revenera provided) license server. Revenera does not provide APIs for creating your own license server. The recommendation for implementing a floating license model would be to use either Revenera Cloud or Local license servers.
Thx,
Jim
Hi @jberthold ,
thanks for the quick reply.
The issue with the license servers (LLS) provided by Revenera are java based.
Due to some limitations, we are looking for a non-java based one, hence the initial query in this post is to know the details to implement a custom license server using SDK itself or any other means where Java is not involved. Hence, we would like to know, how Revenera help us in this context.
Regards,
RaviKiran