INTERNAL: Windows IDL: Command line installation of the ITT FLEXnet license manager service
Topic:
Normally on Windows, the ITT FLEXnet license manager is automatically configured by entering a license server-based license file text into the ITT product License Wizard program. The wizard detects that a license manager service is required, and then provides the user with the option to install the license manager service.
Another option is manually configure a new ITT product FLEXnet license manager service via the Config Services tab of the LMTools.exe utility that is included with the ITT product installation.
A third, although rarely used, option is to install the ITT FLEXnet license manager service via a command line utility, install_lm_server.exe, that is included with the ITT product installation.
This article discusses this third option, installing the ITT FLEXnet license manager service on Windows via the "install_lm_server.exe" command line utilty.Discussion:
Installing the service
Here are the steps to use the "install_lm_server.exe" command line utility to install (or remove) the license manager service on Windows:
1.) Log in as a user with administrative privileges.
2.) Open a DOS command prompt window (select Start menu -> Run and enter into the Run dialog:
CMD and return. The command window should appear.)
3.) Change directories to the [
IDL-directory]
\bin\bin.x86 directory of your ITT product installation. For example:
cd C:\Program Files\ITT\IDL64\bin\bin.x86\
4.) From there, issue the following commands to install the default configuration of the ITT FLEXnet license manager service. For example (one very long line):
install_lm_server.exe -c "C:\Program Files\ITT\license\license.dat" -e "C:\Program Files\ITT\IDL64\bin\bin.x86\lmgrd.exe" -l "C:\Program Files\ITT\license\lmgrd_debug.txt" -n "ITT FLEXnet License Manager"
Removing the service
To uninstall the license manager service from a DOS command line use the
-r and
-n switches to "install_lm_server.exe". For example (as an administrative user):
install_lm_server.exe -r -n "ITT FLEXnet License Manager"
Command line options for install_lm_server.exe
Issue the install_lm_server.exe command by itself to view all of the command switch options. For example:
C:\Program Files\ITT\IDL64\bin\bin.x86>install_lm_server.exe
installs - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation.
All Rights Reserved.
Usage:
To install the license manager as a service:
installs -c \
-e \
-l \
-n \
[-k ]
To remove the license manager as a service:
installs -r -n
If -n is not specified, "FLEXlm License Manager" is used as the service name.
The -k switch is optional and is used to pass one or more startup command-line
parameters (-local, -x lmdown, and -x lmremove) to lmgrd.
Refer to the FLEXnet Licensing Programming and Reference Guide for more
details on the "installs" command.
C:\Program Files\ITT\IDL64\bin\bin.x86>
Solution:
[Edit this field in the IDL-based Tech Tip Editor, v62]