You are on page 1of 28

Licensing

Tips & Tricks

Zuken

Contents
From the License Creator
Current Information
The License File
Option File
Borrowing a License
Troubleshooting
How to Read the Server Log File

Zuken

From the License Creator


Creation of time-bombed licenses
Flexid=ANY only in exceptional cases
Complete information for creating a new license
(Version, Features, Flexid, Customer, Expiration Date)
Node-locked licenses in one file
Combining floating and node-locked licenses

Zuken

Current Information
Dongle on Windows 2012 Server
Not yet supported
Dongle Driver for Flexid 9 dongles available under
http://sentinelcustomer.safenet-inc.com/sentineldownloads/

New License Manual available describing the license


handling of E3.series with FlexNet

Zuken

The License File license.dat


Example of license.dat that you receive from Zuken
SERVER Computer/Hostname 0024d7ca2560
VENDOR ECADLM
#
#
FEATURE E3schema_sb ECADLM 14.000 permanent 2 84D5B49CF50D \
VENDOR_STRING="Zuken E3.series E13060871 Custid=210014373 \
Sheets=30" DUP_GROUP=UHD BORROW=2160
#
FEATURE E3cable ECADLM 14.000 permanent 2 DA19586F3CB3 \
VENDOR_STRING="Zuken E3.series E13060871 Custid=210014373" \
DUP_GROUP=UHD BORROW=2160

Zuken

The License File license.dat


Example license.dat
SERVER ULM0078 0024d7ca2560 27999
VENDOR C:\<path>\ECADLM.exe option="D:\E3_Support\flex.opt \
PORT=27555
#
FEATURE E3schema_sb ECADLM 14.000 permanent 2 84D5B49CF50D \
VENDOR_STRING="Zuken E3.series E13060871 Custid=210014373 \
Sheets=30" DUP_GROUP=UHD BORROW=2160
#
FEATURE E3cable ECADLM 14.000 permanent 2 DA19586F3CB3 \
VENDOR_STRING="Zuken E3.series E13060871 Custid=210014373" \
DUP_GROUP=UHD BORROW=2160

Zuken

Using an Option File


To set up rules for accessing features, an option file can be used
Useful for large installations
File name and path must be set in the license file, in Vendor line
Example:
SERVER ULM0078 0024d7ca2560
VENDOR ECADLM option="D:\<path>\flex.opt
FEATURE E3schema_sb ECADLM 14.000 permanent 2 84D5B49CF50D

Text file in ASCII format


The access can be controlled using:
user (also groups), host (also host groups), display, internet
(ip address)

Zuken

Using an Option File - Keywords


Include and Exclude Users
Examples:
#INCLUDE users
INCLUDE E3cable USER sam
INCLUDE E3cable GROUP cabling
#EXCLUDE users
EXCLUDE E3pdf USER sam
EXCLUDE E3cable GROUP mechanical

Exclude has higher priority than Include

Zuken

Using an Option File - Keywords


MAX (limit number of licenses)
Examples:
#Limit
MAX 5 E3cable GROUP cabling
MAX 2 E3pdf GROUP cabling

RESERVE (reserve licenses)


#Reserve
RESERVE 5 E3cable GROUP cabling
RESERVE 2 E3pdf GROUP cabling

Zuken

Using an Option File Example File

# Create a log file


DEBUGLOG D:\E3_Support\Test.log
# Create Group
GROUP cabling sam dave george
GROUP schematic william jeff \
peter tom
# Include
INCLUDE E3cable GROUP cabling
INCLUDE E3cable GROUP schematic
# Exclude
EXCLUDE E3schema USER george
# Limit licenses
MAX 1 E3cable GROUP schematic
# Reserve
RESERVE 3 E3pdf GROUP cabling
RESERVE 2 E3schema GROUP schematic
RESERVE 1 E3cable INTERNET 10.3.*

10

Zuken

How to Borrow a License


Borrow one or more features using LMTOOLS on the Client
1. Set Vendor (ECADLM or ALL)
2. Return Date
3. Return Time
4. Set Borrow
Expiration
5. Output

11

Zuken

How to Borrow a License


Start E3 to check out the features you want to borrow
6. List Currently Borrowed Features
7. Dont Borrow Anymore Today

12

Zuken

How to Borrow a License


List Currently Borrowed Features
Example:
List All Currently Borrowed Features
========
Vendor
Feature
______
________
ECADLM
E3cable
ECADLM
E3panel
ECADLM
E3wire
ECADLM
E3formboard
ECADLM
E3pdf
ECADLM
E3ImportRuplan
ECADLM
E3exportEXF
ECADLM
E3cgm
ECADLM
E3_MIL_Standard
ECADLM
E3importSTEP
13

Expiration
__________
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
21-Jun-13 09:59
Zuken

How to Borrow a License


Borrowed features can also be verified in the Registry
HKCU\Software\Flexlm License Manager\Borrow

14

Zuken

How to Borrow a License


Return borrowed license features automatically or earlier
8. Feature Name
9. Return Borrowed License Early

15

Zuken

Troubleshooting General Information


Check license file
Node-locked license or Floating license
MAC-Address or Dongle
Correct reasons for refusal?

16

Max. number of licenses reached


Feature not in license file
Version mismatch (Version of E3 > Version in license file)
Option file restriction

Zuken

Troubleshooting Node-locked
Check license file
Placed at right location
File correct (invalid license file syntax)
Empty file replaced by correct file

Check Dongle
Dongle Driver installed
Dongle visible in LMTOOLS
Dongle number same as number in license file

Check startup parameter


Startup parameter must agree with licensed features

17

Zuken

Troubleshooting Floating
Check license server
ECADLM up?
Computer/Hostname replaced by correct name?
Check log file

Check Client Connection to Server


Ping server name
Environment variable LM_LICENSE_FILE correct?
Reg key must be the same:
HKEY_CURRENT_USER\Software\FLEXlm License Manager
Firewall settings (Port available? See following slide)

Check startup parameter


Startup parameter must agree with licensed features

18

Zuken

Troubleshooting Check Port


Check port with telnet in command window
If port is blocked, the error message Connect failed appears

If the port is not blocked, clear screen is executed in command


window

19

Zuken

Troubleshooting Check Port


Telnet on Windows 7 usually not activated
Activation in Windows Control Panel

20

Zuken

Troubleshooting
FLEXLM_DIAGNOSTICS
Get additional information using environment variable
FLEXLM_DIAGNOSTICS (value 1, 2 or 3)
-> Additional log file (flexpid.log) in the application directory

Note: Not recommended for using all day because it also creates
some pop up messages.

21

Zuken

How to Read the Server Log File


Information from the Debug log file:
Time stamp, Process ID and port of lmgrd and ECADLM, server
name, FlexNet version, used license file and licensed features
Example:
10:58:51 (lmgrd) pid 2772
10:58:51 (lmgrd) FLEXnet Licensing (v11.9.1.0 build 89952
x64_n6) started on ULM0078 (IBM PC) (6/20/2013)
10:58:51 (lmgrd) License file(s): <path>\license_fl.dat
10:58:51 (lmgrd) lmgrd tcp-port 27000
10:58:51 (lmgrd) Starting vendor daemons ...
10:58:51 (lmgrd) Started ECADLM (pid 5536)
10:58:51 (ECADLM) Using options file: <path>\flex.opt
10:58:51 (ECADLM) Server started on ULM0078 for:
E3schema_sb E3cable E3panel E3wire
10:58:51 (lmgrd) ECADLM using TCP-port 51515

22

Zuken

How to Read the Server Log File


Information from the Debug log file:
Used and released licenses, username and host, denied and
unsupported attempts, error numbers
Example:
10:52:15 (ECADLM) OUT: "E3cable" manne@Ulm0019
10:58:13 (ECADLM) IN: "E3cable" manne@Ulm0019
11:01:49 (ECADLM) DENIED: "E3pdf" manne@Ulm0019 (Licensed
number of users already reached (-4,342))
12:12:41 (ECADLM) IN: "E3cable" manne@vm-xp-e3mu (INACTIVE)
11:00:10 (ECADLM) UNSUPPORTED: "E3cable_sb_to_prof"
PORT_AT_HOST_PLUS
) manne@ULM0078
(License server system does not support
this feature. (-18,327:10054 ""))

23

Zuken

How to Read the Server Log File


Information from the Debug log file:
Option file related messages (Include, Exclude, Reserving, Log
file, )
Example:
13:36:27 (ECADLM) INCLUDE USER tkretscher E3cable
13:36:27 (ECADLM) EXCLUDE USER manne from E3schema
13:36:27 (ECADLM) RESERVING 1 E3cable/DA19586F3CB3 license
for USER_GROUP cabling
13:36:27 (ECADLM) RESERVING 1 E3cable/DA19586F3CB3 license
for USER_GROUP schematic
13:36:27 (ECADLM) RESERVATION of E3cable for USER_GROUP
schematic exceeds license count - ignored.
13:36:27 (ECADLM) Reread DEBUGLOG switched to
D:\E3_Support\Test.log
13:36:27 (ECADLM) Logfile switching to
D:\E3_Support\Test.log
24

Zuken

How to Read the Server Log File


Information from the Debug log file:
Process/ shut down messages
Example:
11:09:19 (lmgrd) Shutting down ECADLM pid=496 because
reread removed daemon
11:09:19 (ECADLM) Shutdown requested from SYSTEM@ULM0078
IP=10.3.2.11
11:09:19 (ECADLM) daemon shutdown requested - shutting down
11:09:19 (lmgrd) Shut down FLEXnet ECADLM license server
system on machine ULM0078
11:09:19 (ECADLM) daemon shutdown requested - shutting down
19:31:35 (lmgrd) Shutting down ECADLM pid=2768 because of
signal 15
19:31:35 (ECADLM) Shutdown requested from SYSTEM@ULM0078
IP=10.3.2.11
19:31:35 (lmgrd) EXITING DUE TO SIGNAL 15
25

Zuken

Help required?
Information you should always pass to 2nd Line support in the
event you cannot solve the problem:
Error message: Screenshot or text
License file used at customer site
License server log file
Option file if used

26

Zuken

Questions

27

Zuken

Zuken

You might also like