Installation & Licensing
Welcome to Autodesk’s Installation and Licensing Forums. Share your knowledge, ask questions, and explore popular Download, Installation, and Licensing topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problem changing licencing servers

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
1751 Views, 4 Replies

problem changing licencing servers



We are using the redundant server method to control licences & are upgrading our servers.

we are currently using the server set:

Server1; Server2; Server3

& want to move to the new server set:

ServerA; ServerB; ServerC

The problem is this...

I changed the licence file (licpath.lic), but AutoCAD still looks to the old server set due to cached info somewhere.

I created an ADSKFLEX_LICENSE_FILE environment variable, but AutoCAD still looks to the old server setdue to cached info somewhere.


The only thing that seems to work is to remove keys relating to flexlm in the reg.

HKEY_CURRENT_USER\Software\FLEXlm License Manager\ [all 2009 keys in here]

HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\ [all 2009 keys in here]



I have around 100 machines all over the country that need to look to the new servers & I need to write a batch routine to make the change. I would like to make the change with a light hand, not just blitz the reg in the hope that some of the changes fix the issue for all users.

So, what is the approved method for changing servers when the old servers are still available to the application?
4 REPLIES 4
Message 2 of 5
Antonio_Barroca
in reply to: Anonymous

Dear Mr. Strode,

The recommended approach when changing redundant system servers is to edit the licpath.lic on the clients to point to the new servers. You can edit one file and replace all the existing with the modified one.

The particularity of the redundant system is that the clients are redirect to the master server trough the licpath.lic file.
However, the FLEXlm architecture gives priority to the registry entry ADSKFLEX_LICENSE_FILE compared to the file licpath.lic.

“Normally” when an installation is set to a redundant system, the ADSKFLEX_LICENSE_FILE registry value should not be created. If there is one for some reason, then is overwriting the licpath.lic and is maybe the reason why the clients are not able to find the master server.

Your issue is probably due to the presence of the registry key, and is for that reason that when you remove the keys relating to FLEXlm in the registry, it works.

You should remove the system variable in the machines where they have been set and execute the VB Script bellow to remove the registry entries as well.

Copy this code into notepad, save it with an extension .VBS into a shared folder accessible to all the clients and run it on each machine.


Dim WshShell, Value1, Value2

Value1= "HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager\ADSKFLEX_LICENSE_FILE"
Value2="HKEY_CURRENT_USER\Software\FLEXlm License Manager\ADSKFLEX_LICENSE_FILE"

Set WshShell = WScript.CreateObject("WScript.Shell")

on error resume next
WshShell.RegDelete Value1
WshShell.RegDelete Value2

msgbox "Cleanup completed"


Regards

Antonio Barroca
Autodesk Product Support

We appreciate your quick feedback on this forum!
---------------------------------------------------------------------------------------
If my post answers your question, please mark it as an Accepted Solution, so that others can find answers quickly!
For more tips & tricks: http://upandready.typepad.com



Antonio Barroca
Product Support Specialist
Autodesk, Inc.
Message 3 of 5
Anonymous
in reply to: Anonymous

the ADSKFLEX_LICENSE_FILE was added by me on my machine only, in order to try & fix the problem.


The issue is occuring without the use of ADSKFLEX_LICENSE_FILE


On all other machines I'm using the licpath.lic approach only. (ADSKFLEX_LICENSE_FILE does not exist)

I edit the licpath.lic to point to the new servers, launch AutoCAD, AutoCAD is still pointing to the old servers.

I strip out the FlexLM keys in the reg.

Launch AutoCAD, with the edited licpath.lic still in place, AutoCAD finds the new servers.


From what I can see, AutoCAD is using the reg keys held under FlexLM in preference to the licpath.lic info.

On my machine only (where I tried the ADSKFLEX_LICENSE_FILE method as a test) It's also using the the reg keys held under FlexLM in preference to the ADSKFLEX_LICENSE_FILE.
Message 4 of 5
Antonio_Barroca
in reply to: Anonymous

Can you please post a screen capture of your HKEY_CURRENT_USER\Software\FLEXlm License Manager content or check if there is an entry called LM_LICENSE_FILE?

Regards

Antonio Barroca
Autodesk Product Support
---------------------------------------------------------------------------------------
If my post answers your question, please mark it as an Accepted Solution, so that others can find answers quickly!
For more tips & tricks: http://upandready.typepad.com



Antonio Barroca
Product Support Specialist
Autodesk, Inc.
Message 5 of 5
Anonymous
in reply to: Anonymous

As is always the way having fixed the last I cant find a broken machine to fix!

I'll manually modify some more users who are local to me & when I find one not working, I'll export the flexlm sections of the reg for you.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Administrator Productivity


Autodesk Design & Make Report