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: 

license server priority question when using the ADSKFLEX_LICENSE_FILE

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
cannarella
1607 Views, 6 Replies

license server priority question when using the ADSKFLEX_LICENSE_FILE

Ok so we have 2 license server VMs.  One I call license2 is for our PDSP US only and one I call license3 is for our PDSP ETR for the US Canada and Mexico.  This server also has our 2013 CFDesign licenses on it.  We are moving to using the ADSKFLEX_LICENSE_FILE environment variable so we know what license servers to use.  Our default Inventor install will be preconfigured for license3 since it covers all the locations we can operate with it.  For US users I will run a script that creates the environment variable to list the servers in order of @license2:@license3 so US users will pull from the US only server before using the ETR server.  My problems is that for US users that use CFDesign, when I add the environment variable it breaks it.  I can get a copy of the error if needed when trying to run it.  If I reverse the order of servers it will work.  Since license2 does not have a license for it what doesn't it just to go license3 to obtain a license?

 

Andy

6 REPLIES 6
Message 2 of 7
TravisNave
in reply to: cannarella

The reason is probably due to the fact that multiple instances in the environment variable are meant to point to redundant server setups where all the servers share the same license data.  When your client polls the first server in its list and gets denied, then it accepts the denial and won't automatically try again.

 

What you might try doing is actually combining your NLM licenses into one single server, and then using an ADSKFLEX.OPT options file to handle the separation of license groups.  You'll get better results and the cascade will work as designed. 



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 3 of 7
cannarella
in reply to: TravisNave

Interesting, the Autodesk guy that came to help setup the environment said we had to have the licesnes seperated because of the ETR license.  I am familiar with combining the licenses.  So how would/could I seperate the groups so I know my people that need to only use the ETR license use it and the US users can use the US one first then failover to the ETR when the US license runs out?  If I can get this to work I would like it much better.  Just need to ensure the points above.  

 

Andy

Message 4 of 7
TravisNave
in reply to: cannarella

Technically, yes, you would need to separate your licenses.  But how it is separated is a discussion for Autodesk Legal.  Even though you have them separated, you can still technically access both licenses servers, which defeats the purpose of the license agreement anyway.  Thus, to fully ensure proper license separation, setting up an options file would absolutely limit the number of users from predefined groups to access only the amount of licenses that they are allowed.  Then you wouldn't have to worry about maintaining separate license managers or rolling over to another server. 

 

Combining license files is easy.  But you will have to regenerate one of your licenses files for the other server so it matches.  Autodesk can help you with this.  I have HOWTO docs on combining license files and creating options files in my sig line. 

 

And I can help you directly if need be.  Just let me know.



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 5 of 7
cannarella
in reply to: TravisNave

It would be easier for me to have it on one server with one option file where I can exclude license usage by IP for my international locations which would ensure the could never access the US section of the license file.  So when you say seperate license file do for mean 2 seperate entries in the same .lic file?  That would be ideal.  I would move the file from license2 to license3 so I don't have to change my base install.  how do other companies do it?  How do I interface with the legal department to get these questions answered?

 

Andy

Message 6 of 7
TravisNave
in reply to: cannarella

Actually, in reality you would be combining the two licenses files into one.  The LMTOOLS would not know any difference, just as if you pointed the client from one server to another.  But rather than allowing the Int'l workstations to pull a US available seat, you would restrict its access in the options file.  It's quite brillian in its simplicity and would ensure that you are abiding by the license agreement.  It would also be its own record of documentation thereof, if you were ever audited.  In my opinion, it's the best way to control it from any way you look at it.



Travis Nave Send TravisNave a Private Message                                             Need help in your post? Mention me with @TravisNave



My Expert Contributions to the
Autodesk Forums:
FLEXnet License Admin | MSI Cleanup Utility | .NET Framework Cleanup Tool | IPv6 NLM Fix | adskflex.opt Options File | Combine .LIC Files
Message 7 of 7
dembkod
in reply to: cannarella

Cannarella,

Hello. Just to test, it may be useful to change your environment variable to not use the computer names. Instead of @PCNAME use the IP address instead. Make sure to keep the @ before the IP address. Also, I would add a timeout variable to the client machine as well, to make sure the machine is able to wait long enough for a license.

1.)           Right-click the My Computer icon.

2.)           Click the Advanced tab.

3.)           Click "Environment Variables".

4.)           Under the System Variables window, click "New".

5.)           In the Variable name field enter FLEXLM_TIMEOUT

6.)           In the Variable Name field enter 5000000

7.)           Click "Okay".

Thank you for taking part in our community!

 

David Dembkoski

  ADSK_logo_S_black_web.png

Product Support Specialist

Autodesk Product Support

 



David Dembkoski

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

Post to forums  

Administrator Productivity


Autodesk Design & Make Report