Overview
This article describes the process of setting up LM_LICENSE_FILE for Windows and Unix System Administrators.
Windows Administrators
When you install the ATTClm server, in Windows, the installation process places the license file in <install_dir>\attclm<x.x>\adm and stores the license file value under HKEY_LOCAL_MACHINE > SOFTWARE > FLEXlm License Manager > attclmd daemon.
Note: Only client machines use LM_LICENSE_FILE. On Windows servers, the ATTClm registry stores the license file pathname.
To change this value, as administrator:
- Run
<install_dir>\attclm<x.x>\bin\lmtools.exe. - Click the Config Services tab.
- Enter the full path, where the license file is now placed, in the Path to the license file field.
- Click Save Service.
UNIX Administrators
To set the LM_LICENSE_FILE variable for the UNIX system administrators:
-
Log in as a system administrator on the server node where you want to run utilities or daemons.
-
Create a group called
lmadminin the/etc/groupfile and put everyone with license administrator privileges into it.Note: Only lmadmin group members can access thelmutilcommand optionslmdown,lmremove, andlmrereadif you start the daemons with the-pparameter. Refer to starting license daemon/services manually for information about the-pparameter. -
Define the license administrator environment variable by entering:
setenv LM_LICENSE_FILE <install_dir>/attclm<x.x>/adm
-
Add the
setenvcommand line from Step 3 to the .cshrc file of all users in thelmadmingroup who will run daemons orlmutilcommands so that the system defines this variable automatically when they log in. -
Add the following commands to the .profile file of all users in the
lmadmingroup:LM_LICENSE_FILE=<install_dir>/attclm<x.x>/ adm export M_LICENSE_FILE
Priyanka Bhotika
Comments