Reserving a License for an Individual or Group

Reserving a License for an Individual or Group

Here is something helpful so you can reserve a certain license (could be an NX bundle or a Solid Edge Premium license) for a person or a group.  The Flex LM options file that we create from a text file and place in the same directory as the license file is just for this purpose.

First – open notepad and save the blank file as selmd.opt or ugslmd.opt in the same directory as the the Solid Edge license, SELicense.dat or the NX License (yourlicensefielname.lic). In C:\SEFlex for Solid Edge or for NX C:\Program Files\Siemens\PLMLicenseServer or C:\Program Files (x86)\UGS you will find the license file.

Second – add your options in to the selmd.opt or ugslmd.opt file like creating a group and reserving 1 premium license to that group as is shown in the example here at the bottom.  Here at the bottom is the link to the Flex options. Note that not all options are enabled in Siemens software such as TIMEOUT.

Third – add the options file to your license file to the license file. Open the file with notepad and add the options file to the vendor line as is shown:

For SE
VENDOR selmd
Change to
VENDOR selmd selmd.opt

 

Save the file.

For NX you do not need to add to the license file.  It will pick up the options file automatically if it is called this ugslmd.opt  and is located in the same directory.  It must be located in the same directory as the license file and they both must be in the Siemens…PLMLicenseSever directory of the license server install.

Fourth – you will have to do start stop and reread and a server status check to make sure the server is up and the daemon is up.
Go to the same directory where the license is and Flex is installed (C:\SEFlex for Solid Edge or for NX C:\Program Files\Siemens \PLMLicenseServer or C:\Program Files (x86)\UGS) and look for LMTools.exe.

Note: that you must only use the LMTools that is in the install directory of the program for which you are trying to change.  Many programs us Flex LM for their licensing, but you must only use the LMTools.exe that is in that programs install directory for changing licensing for that program.  So for example, if you have both Solid Edge and NX licensing installed on the same server, you will see that the LMTools that is in the C:\Program Files\Siemens\PLMLicenseServer will pick up both services – one for SE and one for NX.  However, if you try to make changes to the SE service from this LMTools meant for NX there are issues.  I usually put a short cut for the LMTools on the desktop that says NX LMTools and SE LMTools to make sure I use the correct one.

Open LMTools.exe and go to the config services tab.  Click the second browse button down that is next to the Path to the License File box.  Navigate to the license file and click open (note if you are looking for a .dat for SE then use the drop down to select that file type and if you are looking for the .lic file for NX use the dropdown to select that file type).  Click the save service button and say yes to the dialog box that appears.  Now go to the stop/start/reread tab and click stop the server.  If it says unable to stop, click the checkbox that says force server shutdown and then click the stop server button again.  See that it says stopping server in the dialog box at the bottom.  You don’t have to wait.  As long as it says stopping server then you can click start server.  Wait until it says successful.  Click reread license file.  Wait until it says complete.  Now, go to the Server Status tab and click perform status inquiry.  See that both the Vendor daemon and the server are UP. If either one says DOWN, email us for help support@allyplm.com.

Last – test your groups by having someone inside the group access and someone outside try to access the license you reserved.  If you need help, email us at support@allyplm.com.

Reference:
http://opendtect.org/lic/doc/endusermanual/chap5.htm

Example Options file
_____________________________________________________________________________________
# Pound signs are used as comment lines and are not read by Flex
# When creating groups, use the user’s windows username
# Look in the license file to see what the name of the license is(go to the very bottom of the license file and
#    scroll up until you see SOFTWARE LICENSE TO FEATURE NAME CROSS REFERENCE.
#    Look in the License Product Column for the name.
#
# LIMIT LICENSE BORROWING OF SOLIDEDGE CLASSIC TO 48 HOURS
# AND SOLIDEDGE PREMIUM TO 24 HOURS
MAX_BORROW_HOURS solidedgeclassic 48
MAX_BORROW_HOURS solidedgepremium 24

# CREATE A GROUP OF USERS THAT SHOULD ALWAYS HAVE ACCESS TO SOLIDEDGE PREMIUM
GROUP SEPREMIUM_GROUP mrye bcarter ngill

# RESERVE 1 LICENSE OF SOLIDEDGE PREMIUM FOR THE SEPREMIUM_GROUP OF USERS
RESERVE 1 solidedgepremium GROUP SEPREMIUM_GROUP

# PREVENT SOLIDEDGE PREMIUM FROM BEING BORROWED
#
BORROW_LOWWATER solidedgepremium 2

# CREATE GROUP OF MANUFACTURING USERS
GROUP MANUFACTURING_GROUP bweisenberger npfeiffer jleak

# RESERVE 1 LICENSE OF SOLIDEDGE CLASSIC FOR MANUFACTURING USERS
RESERVE 1 solidedgeclassic GROUP MANUFACTURING_GROUP

# LIMIT MANUFACTURING GROUP TO 2 LICENSE
MAX 2 solidedgeclassic GROUP MANUFACTURING_GROUP

# PREVENT MANUFACTURING GROUP FROM USING SOLIDEDGE PREMIUM LICENSE
EXCLUDE solidedgepremium GROUP MANUFACTURING_GROUP
___________________________________________________________________________________



«

»
No Comments

Post a Comment