Overview
FLEXnet Publisher and ATTClm use the environment variable LM_LICENSE_FILE
(Windows clients) or AT_LM_LICENSE_FILE
(UNIX clients) to find which license server the client will connect to. You can set the appropriate license variable to a license file path name or to the TCP/IP port of the host machine the license server is listening to.
This article provides information to set LM_LICENSE_FILE
to the default license path in two ways:
- By keeping a local copy of the license file on each client machine.
- By using
<port>@<hostid>
to connect to the license server. Auto-trol recommends this method for heterogeneous UNIX and Windows environments.
Process
Windows Environment Variables
|
Keeping a Local License File
|
To keep a local copy of the license file on each Windows client machine, you can perform one of the following methods:
- Install the license file from a CD or diskette:
- Insert the ATTClm CD into the CD drive.
- Navigate to
AttcLicense\license_setup1.4 .
- Run setup.exe.
- Install the license file from e-mail:
- Copy the self-extracting zip file to the client machine.
- Use Windows Explorer to navigate to the executable and then double click it to start the installation process.
|
Connecting to the License Server Using TCP/IP
|
To use <port>@<hostid> to connect to the license server:
- Navigate to Start > Settings > Control Panel > System > Environment tab.
- Click New to create a User Variable.
- In the Variable name field, enter
LM_LICENSE_FILE .
- In the Variable value field, enter:
<TCP/IP_port>@<server_name> where <TCP/IP_port> is the TCP/IP port number listed on the server line in the license file you want to use.
- Click Set.
- Click Apply.
- Click OK on the System window.
|
UNIX Environment Variables
|
Keeping a Local License File
|
To set AT_LM_LICENSE_FILE to the default license file path:
- Log in as a user on the node where you run the Auto-trol software.
- Enter:
<install_dir>/attclm<x.x>/install_tools/setup_user
Note: If the install_tools directory does not exist, ATTClm has not been installed on this node.
|
Using TCP/IP
|
The software uses TCP/IP to locate the license servers for clients who can not access the license file. These steps do not set AT_LM_LICENSE_FILE to the license file path.
To set AT_LM_LICENSE_FILE using TCP/IP:
- Log in as a user on the node where you run Auto-trol software.
- Define the environment variable by adding the following:
- For one license server:
setenv AT_LM_LICENSE_FILE <TCP/IP_port>@<server_name>
- For redundant servers:
setenv AT_LM_LICENSE_FILE <TCP/IP_port1>@<server_name1>, <TCP/IP_port2>@<server_name2>, <TCP/IP_port3>@<server_name3>
where <TCP/IP_port> is the TCP/IP port number listed on the server line in the license file you want to use.
Note: Do not insert spaces between TCP/IP numbers and server names.
- Make sure the variable is set by entering:
echo $AT_LM_LICENSE_FILE
- Add the
setenv command line from Step 2 or 3 to each user’s .cshrc file.
- Add the following commands to each user’s
.profile file:
- For one license server:
AT_LM_LICENSE_FILE= <TCP/IP_port>@<server_name> export AT_LM_LICENSE_FILE
- For redundant servers:
AT_LM_LICENSE_FILE= <TCP/IP_port1>@<server_name1>, <TCP/IP_port2>@<server_name2>, <TCP/IP_port3>@<server_name3> export AT_LM_LICENSE_FILE
|
Back to top
Comments
0 comments
Please sign in to leave a comment.