Jump to content

How To Use The Network License Across Subnets


Guest IronKevin

Recommended Posts

Guest IronKevin

The NLM server communicates using the UDP port 5093 and hence these variables and API will work over different subnets only if the UDP 5093 port is enabled on routers/switches.

 

LSHOST - Set the License Server Name

The LSHOST environment variable is used on a computer that is running a protected

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 Windows

95/98 autoexec.bat file.

SET LSFORCEHOST=ACCT_SERVER

 

This and more info in \Program Files\IronCAD\IronCAD License Server\SLM71sys.pdf

 

 

IK

Link to comment
Share on other sites

....errr... for those of you who have upgraded beyond Win 95/98, those enviornment variables can be set on a per-user or per system (Win 2K/XP) basis by the following:

 

-Right Click on "My Computer"

-Select "Properties"

-Goto the "Advanced" Tab

-Select "Enviornment Variables" (at the bottom of that tab)

 

Users can set their own variables, but only Administrators can set system variables.

Link to comment
Share on other sites

yeah, but what about DOS?

12791[/snapback]

 

Well, if you were smart enough to give ol' Mr. Gates the finger, then your variables could be automatically set using the autoexec.bat file, or you could type it into the C:\> prompt (if you are still using DOS, my guess is that you do a lot of typing at the prompt), but you would likely also need to modify your config.sys file to make a custom entry for running IronCAD, such that you could meet the memory requirements (ahhh...the days of Himem.sys...)....but my guess is that your problems would not end there...

 

...now if you can get IronCAD to run on DOS, you could probably get it to run in Linux!

 

C:\> format c: /s

Edited by Mike Twining
Link to comment
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...