Configure NI Software to Use Triple Redundant FlexNet Server for Licenses

Updated Oct 24, 2019

Reported In

Software

  • NI License Manager

Other

  • FlexNet Publisher (formerly FLEXlm)

Issue Details

How do I configure my software to point to my triple redundant FlexNet servers for licenses?

Solution

You can configure the software to look at the triple redundant server in NI License Manager.
  • If you are using client software that uses NI License Manager 3.0 or later, port configuration is built in to the software. You can configure this on the client computers by going to NI License Manager and selecting Options»Preferences. For the "Use Network License Servers" field, enter the server name followed by a colon and then the port number, seperated by a comma. For example, server1, server2, server3.
  • For NI License Manager versions prior to 3.0, you may use the range of ports provided by FLEXnet Publisher to host the volume license file and still be able to have the client software connect correctly. The available range of ports include ports 27000 through 27009. This does not require any changes to the client computers.

Additional Information

If this default port range is not sufficient for your needs, you can add a file to your client computers to override where the client software expects to find the license on the server. This will allow you to specify any port to host the licenses. To do this, make the following changes:
  1. Create three new files named "AAA_PortRedirect.lic", "AAB_PortRedirect.lic" and "AAC_PortRedirect.lic" in the folder which contains the rest of your license files. This is usually C:\Program Files\National Instruments\Shared\License Manager\Licenses.  
  2. In this file, add the following lines of text:
    SERVER serverName ANY portNumber
    USE_SERVER

    where serverName is the server name which hosts your licenses and portNumber is the port number which hosts the licenses. The NI License Manager will begin looking at the first file, "AAA_PortRedirect.lic" and then will move through the files alphabetically, so the first server should be listed in "AAA_PortRedirect.lic", the second in "AAB_PortRedirect.lic" and the third in "AAC_PortRedirect.lic".
  3. Configure the NI License Manager to not use a Network License Server.