When CSI program uses network license broadcasts a signal to the network with the goal to locate the license server and retrieve the network license file. Users can help the program locate the license server more quickly or resolve potential problems when the broadcast fails to locate the license server by using one of the methods described below.
lmhost.ini file
Using notepad, create an lmhost.ini file with the license server name or IP address in the program installation folder. If you are running a network version, the lmhost.ini file should go in the network folder. In either case it should go in the same folder where program executable is located.
lshost file
The procedure is the same as for creating the lmhost.ini file described above, but the filename is lshost.
LSFORCEHOST environment variable
In general, LSFORCEHOST environment variable should not be needed. It is usually just a way to override failures in the above procedures for lmhost.ini and lshost file.
In you need to use LSFORCEHOST environment variable, set its value to the IP address or the name of the license manage server. The procedure creating the LSFORCEHOST environment variable will vary depending on your operating system.
Setting value in Windows XP
- Go to "Start > Control Panel > System > Advanced tab"
- Click on the Environment Variables button then the New button under System Variables
- Enter the following information:
Variable name= LSFORCEHOST Variable Value = IP address or name of your license server computer
Note that if your network is using dynamic IP addresses then you should use the Server name instead of the IP address.
Setting value in Windows 7
- Go to "Start > Control Panel > System and Security > System"
- Click on "Advanced system settings" in the left column and then on the "Advanced tab"
- Click on the Environment Variables button then the New button under System Variables
- Enter the following information:
Variable name= LSFORCEHOST Variable Value = IP address or name of your license server computer
Note that if your network is using dynamic IP addresses then you should use the Server name instead of the IP address.
Other considerations and resolution of common problems
- Make sure you are running the correct EXE. If the shortcut is pointing one place and the lmhost.ini is in another place, it will not work.
- Make sure there is not a LEVEL.TXT file in the same folder that is pointing to a different license level.
- Make sure the shortcut does not include the /L command line parameter that is pointing to another level
- Make sure there are no LSFORCEHOST or LSHOST environment variables that are interfering
- Adding a copy of LMHOST.INI and calling it LSHOST (no extension) to the same folder sometimes helps
- Run WLMAdmin and make sure that you can see the license on the server from the client machine. This may require adding the named server.
External links
- [[http://en.wikipedia.org/wiki/Environment_variable]] at [[http://en.wikipedia.org]]