User guide
Chapter 7 - License Administration Tools
lmborrow
76 FLEXnet Licensing End User Guide
To borrow licenses for the desired vendor, on the same day and the same machine that the user
runs
lmborrow, run the application(s) to check out the license(s). If you run the application(s)
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.
In addition to the
lmborrow utility, there are other ways to initiate borrowing:
• Using the borrowing interface in application, if provided in the application.
• Setting the
LM_BORROW environment variable directly.
See “Initiating License Borrowing” for more information on these other ways.
Clearing the Borrowed License Setting
To clear the LM_BORROW setting in the registry or $HOME/.flexlmborrow, issue the
command:
lmborrow -clear
Clearing the LM_BORROW setting stops licenses from being borrowed until borrowing is initiated
again. A user might run
lmborrow -clear after he has borrowed licenses for features that are
used offline if—before disconnecting from the network—he wants to run an application that
checks out additional features, served by
vendor, that are not meant to be borrowed. Clearing
LM_BORROW does not change the status for already-borrowed licenses.
Determining Borrowed License Status
To print information about borrowed features, issue the following command on the machine
from which they are borrowed:
lmborrow -status
The borrowing system does not have to be connected to the network to determine the status.
Returning a Borrowed License Early
To return a borrowed license early, first reconnect the borrowing system back to the network
and then, from the same machine that initiated the borrowing, issue the command:
lmborrow -return [-fqdn][-c license_file_list] [-c display] feature
where:
-fqdn Directs
lmborrow to access the borrowing system
using its fully qualified host name. Use this option if
the license was borrowed based on the fully qualified
host name, rather than the relative distinguished name.
Use
lmstat to determine the format of the host name
used when the license was borrowed.