Internal: How do I access network floating licenses when using IDL/ENVI on Mac OS X?
Help Article Update 2
Anonym
My IDL (or ENVI) installation on Mac OS X will get its licenses from a network license server. How do I configure my system to get licenses from that license server?
Two methods for accessing network floating licenses using IDL or ENVI on a Mac OS X license client machine are discussed below.
METHOD 1: Use the FLEXnet "lmpath" command.
This method will establish network license access for an individual user. Neither administrative nor root privileges are necessary with this method. If you are the only person that will be using IDL or ENVI on the machine, a quick and easy way to configure license access to the license server is by using the "lmutil lmpath" functionality available in the IDL/ENVI installation as follows:
- Get the port@servername value for your network license server.
The ITT product network floating license file that is used to start the license manager on the license server machine contains a line that begins with "SERVER". At the end of the SERVER line there is a number that represents the TCP/IP port number that is used to communicate with the license server. For example:
SERVER myserver 000012345678 1700
In this case the port number is "1700" (the default).
Secondly, the servername portion of the port@servername setting is the network hostname or IP address of the network license server machine. So in this example, "myserver" is the value of the servername portion of port@servername:
- Open an Apple X11 Terminal shell window, change directories (cd) to the bin subdirectory of your main IDL directory and issue the commands to cause IDL or ENVI to reference floating licenses from your network license server. For example, if your main IDL directory is in the default installation location (i.e., /Applications/itt/idl71) then issue the following two commands:
cd /Applications/itt/idl71/bin
./lmutil lmpath -override idl_lmgrd 1700@myserver
--where you would use the actual port number and server hostname in place of "1700@mysever". These commands will create a file called ".flexlmrc" in your home directory. These commands only need to be done once by an end-user. IDL or ENVI sessions started by this user should then be able to obtain floating licenses from the network license server.
METHOD 2: Install a local copy of the network floating license file for your IDL/ENVI installation.
This method may be used in place of Method 1, and may even be the preferred method if multiple users share the same local IDL/ENVI installation. However, administrative or root privileges may be required to complete this method. (Note: The license manager program itself (lmgrd) should only be started on the designated license SERVER machine, not on the client-only machines.)
- Obtain an exact copy (as a file attachment rather than just the text strings, to help avoid potential line return formatting problems) of the ITT product license file that was used to start the license manager on the network license server machine.
- Place the file copy of the ITT product license file into the "license" directory that is adjacent to your main IDL directory. For example, if your main IDL directory is located at "/Applications/itt/idl71" then your license file should be placed in the directory "/Applications/itt/license". For example:
/Applications/itt/license/license.dat
- Verify that the license file name is "license.dat". Sometimes the file name listed in the Apple Finder can be different than the actual file system name. This can be verified/changed via the "Get Info" propery dialog of the file.
- Also be sure that the license.dat file has read permissions for all IDL (or ENVI) users. (This property can also be verified/changed through the "Get Info" property dialog of the file.)
After setting up the network license server reference using the instructions above, IDL or ENVI users on the client machine should then be able to access licenses from the network license server.
TROUBLE SHOOTING
If a firewall running on the network license server machine is preventing your IDL or ENVI session from getting a license, then the following Tech Tip article may be helpful:
keywords: client, port@host