article

Ben Wilson avatar image
0 Likes"
Ben Wilson posted Ben Wilson edited

License Server - Licensing a multi-user client PC   

Background

The method for licensing a single-user client PC saves client PC license settings to the Windows profile data of the signed in user, so license settings are saved on a per-user basis.

In cases where the exact number or identity of PC users is not predetermined, such as in a university computer lab, it is impractical to license users individually in this manner. Another use-case for this method is when FlexSim Software is automatically pushed or deployed to client PCs. Having the licensing as part of the deployment is useful.

For this mult-user method we'll use a license file on the client PC to license FlexSim software generally for any user of the PC.

Use a license file

Create a plaintext license file

On the client PC create a plaintext license file named flexsim.lic with the following 2 lines (exclude any line numbers):

SERVER 127.0.0.1 ANY 26914
USE_SERVER

If your Windows settings do not show file extensions, it is possible that your flexsim.lic license file is actually named flexsim.lic.txt, which will not work. Be sure to show file extensions and make sure your license file ends with the .lic file extension. The actual name of the file is not important (it could be helloWorld.lic, for instance), but it needs to end in .lic.

Modify

On the client PC, modify your new license file with the following changes:

  1. On line 1 change "127.0.0.1" to the IP address or fully qualified domain name of your license server.
  2. If you modified your license server with custom port numbers, on line 1 replace the default port 26914 with your custom port number.

Install

With FlexSim software installed on a client PC, your new license file should be copied into FlexSim’s installation directory in the following location:

C:\Program Files\FlexSim <version>\program\

Your exact folder path could differ based on custom installation locations or FlexSim version, but it should be placed into FlexSim’s program\ folder.

Multiple license servers?

If your FlexSim licenses/seats are spread across multiple license servers, you can configure your client software to try to pull a license from any of your multiple license servers. Simply create a new license file for each possible license server and save each to the same program\ folder. In this scenario, in your program\ folder you would have multiple license files listed, like this:

  • flexsim1.lic
  • flexsim2.lic
  • flexsim3.lic
  • etc.

Each license file should reference a different license server and its port number.

Next

Check out the next article to learn how to verify that your client PC is licensed, and what to do if it isn't: License Server - Verify client PC licensing.

license serverlicensinglmadminclient pclmtools
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Clair A avatar image Clair A commented ·

Hi @Ben Wilson, in older installation instructions, the default name of this .lic file was:

flexsim_server.lic

In the instructions above, the default file name is now:

flexsim.lic

Do you confirm that the filename does not matter ? I tried with both, and even blabla.lic that also works, as long as the file extension stays .lic.

0 Likes 0 ·
Ben Wilson avatar image Ben Wilson ♦♦ Clair A commented ·

Correct - the filename does not matter.

It is nice to follow the convention in our latest instructions to make it easier to debug if a customer ever needs to contact FlexSim technical support.

1 Like 1 ·
Clair A avatar image Clair A Ben Wilson ♦♦ commented ·

Thanks Ben. Please note that the pdf installation guide (https://flexs.im/licenseserver-install) does not use the same .lic filename as the above instructions. On https://flexs.im/licensing-procedures the reader could think that whether he follows the pdf installation guide or the online Answers article the instructions will be the same. Nothing stresses that one method is the latest one compared to the other.

One of our customers thought that he had to change the filename of the .lic file on all the classroom computers. I told him that this was actually not needed.

0 Likes 0 ·

Article

Contributors

ben.wilson contributed to this article

Navigation

Licensing Topics