Node-locked licenses on license server

Ranorex Spy, Recorder, and Studio.
Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Node-locked licenses on license server

Post by Pavlo » Wed Jun 13, 2012 2:36 pm

Hi

We are using Ranorex on terminal server and need to develop and run tests on same PC but under different user sessions (using remote desktop).
So we need:
1. Ranorex Studio (premium license) on session for user1
2. Ranorex Studio (premium license) on session for user2
3. Ranorex run-time (only test execution) on session for user3
4. Ranorex run-time (only test execution) on session for user4

In order to do that we have bought 4 licenses (2 premium node-locked and 2 runtime floating).

The question is: how to make it all work ?
There are no problems with runtime floating licenses (we simply installed license server and added those floating licenses to it). But how we can have 2 Ranorex Studios running on same PC under different user sessions?


-re
Pavlo

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Node-locked licenses on license server

Post by Support Team » Thu Jun 14, 2012 4:49 pm

Pavlo wrote:But how we can have 2 Ranorex Studios running on same PC under different user sessions?
The Ranorex Licensing Tool does only support installing node-locked licenses specific to a computer, not specific to a user. However, you can configure such a scenario manually.

The steps to set up a node-locked Ranorex license specific to a user are:
  • Install the license using the Ranorex License Tool.
  • Copy the license file from C:\ProgramData to C:\Users\<username>\AppData\Roaming where <username> has to be replaced by the name of the user on the server.
Repeat the above steps for every Ranorex user on the terminal server with a separate node-locked Ranorex license.

Regards,
Alex
Ranorex Team
.
Image

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Node-locked licenses on license server

Post by Pavlo » Mon Jun 18, 2012 9:26 am

Thanks for instructions, but I need bit more help.

Path that you provide is for WIndows 7 and we are using WIndows Server 2003. Where should I copy license files in Win 2003 ?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Node-locked licenses on license server

Post by Support Team » Mon Jun 18, 2012 12:52 pm

Hi,

the folder you are looking for is %USERPROFILE%\Application Data.

Regards,
Tobias
Ranorex Team
.
Image

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Node-locked licenses on license server

Post by Pavlo » Mon Mar 18, 2013 10:46 am

Hi again

Sorry for re-opening old question, but I need couple more clarifications:
1. What is ranorex license file name and extension (and what is path to this file if I install license using LicenseTool) ?
2. Should I copy this license file to "%USERPROFILE%\Application Data" or "%USERPROFILE%\Application Data\RanorexStudio3" ?

Please note, we are using Microsoft Windows Server 2003.

Pavlo
Posts: 43
Joined: Fri Dec 30, 2011 10:55 am

Re: Node-locked licenses on license server

Post by Pavlo » Mon Mar 18, 2013 1:31 pm

Ok, I've already found how it should be done.
So will post solution just for case if somebody else will want to do same task:
1. Run Ranorex License Tool
2. Enter node-locked license key
3. Click "Install" button
4. Go to %ALLUSERSPROFILE%\Application Data folder and copy file Ranorex3.lic (for win2003 full path is "c:\Documents and Settings\All Users\Application Data\Ranorex3.lic"
5. Paste Ranorex3.lic file to user-specific application data folder "%USERPROFILE%\Application Data"
6. Remove Ranorex3.lic file from %ALLUSERSPROFILE%\Application Data folder
7. Repeat steps 1-6 for any other user :)

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: Node-locked licenses on license server

Post by Support Team » Mon Mar 18, 2013 3:39 pm

Thanks for posting the solution!

Regards,
Markus
.
Image