Academic Company Events Community Support Solutions Products & Services Contact NI MyNI
5 ratings:
 4.40 out of 5   

Automatically Configure Client Software to Point to a Certain Port on NI VLM Server



Primary Software: Other NI Software>>NI Volume License Manager
Primary Software Version: 1.0
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. I am not using the default port number, how can I configure the client software to look to a custom port?

Solution:
For VLM 2.1 and Later:
To configure a single client computer, see the article Setting up Access to a Volume License Server from the Client Machine 

For Automating Client Machine configuration using a volume license installer, follow this process:
  • After Specifying the Installer Source, Destination and Name, click Next.
  • On the Installer Volume License Server page, select Configure client machines to connect to a volume license server to checkout licenses
  • In the Volume License Server field, enter the simple server name, fully qualified domain name, or the server's IP address. With any of these, you may specify a port number following the format: servername[:port]. For example servername:28000
For VLM 2.0:
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 Volume License 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 47IAHTQA: Creating a Volume License Installer in NI Volume License Manager (VLM)
KnowledgeBase 3BT93H6E: Updated "Create Network Installer" for the NI Volume License Manager
KnowledgeBase 475GCNQA: Configuring Communication Ports for a NI Volume License Manager or FLEXnet Publisher (formerly FLEXlm) License Server
Knowledgebase 4UAF8N5F: Setting up Access to a Volume License Server from the Client Machine
Products and Services: NI Volume License Manager Training

Attachments:





Report Date: 07/30/2004
Last Updated: 10/05/2017
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