Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
\\

When {new-tab-link:http://www.csiberkeley.com/}CSI{new-tab-link} Software uses a [network license|kb:Network license], it broadcasts a signal to the network in effort to locate the license server and then retrieve the network license file. You may use the LMHOST.INI file, the LSHOST (no extension) file, or the LSFORCEHOST environment variable to either help the software locate the license server more quickly, or to resolve problems when the broadcast fails to locate the license server. These options are described as follows:

\\

{on-this-page}


h1. LMHOST.INI file

Use Notepad to create an LMHOST.INI file which lists the license server name or the IP address. Locate this file in the same folder as the software executable. This will be the software installation folder unless you are running a network version, in which case it will be the network folder.


h4. Resolution of common problems

* Ensure that you are running the correct EXE. If the shortcut is pointing to one location, and the LMHOST.INI another, problems will occur.

* Ensure there is not a LEVEL.TXT file, in the same folder, that is pointing to a different license level.

* Ensure the shortcut does not include the /L command line parameter that is pointing to another level.

* Ensure 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 the addition of the named server.


h1. LSHOST file

The LSHOST file procedure is the same as that for the LMHOST.INI file except for the difference in file name.


h1. LSFORCEHOST environment variable

In general, the LSFORCEHOST environment variable is unnecessary. It may be useful to override failures which occur during the previously described procedures for LMHOST.INI and LSHOST files.

When using the LSFORCEHOST environment variable, set its value either to the IP address, or to the name of the license manager server. The procedure for creating the LSFORCEHOST will vary according to the operating system. That for Windows XP and Windows 7 are given as follows:

\\

h4. Setting LSFORCEHOST value in Windows XP

* Select Start > Control Panel > System > Advanced (tab).

* Select Environment Variables, then select System Variables > New.

* Enter the information which follows:

{code}
Variable name = LSFORCEHOST

Variable value = IP address or name of your license server computer
{code}

{info}
*NOTE:* If your network uses dynamic IP addresses, use the Server name instead of the IP address.
{info}

\\

h4. Setting LSFORCEHOST value in Windows 7

* Select Start > Control Panel > System and Security > System.

* Select Advanced System Settings in the left column, then select Advanced (tab).

* Select Environment Variables, then select System Variables > New.

* Enter the information which follows:

{code}
Variable name = LSFORCEHOST

Variable value = IP address or name of your license server computer
{code}

{info}
*NOTE:* If your network uses dynamic IP addresses, use the Server name instead of the IP address.
{info}


h1. External links

* [Windows Environment Variable |http://en.wikipedia.org/wiki/Environment_variable] Wikipedia article

{hidden-content}
* {email:from=bm|to=ok|date=8/31/2012|subject=LSFORCEHOST, lmhost.ini, lshost|comment=Clarification of LSFORCEHOST, lmhost.ini, lshost.|id=9537863}

* {email:from=bm|to=ok|date=8/31/2012|subject=LSFORCEHOST, lmhost.ini FOLLOW-UP 1, lshost|comment=Clarification of LSFORCEHOST, lmhost.ini FOLLOW-UP 1, lshost.|id=9537879}

* {email:from=fh|to=ok|date=8/31/2012|subject=LSFORCEHOST, lmhost.ini FOLLOW-UP 2, lshost|comment=Clarification of LSFORCEHOST, lmhost.ini FOLLOW-UP 2, lshost.|id=9537880}
{hidden-content}