To Work with an Options File

Create an options file and use it to create a report log, set a license timeout, and configure license borrowing.

Create an Options File

You can create option files for one or more servers and manage network licenses through those files. You don't have to create option files for all servers, and you can configure different options files for different servers. If your options file defines product features for perpetual or maintenance plan seats, your settings apply to multi-user subscription seats in the license file as well. However, if you define controls at the product package level, add package codes for the multi-user seats.

Note: For complete information about options files, see the FLEXnet document, License Administration Guide, installed on the license server in the Network License Manager folder.

To activate an options file, save it and then reread the license file.

  1. Open Notepad (Windows) or TextEdit (Mac OS X). Enter the commands and parameters as specified for the report log or other function. These operations are documented in the License Administration Guide installed with Network License Manager (NLM).
  2. Name the document adskflex.opt and save it where you saved the network license file.
  3. Note: Be sure to save the file with the extension .opt. NLM does not recognize .txt.
  4. Have your server reread the license file.
    • For a Windows server, use the LMTOOLS utility installed with NLM and select Reread License File.
    • For a Mac OS X or Linux server, launch a Terminal window, navigate to the Autodesk Network License Manager folder (flexnetserver), and enter the following string:
       ./lmutil lmreread -c @hostname-all
      			 
  5. Examine the debug log file to be sure that the options file has been read. If it was not, stop and restart the license server.

Create a Report Log

  1. Open the options file in a text editor.
  2. Enter the following on a separate line:
    REPORTLOG [+]report_log_path
    Here, report_log_path indicates the location of the report log. The [+] indicates that new log entries are appended to previous entries and not overwritten.
  3. Note: If a path contains a space, the path must be in quotes.

Set License Timeout

Set a limit on how long a license can be borrowed to prevent inactive computers from holding the license indefinitely.

  1. Open the options file in a text editor and enter one of the following commands on a separate line:
    • TIMEOUT feature_code n
      Here, feature_code is the name of the product and n is the number of seconds of inactivity before the server reclaims a license. For example, TIMEOUT 66800REVIT_F 7200 means that the license timeout for Revit is 7200 seconds, or two hours.
    • TIMEOUTALL n
      Here, the timeout is for all products, where n is the number of seconds before the server reclaims an inactive Autodesk product.

Configure License Borrowing

You can allow license borrowing without using an options file. However, an options file gives you more control over how long the license can be borrowed.

  1. Open the options file in Notepad or TextEdit and enter the following on a separate line:
    BORROW_LOWWATER feature_code n
    Here, feature_code specifies the product and n is the minimum number of licenses that must remain on the server. When that number is reached, no more licenses can be borrowed.
  2. Enter the following on the next line:
    MAX_BORROW_HOURS feature_code n
    Here, feature_code specifies the product and n is the maximum number of hours a license can be borrowed.
  3. Note: Licenses are borrowed in multiples of 24 hours.