Cancel
Showing results for 
Search instead for 
Did you mean: 

NX Multiple License use on one machine

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi Folks,

 

im not sure if it is possible but i ask anayway.

 

We have the situation that some of our notebooks have 1 or 2 licenses. Normally you allways have to switch them in the LM tools . But i would like to do this with a script so i just need to klick the one for license a and after i closed the session of nx and i need the other on i want to use the license B.

 

Any ideas

14 REPLIES

Re: NX Multiple License use on one machine

Phenom
Phenom

I've done this with seperate .bat files to launch which ever "type" of NX session I wanted.  From memory, you have to set "UGS_LICENSE_BUNDLE=<name_of_bundle> to be set by the batch file, and then it launches NX.  I edited files from the NXcustom setup that Rob Cohon created when I was doing it, but it's been a while ago.

-Dave
NX 11 | Teamcenter 11 | Windows 8.1

Re: NX Multiple License use on one machine

Siemens Phenom Siemens Phenom
Siemens Phenom

First off, why the TWO licenses?  Are we talking about licenses for TWO different versions of NX or licenses that actually have different sets of modules?  Keep in mind that the License file that you got with NX 10.0 will still be good for running any version of NX back to NX 5.0.

John R. Baker, P.E. (ret)
EX-Product 'Evangelist'
Irvine, CA

Re: NX Multiple License use on one machine

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi,

 

thx for your respond. It is a little bit complicated to explain why two licenses. First im talking about the license itself, not the containing bundles, that i know.

 

The problem i have in our company is, that we are splited in three company. so evry company has it license file. (dont ask me why they do this).

 

Me and three other colleagus have to work for all three, and if we make designs for A we need License A, and so on. All Native no Teamcenter.

 

 

Re: NX Multiple License use on one machine

Esteemed Contributor
Esteemed Contributor

Be aware that with NX10, the ENV only works if you NEVER use the NX "Licensing Tool" to select bundles.

The NX Tool defines them in the registry, and the registry setting over-rides the ENV variable (yech!  Why did Siemens change this $%^$@! ??)

Once the registry entry is created, you have to delete it (not just set the value to "blank") to use the ENV again...

 

Ken

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: NX Multiple License use on one machine

Phenom
Phenom

Note, my earlier response was refering to different bundles, not different license files.

 

From memory again:

I have done it to point at two different license files(ie servers) though too, again using different .bat files.  In this case, I set "SPLM_LICENSE_SERVER=" in the .bat file.  

 

One would read SPLM_LICENSE_SERVER=28000@companyA

the other:  SPLM_LICENSE_SERVER=28000@companyB

 

I would remove SPLM_LICENSE_SERVER from the system properties.

 

In the "hosts" file, I would map companyA and companyB to the proper IP addresses.

 

This worked, because the license servers were on differnt machines, at different physical locations.

-Dave
NX 11 | Teamcenter 11 | Windows 8.1

Re: NX Multiple License use on one machine

Siemens Phenom Siemens Phenom
Siemens Phenom

I checked with our licensing people and this is what they suggested:

 

It quite depends on what kind of license file you have and where your license server is.

 

  1. If you have node locked license files

Here you can simply direct SPLM_LICENSE_SERVER to the proper node-locked license file on your laptop.  Easy to do from a batch script.

 

  1. If you are running with different license servers:If the license server is on some other node on your companies network
  • This case is also easy you can just set SPLM_LICENSE_SERVER=28000@nodea in one bat script and SPLM_LICENSE_SERVER=28000@nodeb in the other.
  • If your laptop is running as the license server then it gets complicated.

Assume that licensing is installed to c:\Program Files\Siemens\PLMLicenseServer, and you have 7.x of the tools running, so splm7.lic is the live license file.  Say also that you have two license files in that directory, splm7_companya.lic and splm7_companyb.lic then in one script have:

copy “c:\Program Files\Siemens\PLMLicenseServer\splm7_companya.lic”  “c:\Program Files\Siemens\PLMLicenseServer\splm7.lic”

“c:\Program Files\Siemens\PLMLicenseServer\lmutil.exe” lmreread

      and similar commands in the other file as well.

 

Note that your batch script will have to be updated whenever you upgrade licensing as the splmnn.lic numbering will change.

John R. Baker, P.E. (ret)
EX-Product 'Evangelist'
Irvine, CA

Re: NX Multiple License use on one machine

Esteemed Contributor
Esteemed Contributor

RE: SPLM_LICENSE_SERVER

 

Check out the "solutions database" Document ID: 002-7007243

 

Another "Why are they using the registry" $@%$^%!!!

 

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled


Re: NX Multiple License use on one machine

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi @Cableguy,

 

There a another way to do this, and this is pointing to a folder that contains all licenses. There are however, some catches to this. More details on how, and why can be found here:

 

https://solutions.industrysoftware.automation.siemens.com/docs/newsletter/running-multiple-licenses-...

 

Do note, this is officially not a supported configuration. But if it works for you...!

Read the doc carefully.

 

Kind regards,


Dennis

Dennis de Brouwer
Application Support Engineer
GTAC EMEA - Siemens Industry Software

Re: NX Multiple License use on one machine

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Thanks again for all the responses.

 

The Main Problem ist One Machine and One License Server

 

Dennis,

 

i tried to open your document but word told me it is broken. Also if download it. Ist it as PDF available?