Configuring the License File Upload Directory
The license file upload directory is the location where copies of license files used by lmadmin are stored when license files are imported using the Import License button on the Vendor Daemon Configuration tab or the ‑import command-line argument.
When this location is not configured, the default settings create the following directory structure into which license files are uploaded:
...\<lmadmin_runtimedata_dir>\licenses\<vendor daemon name>\
For example, on Windows when lmadmin is installed in the default location and two vendor daemons, demo and publisherA, are being managed by lmadmin, the following directories are created when license files for these vendor daemons are imported:
C:\ProgramData\FLEXlm\lmadmin\licenses\demo
C:\ProgramData\FLEXlm\lmadmin\licenses\publisherA
The license file that contains license rights for the vendor daemon demo is copied to the ..\demo directory. The license file that contains license rights for the vendor daemon publisherA is copied to the ..\publisherA directory. When additional license files are imported for either of these vendor daemons, they are uploaded to the appropriate vendor daemon-specific directory.
You can replace this default configuration as described in the following instructions. Typically the license file upload directory is configured when lmadmin is installed for the first time and then not altered. This ensures that license files, once imported, are available to lmadmin and the vendor daemons it manages.
To configure the license file upload directory:
1. | If lmadmin is running, shut it down (Manually Stopping the License Server Manager). |
2. | From the command line, execute an lmadmin command using the -uploadDir argument. |
The upload directory can be specified either as a relative or absolute path. When a relative path is used, it is relative to the current directory. Additionally a special string, %v, can be used to include the vendor daemon name in the directory path. Thus the following example specifies that the upload directory will be located at C:\ProgramData\FLEXlm\lmadmin\<vendor>\licenses:
lmadmin -configDir C:\ProgramData\FLEXlm\lmadmin\conf -uploadDir C:\ProgramData\FLEXlm\lmadmin\%v\licenses