Cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Pioneer
Pioneer

ok thank you for the information.

 

I will try this option.

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Siemens Phenom Siemens Phenom
Siemens Phenom

Others variations I've used with the lmutil command line utililities within a script: 

  1. I would place a version of one on every NX user's PC that they can run to remove their own locked up licenses without having to bug... I mean call me.
  2. Another version would be for me as the admin where I would just run my script using the problematic userid, hostid, ora combination of both as input to it.
  3. A more advanced version would be to edit the user's launch scripts to autocheck for NX licenses in use by their userid but on another system and then yank the other license before starting NX.

Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Pioneer
Pioneer

Hello Larry Carpenter,

 

Thanks for your message.

 

After reading the pdf "fnp_LicAdmin" suggested by you, I have an idea to restrict the user to utilize only one NX license.

There is an option of using a command called "MAX" in the options file as shown below;

 

copied from book ****For example, to limit the user jan to five licenses for feature f1, include the following line in the option file:
MAX 5 f1 USER jan****

 

Howerver, it says that we can only limit the features, but i want to limit the number of NX licenses per user to 1.

Something like "MAX 1 nx USER jan"

 

I am not sure how to execute this, if you have any idea could you please help me.

 

There is an another option to reserve the license to a single user by option file, but it says the license locked to himself and other users cannot use that one. - so no use with this 

 

Thanks for your time Larry Carpenter.

Highlighted

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Siemens Phenom Siemens Phenom
Siemens Phenom

NX licenses are licensed by their feature names (run 'lmstat -a' or look at your license file for the feature names), so for any NX license feature you want to limit a user to, you'll need to add a line for it on the options file.

An example might be:

#Limit MACH 1 bundle for user 'licensehog' to 1 license at a time.

MAX 1 NX11110 USER licensehog

#Limit Advanced Assemblies floating license for user 'licensehog' to 1 license at a time.

MAX 1 MA_adv_assemblies USER licensehog


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Pioneer
Pioneer

Hello Larry Carpenter,

 

I should copy the license file (notepad file) and make a new file called "options file" and place it on the original license file location in server. 

 

In the new options file i should add these lines, for example MAX 1 MA_adv_assemblies USER licensehog and point the LM tool to the new options file right.

 

Is there any particular place on the notepad file (options file) should i add these new lines or I can add these lines at the end of the options file?

 

Thanks again for your time.

 

 

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Siemens Phenom Siemens Phenom
Siemens Phenom

OH no. You leave the license file alone (except to add the pathname of the options file). 

You need to create a new blank text file for your options.

 

Example of changing license file to point to options file called "ugslmd.opt""

 

VENDOR ugslmd options=ugslmd.opt PORT=27999

 


Larry Carpenter, P.E.
CAxPLM Architect @ Siemens Molecular Imaging
Past Board Member @ PLM World, Inc,

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Just to expand on what @LarryCarpenter has shown...

My license is C:\Siemens\PLMLicenseServer\splm8.lic:
SERVER LAPTOP101 COMPOSITE=A78F1619A477 28000
VENDOR ugslmd OPTIONS=C:\Siemens\PLMLicenseServer\LAPTOP101\ugslmd.opt PORT=28005

And my ugslmd.opt:
# Make GROUP and USER names case insensitive (Windows)
GROUPCASEINSENSITIVE ON
# Declare a GROUP of users
GROUP sdi rellsworth sherpa infodba
# INCLUDE license borrowing
INCLUDE borrowing USER rellsworth
# INCLUDE all users in GROUP
INCLUDE TCDIST GROUP sdi
# Uncomment the following for debugging:
#DEBUGLOG C:\Siemens\PLMLicenseServer\LAPTOP101\ugslmd_debug.log

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Pioneer
Pioneer

Hello Larry Carpenter,

 

Thanks for your time in answering my previous question.

 

My license file looks like this;

 

SERVER stungsrv COMPOSITE=585B1C6D5E3C 28000
VENDOR ugslmd OPTIONS=C:\Program Files\Siemens\PLMLicenseServer\UGSLMD.opt PORT=28000


PACKAGE ADVDES ugslmd 32.0 COMPONENTS="ADVDES_assemblies \
ADVDES_drafting ADVDES_dxf_to_ug ADVDES_dxfdwg \
ADVDES_features_modeling ADVDES_free_form_modeling \
ADVDES_gateway ADVDES_iges ADVDES_nx_freeform_1 \
ADVDES_nx_freeform_2 ADVDES_pstudio_cons \
ADVDES_pv_ugdatagenerator ADVDES_sla_3d_systems \
ADVDES_solid_modeling ADVDES_step_ap203 ADVDES_step_ap214 \
ADVDES_ug_prod_des_advisor ADVDES_ug_smart_models \
ADVDES_ug_to_dxf ADVDES_ugopen_menuscript \
ADVDES_usr_defined_features" OPTIONS=SUITE ck=200 SIGN="1CAC \
30A9 0F2F B362 47AB 0F17 F6C7 796C 2FF8 BA71 8162 A1E8 BD14 \
F860 F8E0 14D1 A36D 9773 F806 FFC5 9432 2EBD 3641 9C13 E545 \
433F 4556 72E7 C875 D8CD"

-------

 

I would like to regulate only the ADVDES bundle and all the features inside the bundle. Therefore, I just added the "MAX" command lines before all the features as shown below in the options file(UGSLMD.opt);

 

#Limit ADVES bundle for user 'davidf' to 1 license at a time
MAX 1 ADVES_assemblies USER davidf
MAX 1 ADVDES_drafting ADVDES_dxf_to_ug ADVDES_dxfdwg USER davidf
MAX 1 ADVDES_features_modeling ADVDES_free_form_modeling USER davidf
MAX 1 ADVDES_gateway ADVDES_iges ADVDES_nx_freeform_1 USER davidf
MAX 1 ADVDES_nx_freeform_2 ADVDES_pstudio_cons davidf
MAX 1 ADVDES_pv_ugdatagenerator ADVDES_sla_3d_systems USER davidf
MAX 1 ADVDES_solid_modeling ADVDES_step_ap203 ADVDES_step_ap214 USER davidf
MAX 1 ADVDES_ug_prod_des_advisor ADVDES_ug_smart_models USER davidf
MAX 1 ADVDES_ug_to_dxf ADVDES_ugopen_menuscript USER davidf
MAX 1 ADVDES_usr_defined_features"  USER davidf

 

In addition, I am seeing some feature names at the bottom of the license file as well;

Should I worry about this list when creating the option file?

 

UG10765

Description:  NX Adv Designer

assemblies
drafting
dxf_to_ug
dxfdwg
features_modeling
free_form_modeling
gateway
iges
nx_freeform_1
nx_freeform_2
pstudio_cons
pv_ugdatagenerator
sla_3d_systems
solid_modeling
step_ap203
step_ap214
ug_prod_des_advisor
ug_smart_models
ug_to_dxf
ugopen_menuscript
usr_defined_features

 

Thanks for support.

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Pioneer
Pioneer

thanks for the response.

Re: Is there a way to restrict the user to open multiple Teamcenter sessions in different workstatio

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
Yikes @cadadmin2018

You've set the ports to the same number...
SERVER 28000
VENDOR PORT=28000

The SERVER port is the port where clients will ask for a license and the VENDOR port is the return (answer) port. Companies fix the return port to allow firewall exceptions to be created otherwise it returns on a range of ports that's harder to nail down.

Change or remove the PORT from the VENDOR line.

Packages (Bundles) cannot be managed as far as I know and you have to manage the individual features themselves. However the same features may exist in several bundles so knowing which one is being limited is important.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4