Initiating Borrowing
To initiate borrowing, the end user of the FlexEnabled application sets the borrow period by running lmborrow from the command line or through lmtools on the FlexEnabled client machine.
To initiate borrowing
From the FlexEnabled client machine, enter the following command:
lmborrow {vendor | all} enddate [time]
where:
Argument |
Description |
vendor |
The vendor daemon name that serves the licenses to be borrowed, or all specifies all vendor daemons in that license server. |
enddate [time] |
Date the license is to be returned in dd-mmm-yyyy format. time is optional and is specified in 24-hour format (hh:mm) in the FlexEnabled application’s local time. If time is unspecified, the checkout lasts until the end of the given end date. |
For example, you might enter the following:
lmborrow sampled 20-aug-2017 13:00
This has the effect of setting LM_BORROW with the borrow period in either the registry (Windows) or in $HOME/.flexlmborrow (UNIX).
To borrow licenses for the desired vendor name, on the same day and the same system that the user runs lmborrow, run the applications to check out the licenses. If you run the applications more than once that day, no duplicate licenses are borrowed. No licenses are borrowed if the application is run on a day different than the date borrowing is initiated.
Aside from the lmborrow utility, you can use these other methods to initiate borrowing:
• | Use the borrowing interface included in the FlexEnabled application, if such an interface is provided. |
• | Set the LM_BORROW environment variable directly. |
See Initiating License Borrowing for more information on these other ways.