DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect clients to new NI VLM server

We need to migrate NI VLM from one server to another server. We need to programmatically redirect all (hundreds) client machines to point to the new license server. What is the best way to do this?

I understand the ‘NILMUTIL –addservers’ command is supposed to add the new server. But I tested it and it didn’t add my new server for some reasons. Also it does not allow to delete the old server out of the server list. Thanks.

0 Kudos
Message 1 of 11
(5,754 Views)

Hello Larry

There are a few alternatives to migrate servers. The easiest and recommended way is to rename the new server with the name of the old server. You can also create a network installer, or update the servers.ini file.

There is more detailed infromation located here.

 

 

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 2 of 11
(5,736 Views)

Thanks Jacob.

If we only use unmanaged licenses then migrating activity log and compliance log (nivlm.cg, permission and client info) would not be needed, right?

0 Kudos
Message 3 of 11
(5,699 Views)

That's right. For unmanaged licenses, once you install the license file and start the server, the clients only need to see the server to get access to NI software.

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 4 of 11
(5,689 Views)

Thanks again Jacob.

Is there any existing tool/program (either by NI or 3rd party) to modify the registry to replace the old server with the new server?

The command NILMUTIL is not that robust and does not seem to work when we tested it.

0 Kudos
Message 5 of 11
(5,683 Views)

Hello Larry,

Besides the NILMUTIL tool which will append a new server there is also a Volume License Installer that you can create with Volume License Manager. Using that method you can also update the server name; however that will also append a server name to the NI License Manager. This should not cause any problems in licensing though, as long as the older server name is not on the network.

There are not other tools.

If you are using Windows 7, there is a servers.ini file that you can modify on each computer; lower then Windows 7 uses registry keys. In the servers.ini file, which lives here: C:\ProgramData\National Instruments\License Manager\Data, you can change the "Order=" value to the name of your current server.

 

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 6 of 11
(5,670 Views)

I've tried

 

nilmUtil.exe -addservers server1

 

but the server1 was not added to the list (verified by NI LM > Options > Preferences). What may be the problems?

0 Kudos
Message 7 of 11
(5,652 Views)

That exact command works on my computer. It adds a second server to NI License Manager. This is how it looks like for me: 

 

2012-10-30_1130.png

 

Are you sure that you are the administrator on the machine? The cmd window should have Administrator on the top.

 

You also need to make sure that the National Instruments software is all installed on one drive. If it spans multiple drives it can be a problem.

 

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 8 of 11
(5,635 Views)

I'm sure I've administrator privs and my PC only has C: drive.

I suspect that it's a version compatibility issue. My PC has NI LM from a DIAdem 9x installation, where as the NI VLM server is different. Could this be true?

0 Kudos
Message 9 of 11
(5,626 Views)

That may cause an issue. NI License Manager installs with any National Instruments software. You can try updating it to see if that solves the issue.

Jacob R. | Applications Engineer | National Instruments

0 Kudos
Message 10 of 11
(5,616 Views)