31
© 2013 CENIT AG Licensing of CENIT products with FLEXlm and FLEXnet publisher

Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Embed Size (px)

Citation preview

Page 1: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

© 2013 CENIT AG

Licensing of CENIT products withFLEXlm and FLEXnet publisher

Page 2: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, ormechanical, including photocopying, recording, taping, or information storage and retrieval systems - without thewritten permission of the publisher.

Products that are referred to in this document may be either trademarks and/or registered trademarks of therespective owners. The publisher and the author make no claim to these trademarks.

While every precaution has been taken in the preparation of this document, the publisher and the author assume noresponsibility for errors or omissions, or for damages resulting from the use of information contained in thisdocument or from the use of programs and source code that may accompany it. In no event shall the publisher andthe author be liable for any loss of profit or any other commercial damage caused or alleged to have been causeddirectly or indirectly by this document.

Printed: July 2013 in Stuttgart/Germany

Licensing of CENIT products with FLEXlm andFLEXnet publisherRevision: V1R1

© 2013 CENIT AG

Page 3: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

iContents

© 2013 CENIT AG

Table of Contents

...................................................................................................... 1Part I Introduction

......................................................................................................................... 11 FLEXlm and FLEXnet Publisher problem

......................................................................................................................... 12 Licensing of CENIT products

......................................................................................................................... 23 Download and Overview of platforms

...................................................................................................... 4Part II Requirements

......................................................................................................................... 41 Nodelocked licenses

......................................................................................................................... 42 Floating licenses

......................................................................................................................... 43 Structure of a license file

......................................................................................................................... 64 Use of multiple Vendordaemons

......................................................................................................................... 85 Identifying the HostID

...................................................................................................... 9Part III Windows Operating System

......................................................................................................................... 91 Client configuration

.......................................................................................................................... 9Applying a license

......................................................................................................................... 112 Server Configuration

.......................................................................................................................... 12Configuration of the license file

.......................................................................................................................... 13Installation of the license server

.......................................................................................................................... 15Using floating licenses on the client

......................................................................................................................... 163 Rebuild existing licenses

.......................................................................................................................... 16Import new nodelocked-licenses

.......................................................................................................................... 17Import new floating-licenses

...................................................................................................... 18Part IV Operating System: UNIX

......................................................................................................................... 181 Installation of the license server

...................................................................................................... 20Part V Trouble Shooting

......................................................................................................................... 201 FLEXlm on Windows 7

......................................................................................................................... 212 License and license feature available?

......................................................................................................................... 223 Which license is in use?

......................................................................................................................... 244 Checking the license server

.......................................................................................................................... 26Checking the licensing on the client

......................................................................................................................... 285 Special configuration with Windows 64bit and CATIA/DELMIA 32bit

Page 4: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Introduction1

© 2013 CENIT AG

1 Introduction

CENIT software products use FLEXnet by Flexera Software for software security. This appliesboth to nodelocked licenses, which are applied to specific local computers, and floatinglicenses for license distribution in a network.

1.1 FLEXlm and FLEXnet Publisher problem

The licensing software FLEXlm, now FLEXnet Publisher, is also subject to a product cycleand new versions and releases are regularly published.

Due to the fact that FLEXlm isn't available for the operating system Windows XP 64bit, thedecision was made to switch to the next version of FLEXlm, which is now called FLEXnetPublisher.

1.2 Licensing of CENIT products

The following table shows each CENIT product and its license system:

Licensing CENIT ProductsFLEXlm FLEXnet Publisher

FASTPOST (CPOST) until Version 1 Release 8 from Version 1 Release 9

FAST4AXES (CUT4AXES) until Version 5 Release 7 from Version 5 Release 8

FASTELECTRODE

(DIE SINKING ELECTRODE)

until Version 2 Release 1Sp1

from Version 2 Release 1 Sp2

FASTCURVE until Version 3 Release 6 from Version 3 Release 7

FASTTIP (FASTIP) until Version 3 Release 6 from Version 3 Release 7

FASTTRIM (FASTRIM) until Version 3 Release 6 from Version 3 Release 7

FASTSURF - from Version 1 Release 1

FLEXPLUS until Version 3 Release 2 from Version 3 Release 3

FASTTRIMSTEEL

(TRIM STEEL EXPERT)

until Version 1 Release 1 from Version 1 Release 2

Page 5: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

2

© 2013 CENIT AG

Introduction

1.3 Download and Overview of platforms

FLEXnet Publisher:

The following license server platforms are available for download at CENIT Extranet:

Windows 32bit

Windows 64bit

AIX V4 32bit (rs6000_u3)

AIX V5 32bit (ppc_u4)

AIX V5 64bit (rs64_u5)

HP-UX 32bit (hp700_u11)

IRIX 32bit (sgi32_u6)

Solaris 32bit (sun4_u7)

All packets contain at least three binaries (programs):

UNIX Windows Description

cenitd cenitd.exe CENITD-Vendordaemon

lmgrd lmgrd.exe FLEXnet Publisher License Server

lmutil lmutil.exe FLEXnet Publisher Tool

- lmtools.exe FLEXnet Publisher Configuration

FLEXlm:

The following license server platforms are available for download at CENIT Extranet:

Windows 32bit

AIX V4 32bit (rs6000_u3)

HP-UX 32bit (hp700_u11)

IRIX 32bit (sgi32_u6)

Solaris 32bit (sun4_u7)

Page 6: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Introduction3

© 2013 CENIT AG

All packets contain at least three binaries (programs):

UNIX Windows Description

cenit cenit.exe CENIT-Vendordaemon

lmgrd lmgrd.exe FLEXlm-License Server

lmutil lmutil.exe FLEXlm Tool

- lmtools.exe FLEXlm Configuration

Important:

FLEXlm:

For the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration) the cenit-Daemon has to be used at all times.

FLEXnet Publisher:

For the use of FLEXnet Publisher, "cenitd" must be found in the license file, and for floating-licenses (see Server Configuration) the cenitd-Daemon has to be used at all times.

In the following manual "cenit" is used for FLEXlm and "cenitd" for FLEXnet Publisher.

Important:

For parallel use of FLEXlm and FLEXnet Publisher, FLEXnet Publisher version 10 or highermust be used. This version can handle both FLEXlm and FLEXnet Publisher licenses. It onlyhas to be ensured that both Daemons, cenit and cenitd will be installed on the license server!The program lmgrd of FLEXnet Publisher will then start both Daemons automatically.

Page 7: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

4

© 2013 CENIT AG

Requirements

2 Requirements

For the use of FLEXlm or FLEXnet Publisher, a few basic requirements must be met. Theywill be explained below.

2.1 Nodelocked licenses

In this case a license for a CENIT product (i.e. FASTTRIM, FAST4AXES, FLEXPLUS,...) willbe applied to a single client computer. If a hardware change is necessary, a new license isrequired. To generate a license, CENIT needs some information. How to identify it is explainedin chapter "Identifying the HostID"

2.2 Floating licenses

In this case the license(s) are not bound to a single computer, but a license server provides aspecific amount of licenses. These can be used by any computer in the network (clients). Thesimultaneous use of active clients is limited by the acquired license. To generate a license filefor a floating-mechanism CENIT needs to know the HostID of your license server. How toidentify it is explained in chapter "Identifying the HostID"

For the use of floating licenses a service has to be installed on a server and the clients needto define a port that points to that server.

How to configure this service is explained in "Server Configuration".

2.3 Structure of a license file

Example of a FLEXlm nodelocked license file:

INCREMENT FASTRIM_ADV cenit 1.000 28-feb-2009 uncounted \

41F14101B82F01941184 HOSTID=001731f4b0db ck=155

INCREMENT CPOST_LCT_RAPIDO cenit 1.000 28-feb-2009 uncounted \

61D171518D4D25B784D4 HOSTID=001731f4b0db ck=231

Example of an FLEXnet Publisher floating license file:

SERVER server 57841b4c 19632

DAEMON cenitd /opt/macrovision/FLEXnet/cenitd

INCREMENT FLEXPLUS cenitd 1.000 31-dec-2008 20 SIGN="1EF9 9BAE \

211F 36E9 0853 EFCA C5AF 1121 2C75 062F 3794 FDD5 FA9F 96FC \

EBDF 1964 5AE0 CE32 6B95 70D1 89BD 911E 9B7D 19A2 F1B6 C6D1 \

D513 0D52 9CB1 FE22"

#NOTE: You can edit the hostname on the server line (1st arg),

# the port address on the server line (3rd arg), the path

# to the daemon on the daemon line (2nd arg), or any

# right-half of a string (b) of the form a=b where (a) is all

# lowercase. (For example, xxx in vendor_info=xxx can be

# changed). Any other changes will invalidate this license.

A floating license file contains at least one row which starts with the keyword SERVER. Thisrow contains the hostname (in this example server), the HostID (in this eample 57841b4), andthe port (in this example 19632) to contact the license server. At this point the port can bechanged, the hostname must be changed accordingly to the actual hostname.

Page 8: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Requirements5

© 2013 CENIT AG

Attention:

For a license cluster there are multiple rows for SERVER available, because all used serversfor the cluster (normally three) must be added.

The row with the keyword DAEMON (alternatively VENDOR) defines which Vendor-Daemonis available on this server and its location. The path has to be edited if the installation wasdone into a different directory (in this example /opt/macrovision/FLEXnet/cenitd).

Floating and Nodelocked:

The rows starting with INCREMENT (alternatively FEATURE) contain the real licenses.

No changes must be made here or the license becomes invalid!

Example for an INCREMENT row:

INCREMENT FLEXPLUS cenitd 1.000 31-dec-2008 20 SIGN="1EF9 9BAE \

211F 36E9 0853 EFCA C5AF 1121 2C75 062F 3794 FDD5 FA9F 96FC \

EBDF 1964 5AE0 CE32 6B95 70D1 89BD 911E 9B7D 19A2 F1B6 C6D1 \

D513 0D52 9CB1 FE22"

Explanation of the whole row:

INCREMENT Keyword

FLEXPLUS Featurename

cenitd Name of Daemon

1.000 Versionnumber of the license feature

31-dec-2008 Expiration date of license

20 Amount of available licenses

Rest Encrypted part of the license

Page 9: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

6

© 2013 CENIT AG

Requirements

2.4 Use of multiple Vendordaemons

On a license server multiple Vendor Daemons can be used.

It is Important to know which version(s) of the lmgrd and lmutil programs have to be used. Forthis, the command lmutil lmver <vendordaemon> shows the version which should be used. Ifthe command returns no versions the used program version is definitely not up-to-date.Normally the corresponding programs are distributed with the Vendor Daemon.

The CENIT-Daemons need to be versions (below) or higher:

cenit 8.2a

cenitd 10.8.0.7

The implementation can be done in two ways.

The easiest way is to create a license file which contains all licenses with their correspondingDaemon information. Then all license features can be accessed by one port. Both programs lmgrd and lmutil have to be at least the version of the newest Vendor Daemon. There is onlyone call of lmgrd needed to start all Vendor Daemons.

Example of a license file:

SERVER server 57841b4c 19632

DAEMON cenit /opt/macrovision/flexlm/cenit

INCREMENT FLEXPLUS cenit 1.000 31-dec-2008 20 7121B1319F0BE2CD1D03 \

ck=245

DAEMON cenitd /opt/macrovision/flexnet/cenitd

INCREMENT FLEXPLUS cenitd 1.000 31-dec-2008 20 BORROW SIGN="1EF9 9BAE \

211F 36E9 0853 EFCA C5AF 1121 2C75 062F 3794 FDD5 FA9F 96FC \

EBDF 1964 5AE0 CE32 6B95 70D1 89BD 911E 9B7D 19A2 F1B6 C6D1 \

D513 0D52 9CB1 FE22"

#NOTE: You can edit the hostname on the server line (1st arg),

# the port address on the server line (3rd arg), the path

# to the daemon on the daemon line (2nd arg), or any

# right-half of a string (b) of the form a=b where (a) is all

# lowercase. (For example, xxx in vendor_info=xxx can be

# changed). Any other changes will invalidate this license.

Start command:

/opt/macrovision/flexnet/lmgrd –c /opt/macrovision/flexnet/license.dat

Alternatively a seperate license file for each Vendor Daemon can be used. All VendorDaemons have to be configured with a different port. Both programs lmgrd and lmutil have tobe at least at the version of the newest Vendor Daemon. Each Vendor Daemon has to bestarted with the corresponding lmgrd.

Page 10: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Requirements7

© 2013 CENIT AG

Example (license file 1):

SERVER server 57841b4c 19632

DAEMON cenit /opt/macrovision/flexlm/cenit

INCREMENT FLEXPLUS cenit 1.000 31-dec-2008 20 7121B1319F0BE2CD1D03 \

ck=245

#NOTE: You can edit the hostname on the server line (1st arg),

# the port address on the server line (3rd arg), the path

# to the daemon on the daemon line (2nd arg), or any

# right-half of a string (b) of the form a=b where (a) is all

# lowercase. (For example, xxx in vendor_info=xxx can be

# changed). Any other changes will invalidate this license.

Start command:

/opt/macrovision/flexlm/lmgrd –c /opt/macrovision/flexlm/license.dat

Example (license file 2):

SERVER server 57841b4c 19633

DAEMON cenitd /opt/macrovision/flexnet/cenitd

INCREMENT FLEXPLUS cenitd 1.000 31-dec-2008 20 BORROW SIGN="1EF9 9BAE \

211F 36E9 0853 EFCA C5AF 1121 2C75 062F 3794 FDD5 FA9F 96FC \

EBDF 1964 5AE0 CE32 6B95 70D1 89BD 911E 9B7D 19A2 F1B6 C6D1 \

D513 0D52 9CB1 FE22"

#NOTE: You can edit the hostname on the server line (1st arg),

# the port address on the server line (3rd arg), the path

# to the daemon on the daemon line (2nd arg), or any

# right-half of a string (b) of the form a=b where (a) is all

# lowercase. (For example, xxx in vendor_info=xxx can be

# changed). Any other changes will invalidate this license.

Start command:

/opt/macrovision/flexnet/lmgrd –c /opt/macrovision/flexnet/license.dat

Page 11: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

8

© 2013 CENIT AG

Requirements

2.5 Identifying the HostID

The licensing-mechanism uses the HostID (also known as MAC-Address). It is unique foreach network card worldwide.

The easiest way to identify the HostID is by using the provided Tools by FLEXnet Publisher. Ata Windows Command Prompt or UNIX-Shell, the below code has to be executed:

lmutil lmhostid

The output should look like below:C:\>lmutil lmhostid

lmutil - Copyright (c) 1989-2003 by Macrovision Corporation. All rights reserved.

The FLEXlm host ID of this machine is "0011114d7697"

Windows supports a second way. The command "ipconfig -all" in a Windows CommandPrompt displays the below information, of which only the "Physical Address" is relevant.

C:\>ipconfig -all

Windows-IP-Konfiguration

Hostname. . . . . . . . . . . . . : xxxxxxxx

Primäres DNS-Suffix . . . . . . . : de.cenit-group.com

Knotentyp . . . . . . . . . . . . : Hybrid

IP-Routing aktiviert. . . . . . . : Nein

WINS-Proxy aktiviert. . . . . . . : Nein

DNS-Suffixsuchliste . . . . . . . : de.cenit-group.com

Ethernetadapter LAN-Verbindung:

Verbindungsspezifisches DNS-Suffix: de.cenit-group.com

Beschreibung. . . . . . . . . . . : Broadcom NetXtreme 57xx Gigabit Controller

Physikalische Adresse . . . . . . : 00-11-11-4D-76-97

DHCP aktiviert. . . . . . . . . . : Ja

Autokonfiguration aktiviert . . . : Ja

IP-Adresse. . . . . . . . . . . . : xx.x.xx.xxx

Subnetzmaske. . . . . . . . . . . : xxx.xxx.xxx.x

Standardgateway . . . . . . . . . : xx.x.xx.xxx

DHCP-Server . . . . . . . . . . . : xx.x.x.x

DNS-Server. . . . . . . . . . . . : xx.x.x.x

xx.x.x.x

Primärer WINS-Server. . . . . . . : xx.x.x.x

Sekundärer WINS-Server. . . . . . : xx.x.x.x

Lease erhalten. . . . . . . . . . : Tuesday, January 29, 2008 8:25:30 AM

Lease läuft ab. . . . . . . . . . : Wednesday, February 06, 2008 8:25:30 AM

Page 12: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Windows Operating System9

© 2013 CENIT AG

3 Windows Operating System

The following pages explain how to install FLEXlm or FLEXnet Publisher licenses on aWindows Operating System.

3.1 Client configuration

There are two ways to apply licenses to the CENIT products.

The setup for nodelocked and floating licenses is nearly identical. Differences are explained inthe following description.

3.1.1 Applying a license

1. Possibility:

CATIA- / Delmia-based CENIT products

Here it is sufficient to add the environment variables to the corresponding CATIA/DELMIA-Environment with the license file or a link to the license server.

For FLEXnet Publisher those are:

LM_LICENSE_FILE or CENITD_LICENSE_FILE

For FLEXlm those are:

LM_LICENSE_FILE or CENIT_LICENSE_FILE

Example for nodelocked-licenses:

CENITD_LICENSE_FILE=C:\Programs\Cenit\license.dat

Example for floating-licenses:

CENITD_LICENSE_FILE=19632@lulu

2. Possibility (FLEXlm License Finder):

At the first start of your purchased software below dialogue shows up:

Page 13: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

10

© 2013 CENIT AG

Windows Operating System

The option "Specify the License File" has to be selected for nodelocked- and the option"Specify the License Server System" for floating licenses.

Continue with the "Next"-Button.

Another dialogue shows up.

For the case of nodelock the license file must be selected with the "Browse"-Button in anexplorer-like dialogue.

Example nodelocked-license:

„Port@License-Server"-Syntax:

In case of floating the TCP/IP-Port followed by a „@“-Symbol and the name of the licenseserver must be inserted.

Matching the example of chapter „Configuration of the license file", the correct entry would be19632@lulu.

Page 14: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Windows Operating System11

© 2013 CENIT AG

Example floating-licenses:

After confirmation the below dialogue appears:

The entry and the licensing is now complete. The name and path to your license file or thelicense server's link is stored at the Windows Registry.

3.2 Server Configuration

In case of floating-License you have to configure a license server.

This will be shown below in detail.

Page 15: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

12

© 2013 CENIT AG

Windows Operating System

3.2.1 Configuration of the license file

Change the license file as shown below:

# FLEXlm licenses

SERVER lulu 0002b399dbdf 19632

DAEMON cenit C:\Cenit\Software\Flexlm\cenit.exe

INCREMENT FASTRIM_STD cenit 1.000 31-dec-2008 20 C151F121DE555AFBF194 \

ck=240

INCREMENT CPOST_LCT_TLC1005 cenit 1.000 31-dec-2008 20 \

C15171814466B95F8A79 ck=170

INCREMENT CPOST_LCT_TLC1005_6X cenit 1.000 31-dec-2008 20 \

01E1A1C11517ED1A016A ck=212

# FLEXnet Publisher licenses

DAEMON cenitd C:\Cenit\Software\FLEXnet\cenitd.exe

INCREMENT FASTRIM_STD cenitd 1.000 31-dec-2008 20 BORROW SIGN="18B3 \

1C7D 4217 BC40 1B20 76A8 CA5C C6DA C08B FAF1 03E3 E7BD 27DC \

FF85 4C5E 1C0D B214 DCB6 4B86 1A4F 1465 478E 7E66 4E61 A630 \

A308 881A E908 D652 014B"

INCREMENT CPOST_LCT_TLC1005 cenitd 1.000 31-dec-2008 20 BORROW \

SIGN="1650 1800 B15D 53AD 00B8 3249 6679 7C35 EE2D 5C98 D249 \

DCE1 8AA3 F747 5354 13BD 51A7 F5A7 D0A5 EEB6 5924 3490 997F \

387F 1DB8 D126 FBFD 5B14 BBD5 E771"

INCREMENT CPOST_LCT_TLC1005_6X cenitd 1.000 31-dec-2008 20 BORROW \

SIGN="01C6 335E E4CB 48F1 CA72 D4AA 1BA1 670B 7352 8A34 718F \

F244 A0F7 C9DA 0A60 06D7 80B7 ECCD 483E 89C2 FD5E EFB9 4C4B \

17D6 2E6F 74A1 8FE1 5D7D 69BC CC8C"

#NOTE: You can edit the hostname on the server line (1st arg),

# the port address on the server line (3rd arg), the path

# to the daemon on the daemon line (2nd arg), or any

# right-half of a string (b) of the form a=b where (a) is all

# lowercase. (For example, xxx in vendor_info=xxx can be

# changed). Any other changes will invalidate this license.

In the first line (SERVER-line) you can find the Keyword SERVER, after that the name of thelicense server (lulu), HostID (0002b399dbdf) and the TCP/IP-Port (19632).

Important:

Make sure, that the Server-Name here accords to your license server (The server must beavailable through ping-Command over the Network).

Alternatively you can type in the IP-Address of the license server.

Also adjust the TCP/IP-Port to your needs. Port numbers can only be assigned once.

In the following lines you find information's about the DAEMON (alternative VENDOR) and theINCREMENT-lines (alternative FEATURE) and the information's about the end of the license.

DAEMON cenit: Type in the absolute Path to cenit/cenit.exe:

DAEMON cenit C:\Cenit\Software\Flexlm\cenit.exe

Page 16: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Windows Operating System13

© 2013 CENIT AG

DAEMON cenitd: Type in the absolute Path to cenit/cenitd.exe:

DAEMON cenitd C:\Cenit\Software\FLEXnet\cenitd.exe

3.2.2 Installation of the license server

Important:

To install and configure a license server, you require administrator authorization on thelicense server.

FLEXlm or FLEXnet Publisher Software:

To install and configure you have to download the FLEXnet Publisher package from theCENIT Exranet Portal (http://extranet.cenit.de -> "Download" -> FLEXnet Publisher /FLEXlm). Download the FLEXnet or FLEXlm files appropriate for your server operationsystem.

This package contains the program lmtools.exe, which can setup and administrate the licenseservice.

The following steps are necessary:

Start the configuration program "lmtools.exe"

Choose the option "Configuration using Services":

Page 17: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

14

© 2013 CENIT AG

Windows Operating System

After that choose the tab "Config Services":

Insert the name of the service (e.g. CENIT) and the paths to the "lmgrd.exe" file, license fileand to the log file:

Page 18: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Windows Operating System15

© 2013 CENIT AG

Important:

In the log file you can find hints in case there are problems when starting the service (seealso „Checking the license server").

Check both options "Use Services" and "Start Server at Power Up". The option "Start Serverat Power Up" will only be available when the option "Use Services" is checked. With it thelicence server starts automatically and is available. Save the settings by clicking "SaveService" and confirm the question with "YES".

At the first installation the server must be started manually. For this choose the tab "Start/Stop/Reread". There you can find the configured server. Click on the button "Start Server";alternatively you can restart the computer.

Afterwards the message "Server Start Successful" is shown in the status bar.

The installation is completed and the clients can use the licenses.

3.2.3 Using floating licenses on the client

To use the available licenses, the clients have to run the same Steps as with nodelocked-linceses. See also the description „Client configuration".

Page 19: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

16

© 2013 CENIT AG

Windows Operating System

3.3 Rebuild existing licenses

In normal cases, licenses of CENIT Products are valid for 1 year. Customers are sent newlicense files before the license expires.

Important:

The old license file should be backed up (e.g. copy to license_old.dat)

Then the new license file will be renamed to the old name of the old license file (e.g license.dat).

The new license file will be saved in the same directory as the old license file.

3.3.1 Import new nodelocked-licenses

In case of nodelocked-licenses, no more steps are necessary.

If unexpected problems appear, the licensing can be checked by reading „Checking thelicensing on the client".

Page 20: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Windows Operating System17

© 2013 CENIT AG

3.3.2 Import new floating-licenses

First change the new license file as described in „Configuration of the license file".

The new license file can be read with the program "lmtools.exe".

For this purpose choose the Tab "Start/Stop/Reread". Click the Button "ReRead License File".The license file will be read again. The message "Reread Server License File Completed" isshown on the status bar. The new license can be used now.

If unexpected problems appear, the licensing can be checked by reading „Checking thelicensing on the client".

Page 21: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

18

© 2013 CENIT AG

Operating System: UNIX

4 Operating System: UNIX

The following shows, how to configure FLEXnet Publisher License server with UNIX.

4.1 Installation of the license server

The installation must be done by root user.

1. Download the tar.gz-File and copy it to the Server (e.g. /tmp).

2. Create directory target path /opt/macrovision/FLEXnet (if not exists).mkdir /opt/flexera/FLEXnet

3. Change directory to the target path and unpack the tar.gz-File.cd /opt/flexera/FLEXnet

gzip –dc <Pfad>/<File>.tar.gz | tar xvf -

(e.g. gzip –dc /tmp/rs64_u5.tar.gz | tar xvf -)

4. Determine the Servers HostID../lmutil lmhostid

The output shows an 8-digit unique hexadecimal HostID

5. Determine the servers hostname.hostname

6. Request the product licenses with the hostname and hostid at CENIT

7. To start automatically after rebooting the Computer:Create a Script which can be arranged like this:

#!/bin/ksh

DIR=/opt/flexera/FLEXnet

${DIR}/lmgrd –c ${DIR}/license.dat –l ${DIR}/FLEXnet.log

For a different path of intallation the variable DIR must be edited.If the license server should not be executed as root, row 3. must be changed to: nohup su<user> -c "<3.Row>"

a. With AIX the script can have any name (z.B. /etc/rc.FLEXnet) and is added to /etc/inittab

mkitab "FLEXnet:2:once:/etc/rc.FLEXnet >/dev/null 2>&1"

The file /etc/inittab should not be edited directly, because wrong input can lead to themachine being unable to boot anymore. The command mkitab does a syntax check and

Page 22: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Operating System: UNIX19

© 2013 CENIT AG

only changes the file if its correct.

b. With HP-UX the script has to be saved at /sbin/init.d/cenitd .After that the call mustbe linked at the corresponding runlevel.ln –s /sbin/init.d/cenitd /sbin/rc2.d/S999cenitd

c. With IRIX and Solaris the script has to be saved at /etc/init.d/cenitd . After that thecall must be linked at the corresponding runlevel.ln –s /etc/init.d/cenitd /etc/rc2.d/S99cenitd

8. Copy the provided license file to /opt/macrovision/FLEXnet/license.dat . The file can beconfigured like in „Structure of a license file" explained.

9. Execute the created script at point 7 to start the license server.

10.For checking the license server the following commands are useful:

a. ps –ef | grep –i FLEXnetmust return (at least) following results:/opt/flexera/FLEXnet/lmgrd -local -c /opt/flexera/FLEXnet/license.dat

-l /opt/flexera/FLEXnet/FLEXnet.log

cenitd -T <hostname> 10.8 3 -c /opt/flexera/FLEXnet/license.dat

--lmgrd_start <target-id>

b. /opt/flexera/FLEXnet/lmutil lmdiagdisplays which licenses can be checked-out

c. /opt/flexera/FLEXnet/lmutil lmstat –adisplays the status of each license

d. The logfile /opt/flexera/FLEXnet/FLEXnet.log contains errors if any have happened.

Maybe "-c /opt/flexera/FLEXnet/license.dat" has to be added to command b and c. It isnecessary if other license servers are running on the machine or the environment variableLM_LICENSE_FILE points to a different port or an other license file.

Page 23: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

20

© 2013 CENIT AG

Trouble Shooting

5 Trouble Shooting

The following shows known problems with the configuration of FLEXlm and FLEXnetPublisher.

5.1 FLEXlm on Windows 7

If you have problems with FLEXlm on Windows 7 please try to fix your problems with thefollowing solutions.

Windows 7 and Catia-Batch: I4LIB_VERB=YES (Version R19 SP7 or above)

If you are using Windows 7 with CATA R19 SP7 or above and you try to use CATIA-Batcheswith the environment variable I4LIB_VERB set on YES, then the batch won't work. DassaultSystemes does not provide a solution for this problem. The workaround is to copy theMFGBATCH.exe from a R17 in your R19.

FLEXlm or FLEXnet Publisher on Windows 7

If a Windows 7 system has a nodelock/floating-license, the registry entry through the FLEXlm-License-Finder is not working.

If it does not work with FLEXnet Publisher 10.8, please try Version 11.8.

Solution (nodelock): Add the registry entry --> HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm

License Manager --> CENITD_LICENSE_FILE --> <path><name of nodelock license>

Solution (floating): Add the registry entry --> HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm

License Manager --> CENITD_LICENSE_FILE --> <port>@<server name>

Attention: If you are running a 32-bit Software on a 64-bit OS you have to add the "FLEXlmLicense Manager" under "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlmLicense Manager"

Environment Variables

Define CENIT_LICENSE_FILE=xxx or CENITD_LICENSE_FILE=xxx or LM_LICENSE_FILE=xxx as Environment-Variables with the corresponding Value.

Firewall

Please make sure that the "UDP"-Settings is activated on your Port-Approval.

In case this won't work please define two rules:

1. "UDP" and port number

2. "TCP" and port number.

If you still should have trouble, use "All local Ports" instead of one port number.

Page 24: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Trouble Shooting21

© 2013 CENIT AG

5.2 License and license feature available?

If there are any problems using licenses, you must first check the requested license feature tomake sure the license file contains the feature and it is valid.

The license file must contain the keywords INCREMENT and the feature name (e.g. FASTTRIM_ADV, FLEXPLUS or FAST4AXES_AA). Also the date of expiration must be equal orhigher than the current date.

If those conditions are fulfilled, check if the license file is in use. This will be shown in the nextarticle.

Page 25: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

22

© 2013 CENIT AG

Trouble Shooting

5.3 Which license is in use?

The following shows how to check, which license file is in use. It's identical on the Client andon the License server.

Checking the environment variables:

This is how environment variables can be checked in a Windows Command Prompt or a Unixshell:

Windows:

C:\>echo %CENITD_LICENSE_FILE%

C:\Cenit\Software\Flexnet\license.dat

C:\>echo %CENITD_LICENSE_FILE%

C:\Cenit\Software\Flexlm\license.dat

C:\>echo %CENITD_LICENSE_FILE%

19633@licserver

C:\>echo %CENITD_LICENSE_FILE%

19632@licserver

UNIX:

$ echo $CENITD_LICENSE_FILE

/opt/macrovision/flexnet/license.dat

$ echo $CENITD_LICENSE_FILE

/opt/macrovision/flexlm/license.dat

$ echo $CENITD_LICENSE_FILE

19633@licserver

$ echo $CENITD_LICENSE_FILE

19632@licserver

The value must either exactly accord to the License file or the Syntax "Port@LicenseServer"can be used. See also Port@license-server"-Syntax.

Windows allows a second way - the Windows Registry.

Click on the Windows-Desktop the "Start" - Button. Click the Option "Run...". Insert "regedit" inthe Textbox.

Page 26: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Trouble Shooting23

© 2013 CENIT AG

After clicking the "Ok"-Button, the Windows-Registry-Editor shows up.

The saved values are shown in the branch "MyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\FLEXlm License Manager"

Example for nodelocked-Licenses:

Example for floating-Licenses:

If there are any Problems with Licensing, the Windows-Registry should be checked first.

With floating-Licenses, the License server must be checked first. This will be shown in nextarticle.

Page 27: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

24

© 2013 CENIT AG

Trouble Shooting

5.4 Checking the license server

For floating licenses, the Configuration of the Server must be checked at first.

For nodelocked licenses, this article can be skipped. See „Checking the licensing on the client"

There may be problems with the Installation of the license server. Some options are listedbelow.

Is the License server running?

To check the license server, start the Program "lmtools.exe" and switch to tab "Server Diags".Start the diagnostics by clicking the button "Perform Diagnostics".

The diagnostic shows the numbers of licenses in the license file, the position of the license fileor error messages:

Another option is "lmutil".

The following options for diagnostics are possible (Windows Command Prompt or UNIX-Shell):

lmutil lmdiag

lmutil lmstat -a ("-a": show all available information)

Look in the Task Manager (Windows) or with the Command ps (UNIX) to see if the licenseserver is running:

Page 28: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Trouble Shooting25

© 2013 CENIT AG

The Task Manager shows the process "lmgrd.exe" if the License server started.

If a license is requested, the Windows Task Manager shows the cenit.exe or cenitd.exeprocess:

ps-Command with UNIX:

> ps -ef | grep flex

root 6460 9044 0 Feb 19

- 1:47 cenit -T licclst1 10.1 3 -c /opt/macrovision/flexlm/license.dat --lmgrd_start 47baa0d2

root 8784 1 0 Feb 19

- 6:25 /opt/macrovision/FLEXnet/lmgrd

-c /opt/macrovision/FLEXnet/license.dat -l /opt/macrovision/flexnet/flexnet.log

root 9044 1 0 Feb 19

- 3:59 /opt/macrovision/flexlm/lmgrd

-c /opt/macrovision/flexlm/license.dat -l /opt/macrovision/flexlm/flexlm.log

root 9550 8784 0 Feb 19

- 11:09 cenitd -T licclst1 10.8 3 -c /opt/macrovision/flexnet/license.dat --lmgrd_start 47baa0d6

If the license server is still not running, check the access rights of the user who wants to startthe license server.

Page 29: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

26

© 2013 CENIT AG

Trouble Shooting

5.4.1 Checking the licensing on the client

Is a Network connection possible?

The check is done by typing "ping servername" (Important: Same server name as in thelicense file), e.g. "ping lulu":

Positive query:

C:\>ping lulu

Pinging lulu [xxx.xxx.xxx.xxx] with 32 bytes of data:

Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=127

Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=127

Reply from xxx.xxx.xxx.xxx: bytes=32 time<1ms TTL=127

Reply from xxx.xxx.xxx.xxx: bytes=32 time=4ms TTL=127

Ping statistics for xxx.xxx.xxx.xxx:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 4ms, Average = 1ms

Negative query:

C:\>ping lulu2

Ping request could not find host lulu. Please check the name and try again.

It could be, that a firewall blocks the connection.

You can check this by deactivating the firewall on both client and server.

If the connection is now successful the firewall must be configured to allow this connection.

If the connection is still not successful the license server might only response by its IPaddress.

To solve this problem contact the system administrator.

Page 30: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

Trouble Shooting27

© 2013 CENIT AG

Is the amount of available licenses used up?

This can be checked with the tool "lmutil":

Example how to check if the feature "FEATURE_NAME" is available and how often it iscurrently used:

$ lmutil lmstat -f FEATURE_NAME

lmutil - Copyright (c) 1989-2003 by Macrovision Corporation. All rights reserved.

Flexible License Manager status on Wed 2/27/2008 08:38

[Detecting lmgrd processes...]

Users of FEATURE_NAME: (Total of 20 licenses issued; Total of 1 license in use)

"FEATURE_NAME" v1.000, vendor: cenitd

floating license

user1 clientname1 clientname1 (v1.0) (licclst1/27000 1258), start Wed 2/27 7:09

Result:

20 licenses are issued and one is in use by "user1".

If all licenses are in use, no further licenses can be requested. One of the licenses has to bereleased first.

Important:

If none of these methods work for you, contact the CENIT Support Center. Send the log file ofFLEXlm or FLEXnet Publisher and the current license file by E-Mail to [email protected]!

Page 31: Licensing of CENIT products with FLEXlm and ... - Extranet · PDF fileFor the use of FLEXlm, "cenit" must be found in the license file, and for floating-licenses (see Server Configuration)

28

© 2013 CENIT AG

Trouble Shooting

5.5 Special configuration with Windows 64bit and CATIA/DELMIA32bit

Important:

Possibility 2 of Chapter „Applying a license" (FLEXlm License Finder) isn't working anymore.

The Registry entry must be created manually and should look like this:

Key: My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FLEXlm LicenseManager