Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Switching Between a Node-Locked License and a Floating License
Topic Summary:
Created On: 18-Sep-2008 00:20
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
Answer This question was answered by Tony Goodman, on Wednesday, September 24, 2008 5:08 PM

Answer:
I have seen this problem before. DOORS does update the registry values at startup.

The fix is as follows, if I can remember correctly!

Fix:
Open windows explorer and right click on "My Computer".
Select Properties.
Select Advanced tab.
Click on Environment Variables.
Look for LM_LICENSE_FILE. If it does not exist, create it.
Set the value to the license path.
Restart DOORS. You will notice that TELELOGIC_LICENSE_FILE has been updated to match LM_LICENSE_FILE.
 18-Sep-2008 00:20
User is offline View Users Profile Print this message


Scott Walker

Posts: 10
Joined: 27-Jan-2006

Hello:

Our company is using a single floating license and we have recently added two node-locked licenses for our team. I'd like to set up these clients so that they can switch between the server and the standalone clients. I've been able to create an update script to switch the dbs but haven't had any luck with my licenses. I seem to only be able to use the floating license. Has anyone encountered this??

thanks,

Scott Walker
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 06:30
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

I am not sure on this, but I have understood that if your LM_LICENSE_FILE / TELELOGIC_LICENSE_FILE contains both a license server address and the local license file, as:

19353@server.com;c:\foo\bar\license.dat

then the DOORS licensing system tries to use both in turn. If the license server is not found (not in network) then the standalone license file is used.

Then of course you can also modify these environmental values directly if you want to use the standalone license while being on the network. There is also a registry key for FLEXlm storing the license data, so if you want to check all locations storing the licensing info, there are at least three of those.

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/

Edited: 18-Sep-2008 at 06:35 by Pekka Mäkinen
Report this to a Moderator Report this to a Moderator
 18-Sep-2008 18:43
User is offline View Users Profile Print this message


Scott Walker

Posts: 10
Joined: 27-Jan-2006

Thanks for the information. I did change the TELELOGIC_LICENSE_FILE variable from 19353@server.com;c:\foo\bar\license.dat to c:\...\license.dat however whenever I launch DOORS while connected to the domain housing our doors server the system resets the variable to 19353@server.com;c:\foo\bar\license.dat and uses the floating license.

I've checked the other variables under FLEXlm and Telelogic and they reference the local license.dat files.

Do you know what might be changing the TELELOGIC_LICENSE_FILE variable when I launch DOORS? Is this something that can be changes via LMTOOLS?

thanks,

Scott
Report this to a Moderator Report this to a Moderator
 19-Sep-2008 10:35
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

The enviromental variables are stored in registry at

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

e.g. in the value TELELOGIC_LICENSE_FILE.

But at least in my environment the modifications goes both ways: if I modify the registry value, then also the environment is modified and otherway round. So there is no secret updates from somewhere. This might depend on you access rights on you PC, i.e. do you have Admin rights.

One idea on switching these values semi-automatically: you could have two reg files, one for the local licenses and one for the floating license, then you could just switch the licensing mode by just running either of these reg files. More on modifying registry through reg files:

https://forum.telelogic.com/customer/doors/messageview.cfm?catid=30&threadid=4926

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/

Edited: 19-Sep-2008 at 10:44 by Pekka Mäkinen
Report this to a Moderator Report this to a Moderator
 19-Sep-2008 12:05
User is offline View Users Profile Print this message


Tony Goodman

Posts: 97
Joined: 6-May-2008

Answer Answer
I have seen this problem before. DOORS does update the registry values at startup.

The fix is as follows, if I can remember correctly!

Fix:
Open windows explorer and right click on "My Computer".
Select Properties.
Select Advanced tab.
Click on Environment Variables.
Look for LM_LICENSE_FILE. If it does not exist, create it.
Set the value to the license path.
Restart DOORS. You will notice that TELELOGIC_LICENSE_FILE has been updated to match LM_LICENSE_FILE.

-------------------------
Tony Goodman
Smart DXL limited
www.smartdxl.com
Report this to a Moderator Report this to a Moderator
 19-Sep-2008 12:28
User is offline View Users Profile Print this message


Pekka Mäkinen

Posts: 276
Joined: 18-Mar-2004

OK, so the LM_LICENSE_FILE is some kind of master value for all of these licensing values?

-------------------------
Pekka.Makinen@softqa.fi
SoftQA Oy -http://www.softqa.fi/
Report this to a Moderator Report this to a Moderator
 24-Sep-2008 17:11
User is offline View Users Profile Print this message


Scott Walker

Posts: 10
Joined: 27-Jan-2006

That did the trick. Tony and Pekka, thanks for the assistance.

Scott Walker
Jacobs Technology Inc.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.