28
© Zuken Licensing Tips & Tricks

06 AE 2013 E3 Licensing

Embed Size (px)

DESCRIPTION

procedure

Citation preview

Page 1: 06 AE 2013 E3 Licensing

© Zuken

Licensing

Tips & Tricks

Page 2: 06 AE 2013 E3 Licensing

© Zuken

Contents

• From the License Creator

• Current Information

• The License File

• Option File

• Borrowing a License

• Troubleshooting

• How to Read the Server Log File

2

Page 3: 06 AE 2013 E3 Licensing

© 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

3

Page 4: 06 AE 2013 E3 Licensing

© Zuken

Current Information

• Dongle on Windows 2012 ServerNot yet supportedDongle Driver for Flexid 9 dongles available under– http://sentinelcustomer.safenet-inc.com/sentineldownloads/

• New License Manual available describing the licensehandling of E3.series with FlexNet

4

Page 5: 06 AE 2013 E3 Licensing

© 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

5

Page 6: 06 AE 2013 E3 Licensing

© Zuken

The License File – license.dat

• Example license.dat

SERVER ULM0078 0024d7ca2560 27999VENDOR 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

6

Page 7: 06 AE 2013 E3 Licensing

© 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 lineExample:SERVER ULM0078 0024d7ca2560VENDOR 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)

7

Page 8: 06 AE 2013 E3 Licensing

© Zuken

Using an Option File - Keywords

• Include and Exclude UsersExamples:

#INCLUDE usersINCLUDE E3cable USER samINCLUDE E3cable GROUP cabling

#EXCLUDE users EXCLUDE E3pdf USER samEXCLUDE E3cable GROUP mechanical …

• Exclude has higher priority than Include

8

Page 9: 06 AE 2013 E3 Licensing

© Zuken

Using an Option File - Keywords

• MAX (limit number of licenses)Examples:

#Limit MAX 5 E3cable GROUP cablingMAX 2 E3pdf GROUP cabling…

• RESERVE (reserve licenses)

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

9

Page 10: 06 AE 2013 E3 Licensing

© Zuken

Using an Option File – Example File

• # Create a log fileDEBUGLOG D:\E3_Support\Test.log

# Create GroupGROUP cabling sam dave george GROUP schematic william jeff \

peter tom

# IncludeINCLUDE E3cable GROUP cablingINCLUDE E3cable GROUP schematic

# ExcludeEXCLUDE E3schema USER george

# Limit licensesMAX 1 E3cable GROUP schematic

# ReserveRESERVE 3 E3pdf GROUP cablingRESERVE 2 E3schema GROUP schematicRESERVE 1 E3cable INTERNET 10.3.*

10

Page 11: 06 AE 2013 E3 Licensing

© Zuken

How to Borrow a License

• Borrow one or more features using LMTOOLS on the Client1. Set Vendor (ECADLM or ALL)

2. Return Date

3. Return Time

4. Set Borrow Expiration

5. Output

11

Page 12: 06 AE 2013 E3 Licensing

© Zuken

How to Borrow a License

• Start E3 to check out the features you want to borrow6. List Currently Borrowed Features

7. Don’t Borrow Anymore Today

12

Page 13: 06 AE 2013 E3 Licensing

© Zuken

How to Borrow a License

• List Currently Borrowed FeaturesExample:

List All Currently Borrowed Features========Vendor Feature Expiration______ ________ __________ECADLM E3cable 21-Jun-13 09:59ECADLM E3panel 21-Jun-13 09:59ECADLM E3wire 21-Jun-13 09:59ECADLM E3formboard 21-Jun-13 09:59ECADLM E3pdf 21-Jun-13 09:59ECADLM E3ImportRuplan 21-Jun-13 09:59ECADLM E3exportEXF 21-Jun-13 09:59ECADLM E3cgm 21-Jun-13 09:59ECADLM E3_MIL_Standard 21-Jun-13 09:59ECADLM E3importSTEP 21-Jun-13 09:59

13

Page 14: 06 AE 2013 E3 Licensing

© Zuken

How to Borrow a License

• Borrowed features can also be verified in the RegistryHKCU\Software\Flexlm License Manager\Borrow

14

Page 15: 06 AE 2013 E3 Licensing

© Zuken

How to Borrow a License

• Return borrowed license features automatically or earlier8. Feature Name

9. Return Borrowed License Early

15

Page 16: 06 AE 2013 E3 Licensing

© Zuken

Troubleshooting – General Information

• Check license file

• Node-locked license or Floating license

• MAC-Address or Dongle

• Correct reasons for refusal?– Max. number of licenses reached– Feature not in license file– Version mismatch (Version of E3 > Version in license file)– Option file restriction

16

Page 17: 06 AE 2013 E3 Licensing

© 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

Page 18: 06 AE 2013 E3 Licensing

© 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

Page 19: 06 AE 2013 E3 Licensing

© Zuken

Troubleshooting – Check Port

• Check port with telnet in command windowIf port is blocked, the error message “Connect failed” appears

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

19

Page 20: 06 AE 2013 E3 Licensing

© Zuken

Troubleshooting – Check Port

• Telnet on Windows 7 usually not activatedActivation in Windows Control Panel

20

Page 21: 06 AE 2013 E3 Licensing

© 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

Page 22: 06 AE 2013 E3 Licensing

© 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 featuresExample:

10:58:51 (lmgrd) pid 277210: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.dat10:58:51 (lmgrd) lmgrd tcp-port 2700010: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 5151522

Page 23: 06 AE 2013 E3 Licensing

© 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 numbersExample:

10:52:15 (ECADLM) OUT: "E3cable" manne@Ulm0019 10:58:13 (ECADLM) IN: "E3cable" manne@Ulm001911: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

Page 24: 06 AE 2013 E3 Licensing

© 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 E3cable13:36:27 (ECADLM) EXCLUDE USER manne from E3schema13:36:27 (ECADLM) RESERVING 1 E3cable/DA19586F3CB3 license

for USER_GROUP cabling13:36:27 (ECADLM) RESERVING 1 E3cable/DA19586F3CB3 license

for USER_GROUP schematic13: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.log13:36:27 (ECADLM) Logfile switching to

D:\E3_Support\Test.log24

Page 25: 06 AE 2013 E3 Licensing

© Zuken

How to Read the Server Log File

• Information from the Debug log file:Process/ shut down messagesExample:

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 down11:09:19 (lmgrd) Shut down FLEXnet ECADLM license server

system on machine ULM007811:09:19 (ECADLM) daemon shutdown requested - shutting down19:31:35 (lmgrd) Shutting down ECADLM pid=2768 because of

signal 1519:31:35 (ECADLM) Shutdown requested from SYSTEM@ULM0078

IP=10.3.2.1119:31:35 (lmgrd) EXITING DUE TO SIGNAL 15

25

Page 26: 06 AE 2013 E3 Licensing

© 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

Page 27: 06 AE 2013 E3 Licensing

?Questions© Zuken27

Page 28: 06 AE 2013 E3 Licensing

© Zuken