Specifications

Client - Commonly Used Variables
SentinelLM System Administrators Guide 125
LSHOST - Set the License Server Name
The LSHOST environment variable is used on a computer that is running a pro-
tected application. It tells the application one or more license server computers
to contact.
If this variable is not set then the application will perform a broadcast for any
license server that can authorize the application to run. When the variable is set,
the application will traverse the list of license servers beginning at the first
license server in the list and moving down the list. If none of the specified
license servers is found, the application will broadcast to the network, looking
for any license servers. Separate license server host names with a : symbol.
Example:
To tell protected applications running on a Windows 95/98 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 95/98 autoexec.bat file.
SET LSHOST=ACCT_SERVER:FINANCE_SRV
LSFORCEHOST - Select a Single License Server
You can use the LSFORCEHOST environment variable to force the application
to look for only one license server computer. If the license server listed in the
variable cannot be found, the application stops broadcasting and returns an error.
LSFORCEHOST overrides a LSHOST environment variable or LSHOST/lshost
file, and prevents a network broadcast from being done.
Example:
To tell protected applications running on a Windows 95/98 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 Win-
dows 95/98 autoexec.bat file.
SET LSFORCEHOST=ACCT_SERVER