LSFORCEHOST and LSHOST

LSFORCEHOST

Selects a single license server. This forces the application to look for only one LM Server on the network. This can eliminate time delays in finding the LM Server for a license. If the LM Server specified in the variable is not found, the search stops and an error is returned. LSFORCEHOST prevents a network broadcast from being performed.

LSFORCEHOST=<LM Server machine name> or <IP Address of LM Server>

Example :  To tell protected applications running on a Windows 95b/98/ME based computer to send license requests to a computer on the same subnetwork called ACCT_SERVER and no other license server, place the following in the Windows 95b/98/ME autoexec.bat file:

SET LSFORCEHOST=ACCT_SERVER

Example:  To tell a Windows NT/2000 or XP machine to send license requests to a computer on the same subnetwork called ACCT_SERVER and no other license server:

Go to Start | Settings | Control Panel | System | Advanced | Environment Variables.  Click 'New' in the frame marked 'System  Variables' and enter LSFORCEHOST for the 'Variable Name' and then enter ACCT_SERVER 'Variable Value'.

 

 

LSHOST

Sets the license server name. This should only be used if there are multiple Network Sentinel Keys on the same subnetwork that can grant the application (client) a license to run the software. Using LSHOST, you can tell the client to look at one LM Server and if the license is not found, then go to another LM Server for the license. If none of the specified LM Servers are found, then a broadcast is done in an attempt to get a license from any available LM Server. If LSHOST is not set, then the application will search the entire network for an LM Server that can give it a license.

Example:  To tell protected applications running on a Windows 95b/98/ME based computer to send license requests to a computer on the same subnetwork called ACCT_SERVER and, if ACCT_SERVER is not found, to FINANCE_SRV, place the following in the Windows 95b/98/ME autoexec.bat file.

SET LSHOST=ACCT_SERVER:FINANCE_SRV

 

Top