This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Knowledge Base
- :
- Using the Transferrable Counted Model(Windows Only)
Subscribe
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Using the Transferrable Counted Model(Windows Only)
Using the Transferrable Counted Model(Windows Only)
Introduction
How to work with Transferrable Counted Model(Windows only) a new feature/Option in Flexnet Publisher
Instructions
A step-by-step breakdown of the process:
- Start the Parent Licensing Server:
- Include a FEATURE line with the BORROW keyword in a license file.
- Set the lmpath for the Parent Machine from the Remote Machine:
- Ensure the remote machine can access the licensing server.
- Set the Expiry for License Transfer:
- Use the lmtransfer utility to set the expiry date for transferring the license from the remote machine.
- Example command: lmtransfer vendorname -set dd-Feb-yyyy [hh:mm]
- Check the transfer status with lmtransfer.exe vendorname -status.
- Note: if you are doing this programmatically you may do it by using the API.
- Call the lc_transfer_lic() API:
- Modify the lmflex file to call the lc_transfer_lic() API instead of lc_checkout().
- Start the client on the remote system and transfer a license to the remote system.
- Example code snippet:
if(lc_transfer_lic(lm_job, feature, "1.0", nlic, &code))
{
lc_perror(lm_job, "license transfer failed");
cleanup(initHandle);
exit (lc_get_errno(lm_job));
} - Start the Child Server on the Remote Machine:
- Start the child server using lmgrd.exe -c license_file -servTransferred.
- Note: Generate a dummy license file with only SERVER and VENDOR lines and use it as an argument. Example command: lmgrd.exe -c dummy.lic -servTransferred
- This is sufficient to start the child server which starts serving the transferred feature. But there is an issue FNPX-27110 which is related to lmstat, this gets resolved when we have one feature line in the license file.
More Information
A dummy lmflex.c along with the license file example is attached.
The syntax for lmflex for the attached code only:
lmflex <license count> <1 for lc_checkout and 2 for lc_transfer_lic>
No ratings