Programattically Redirect Client Computers to a New VLM Server

Updated Jan 15, 2019

Reported In

Software

  • NI License Manager
  • Volume License Manager

Issue Details

I had to move my server that handles activation through VLM to a new computer, I would like to automate the process of clients pointing to the new server, how can I do this?

Solution

In order to automate this process:
1. Create a batch file to run commands on the clients.
2. Remove the old server (if necessary) with this command:
C:\Program Files (x86)\National Instruments\Shared\License Manager\NILicensingCmd.exe -removeServers [<server name>] 
3. Add the new server with one of the following command syntax examples:
C:\Program Files\National Instruments\Shared\License Manager\Bin\nilmUtil.exe -addservers server1
C:\Program Files\National Instruments\Shared\License Manager\Bin\nilmUtil.exe -addservers server1:28000
C:\Program Files\National Instruments\Shared\License Manager\Bin\nilmUtil.exe -addservers server1:28000,server2

 

WAS THIS ARTICLE HELPFUL?

Not Helpful