Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
2 ratings:
 5 out of 5     Rate this Document

How Can I Automatically Configure Client Software to Point to a Certain Port on My NI VLM Server?

Primary Software: Other NI Software>>NI Volume License Manager
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: Other NI Software>>NI License Manager

Problem:
I am running the NI Volume License Manager (NI VLM) to host licenses for my client software users. The NI Volume License Manager needs to run on a certain port that is not the default port of 27000. My client software, the software program which is run by the end user, needs to know to point to this custom port on the NI VLM server. How can I configure the client software to look to a custom port?

Solution:
You can configure client software that uses the NI License Manager version 2.1.2 and above to look to a custom port address. To configure just one computer, go to Start»Programs»National Instruments»NI License Manager to launch the NI License Manager. Then, go to Options»Preferences and in the Use Network License Servers field, enter the server name followed by a colon and then the port number. For example: servername:28000

For VLM 2.0 and Later:
When creating a volume license installer, a dialog will ask for the hostname of the server. You can insert any specific port in with the hostname using the server:port format (for example server1:27008). This method will embed the port number into the network installer so that no additional configuration is necessary for the client.

For VLM 1.0:
If you prefer not to configure each client computer manually, you can include this port configuration automatically in the software installer. When using the NI Volume License Manager to host licenses for client computers, one of the steps in distributing the software is to create a network installer. This network installer is built to install the software and also configure the software to automatically look to the NI VLM server for a license file. We can also configure the network installer to look for a certain port on the NI VLM server by using an updated version of the executable that creates the network installer. To do this, complete the following steps:
  1. Download the mslsetup.exe from the Related Links section below.
  2. Replace the existing mslsetup.exe in an installer that has already been prepared for network install and/or replace the existing mslsetup.exe found in <National Instruments>\Volume License Manager. By replacing the file in that directory, any future network installers will also have the ability to configure client computers to use a custom port.
  3. Once the network installer has been created, open the file named mslsetup.xml in a text editor. This file can be found in the folder which contains the network installer. This file contains the information about the server which mslsetup.exe uses to configure the client.
  4. Edit the line which contains server location information to contain PORTNUMBER@SERVERNAME where PORTNUMBER is the custom port number for the NI Volume License Manager server and SERVERNAME is the server name. Save the file with the same name: mslsetup.xml
  5. Install the network installer on the client computer. If the software itself is already installed, you can simply run mslsetup.exe on the client computers.
At this point, the client computers should be configured to point to a particular port number on the NI Volume License Manager server.

Related Links:
KnowledgeBase 3BT93H6E: Updated "Create Network Installer" for the NI Volume License Manager

Attachments:





Report Date: 07/30/2004
Last Updated: 09/12/2008
Document ID: 3BT7MR6E

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit