TS FLEXnet User Guide
TS FLEXnet User Guide
1.14
December 2009
Font Usage
Bold Any text that you see in the user interface appears in bold. This font
is used, for example, for window and dialog box titles, box and
button names, and list items.
Italic bold New terms are in italic bold when they appear in the current context
for the first time.
Monospace Extracts of program code, HTML, or other material that you would
normally edit in a text editor, appear in monospaced font.
This font is also used for file names and folder paths, and for any
text that you should type yourself.
A note draws attention to details that you might easily overlook. It can
also point you to other information in this guide that you might find
useful.
You should always read very important notes and warnings, like this
one. They will help you avoid making serious mistakes, or wasting your
time.
TEKLA STRUCTURES 16 3
Contents
1 Introduction................................................................................................ 7
1.1 FLEXnet licensing system ...................................................................................................................... 7
1.2 Prerequisites for using FLEXnet licensing .............................................................................................. 8
Items provided by Tekla ..................................................................................................................... 8
IT resources check list ....................................................................................................................... 8
Running applications with administrator rights .................................................................................. 9
License server administrator .............................................................................................................. 9
TEKLA STRUCTURES 16 4
6 License deactivation ............................................................................... 29
6.1 Stopping the license server .................................................................................................................. 30
6.2 Deactivating licenses ............................................................................................................................ 30
7 License borrowing................................................................................... 33
7.1 Product ID file ....................................................................................................................................... 33
Using the default product ID file ....................................................................................................... 33
Exporting the product ID file............................................................................................................. 34
7.2 Starting Tekla Structures License Borrow Tool .................................................................................... 34
Selecting language........................................................................................................................... 35
Accessing online help ...................................................................................................................... 36
7.3 Opening the product ID file ................................................................................................................... 36
7.4 Borrowing a license from the license server ......................................................................................... 37
7.5 License information on Tekla Structures License Borrow Tool............................................................. 37
7.6 Returning a borrowed license ............................................................................................................... 38
TEKLA STRUCTURES 16 5
Licenses activated on each user’s computer ................................................................................... 59
Licenses activated on a common server .......................................................................................... 60
10.2 Examples of managing licenses............................................................................................................ 60
Single user using Tekla Structures................................................................................................... 60
Three users using Tekla Structures ................................................................................................. 61
Ten users using Tekla Structures..................................................................................................... 62
Fifty users using Tekla Structures .................................................................................................... 63
11 Troubleshooting ...................................................................................... 65
11.1 Common problems................................................................................................................................ 65
License server installation ................................................................................................................ 66
License activation............................................................................................................................. 66
License borrowing ............................................................................................................................ 69
License deactivation......................................................................................................................... 72
License general usage ..................................................................................................................... 73
LMTOOLS usage ............................................................................................................................. 74
Starting Tekla Structures.................................................................................................................. 76
Options file usage............................................................................................................................. 78
11.2 Configuring Tekla Structures license server manually .......................................................................... 78
11.3 Allowing Tekla Structures license server to operate through firewall.................................................... 81
Allowing exceptions for lmgrd.exe and tekla.exe ............................................................................. 81
Allowing traffic in fixed TCP/IP ports ................................................................................................ 87
11.4 License repairing................................................................................................................................... 92
Repairing the license........................................................................................................................ 93
12 Glossary ................................................................................................... 95
6 TEKLA STRUCTURES 16
1 Introduction
This is the Tekla Structures FLEXnet Licensing User Guide. This guide gives information
on the activation based licensing system that Tekla Structures uses and explains how to install
and set up a license server and manage licenses.
TEKLA STRUCTURES 16 7
Introduction
1.2 Prerequisites for using FLEXnet licensing
There are several things you need to take into account before you start using FLEXnet
licensing.
8 TEKLA STRUCTURES 16
Introduction
The internal firewall of your company (for example, Windows Firewall) must allow the
communication between the server computer and the computers with Tekla Structures. You
must allow the applications tekla.exe and lmgrd.exe to operate through the
firewall. The applications are located in the
..\TeklaStructures\License\Server folder.
• Direct communication to the Internet
Direct communication from the server computer to the Internet needs to be allowed while
the license server at your company contacts the activation server at Tekla. The activation
communication is done using SOAP over HTTP on the TCP/IP port 80. Your firewall
should not block any incoming or outgoing information during the activation. If you need
to know the address of the activation server at Tekla for your firewall settings, you can
check the address in the lat.ini file in the
..\TeklaStructures\License\Server folder.
• System backup settings
If you have an automatic backup and restore system in your company, configure your
system in a way that it does not overwrite your actual Trusted Storage with the backup
copy. Trusted Storage is the place where the licensing info is stored on your server
computer, and it is located in C:\Documents and Settings\All
Users\Application Data\FLEXnet or C:\ProgramData\FLEXnet\,
depending on the operating system.
TEKLA STRUCTURES 16 9
Introduction
10 TEKLA STRUCTURES 16
Introduction
2 Installing the Tekla
Structures license server
The Tekla Structures license server installation package contains the license server files, the
applications for license management and the user guides. To install the license server, run the
installation application available on the Tekla Structures installation DVD. You can also
download the license server installation package with the latest updates from Tekla Extranet.
If you are using other licensing services, you need to stop them before
you install the Tekla Structures license server. When you have completed
installing the Tekla Structures license server, you can restart the other
licensing services.
TEKLA STRUCTURES 16 11
Installing the Tekla Structures license server
3. Select the folder where the license server is installed.
4. Select the setup type.
• The Complete option installs the license server and the FLEXnet documentation in
all the available languages.
• The Custom option installs the license server and the FLEXnet documentation in
the selected languages.
5. Tekla Structures license server is installed.
See also Manually installing Tekla Structures licensing service (p. 13)
12 TEKLA STRUCTURES 16
Installing the Tekla Structures license server
Manually installing Tekla Structures licensing service
If you selected the Manual option for Tekla Structures licensing service installation, two
additional files are installed: installanchorservice.exe and
uninstallanchorservice.exe. You need the files when you manually install or
uninstall FLEXnet Licensing Service.
To finalize the manual licensing service installation:
1. Go to the Start menu and open Command Prompt as Administrator.
2. At the command prompt, enter the following commands.
a cd \TeklaStructures\License\Server
b installanchorservice.exe
The licensing service is installed.
TEKLA STRUCTURES 16 13
Installing the Tekla Structures license server
6. Go to the Start/Stop/Reread tab and click Start Server to start the licensing service.
14 TEKLA STRUCTURES 16
Installing the Tekla Structures license server
Uninstalling the You may need to uninstall the licensing service manually if the automatic uninstallation cannot
licensing service be performed. To manually uninstall the licensing service, stop the Tekla Structures licensing
manually
service in LMTOOLS and run the uninstallanchorservice.exe at the command prompt.
If you upgrade the license server to a newer version, the old license
server version is removed from the computer. Make sure before the
upgrade that all the necessary files from the old version are moved to a
new location so that they do not get lost during the upgrade.
Do not delete texts SERVER and ANY when you enter the host name or IP
address of the license server.
TEKLA STRUCTURES 16 15
Installing the Tekla Structures license server
4. Save the changes and close the text editor.
The port number can be any free port in the range of 1024 - 64000.
Flexera Software recommends using ports in the range of 27000 - 27009.
16 TEKLA STRUCTURES 16
Installing the Tekla Structures license server
If you use a web-based e-mail service, open the e-mail service in Internet
Explorer to save the entitlement certificate. Other web browsers may
convert the EntitlementCertificate.html file into unusable
format.
When you open Tekla Structures License Administration Tool, it detects expired and broken
licenses and asks if you want to repair or deactivate them. If you select Yes, an automatic
deactivation or repair is run.
Notifying the The license server is automatically notified when you activate, deactivate or repair licenses.
license server
You can enable the automatic notification functionality when you start Tekla Structures
License Administration Tool for the first time. You are asked whether you want to
automatically notify the license server about the license changes. To enable the automatic
notification functionality, select Yes.
If needed, you can later modify the notification settings in Actions > Notify Server.
If you do not want that the license server is automatically notified about the license changes,
you need to use LMTOOLS to manually notify the license server after license activations,
deactivations or repairs.
TEKLA STRUCTURES 16 17
Installing the Tekla Structures license server
Do no use the automatic notification functionality if you are using some
other FLEXnet license and license server administration tool, such as
FLEXnet Manager.
Manually notifying the license server about license changes (p. 18)
Selecting language
You can select the language of the user interface.
To select the language:
1. Click Actions > Language....
2. Select the language in the Select Language dialog box and click OK.
3. Restart the application for the selection to take effect.
18 TEKLA STRUCTURES 16
Installing the Tekla Structures license server
2. Select the number of licenses for activation from the Activate list box. You can also type
the number.
You do not need to activate all the licences at once. You can activate part
of the licenses now and part of the licenses later on some other
computer, for example. Different configurations and different versions
need to be selected for activation separately.
TEKLA STRUCTURES 16 19
Installing the Tekla Structures license server
20 TEKLA STRUCTURES 16
Installing the Tekla Structures license server
3 Starting Tekla Structures
with FLEXnet licensing
The instructions provided in this chapter apply to Tekla Structures 14.0 and later versions.
If you installed Tekla Structures and the license server on the same computer, the system
automatically uses the license server on the computer when you start Tekla Structures.
If you installed Tekla Structures and the license server on separate computers, the system asks
you to define the license server that you want to use when you start Tekla Structures for the first
time.
TEKLA STRUCTURES 16 21
Starting Tekla Structures with FLEXnet licensing
The host name you enter here must correspond with the host name
entered in the tekla.lic file on the server computer.
2. If you want to check which licenses are available on the license server, click Check
licenses.
3. Click OK to start Tekla Structures.
You can redefine the license server you want to use by clicking Tools >
Change License Server... in Tekla Structures. The change comes into
effect the next time you start Tekla Structures.
22 TEKLA STRUCTURES 16
Starting Tekla Structures with FLEXnet licensing
4 Starting Tekla Structures
12 and 13 with FLEXnet
licensing
Tekla Structures 14.0 and later versions use the FLEXnet licensing system, but previous
versions of Tekla Structures have used a licensing system which requires the usage of hardware
locks and password files. New service and progress releases enable the usage of the FLEXnet
licensing system also with Tekla Structures versions 12.0, 12.1, 13.0 and 13.1. The releases are
available on Tekla Extranet.
TEKLA STRUCTURES 16 23
Starting Tekla Structures 12 and 13 with FLEXnet licensing
The host name must correspond with the host name entered in the tekla.lic file
on the server computer.
The following formats are valid for defining the license server:
• set XS_LICENSE_SERVER_HOST=@server_host_name
• set XS_LICENSE_SERVER_HOST=@server_host_name.mycompany.com
• set XS_LICENSE_SERVER_HOST=27001@server_host_name
• To use the hardware lock licensing system, type rem before the variable (rem set
XS_LICENSE_SERVER_HOST=port@host).
4. Save the changes and close the text editor.
The changes come into effect the next time you start Tekla Structures.
24 TEKLA STRUCTURES 16
Starting Tekla Structures 12 and 13 with FLEXnet licensing
5 Checking the license
server status and license
information
LMTOOLS is a useful application for checking the license server status and license
information. Tekla Structures License Administration Tool also displays information of
licenses.
TEKLA STRUCTURES 16 25
Checking the license server status and license information
The status list displays the license server status and license usage information. The information
is not updated automatically, so you need to click Perform Status Enquiry to update the status.
There is a limit to the amount of text displayed in the status list. To clear
the list, click Edit > Clear Window.
26 TEKLA STRUCTURES 16
Checking the license server status and license information
Column Description
Activate Used for activating licenses. Displays the number of licenses to be
activated.
Quantity The number of total licenses of the configuration.
Order ID The order ID of the license.
The order ID helps to identify which licenses are linked to each
other and which license needs to be deactivated before a new license
can be activated.
Activation ID The activation ID of the license.
Description The abbreviation of the configuration.
Configuration The name of the configuration.
Version The version number of the configuration.
Start Date The date when the license came into effect.
Expiration Date The date when the license expires. If the license is permanent, the
word permanent is shown instead of the expiration date.
Column Description
Deactivate Used for deactivating licenses.
Trust Status The Host (H), Time (T) and Restore (R) Trust Status. Green symbol
indicates that the information is trusted. Red symbol indicates that
the information is not trusted. If any of these are not trusted, the
license cannot be used.
Host indicates whether the server has been moved from one
computer to another or whether the computer hardware has radically
changed.
Time indicates whether the system clock has been tampered with.
Restore indicates whether the license is obtained from a backup
copy.
Quantity The number of activated licenses of the configuration.
Order ID The order ID of the license.
The order ID helps to identify which licenses are linked to each
other and which license needs to be deactivated before a new license
can be activated.
Activation ID The activation ID of the license.
Product ID The name and version number of the configuration.
Expiration Date The date when the license expires. If the license is permanent, the
word permanent is shown instead of the expiration date.
Borrowed The number of borrowed licenses.
TEKLA STRUCTURES 16 27
Checking the license server status and license information
Column Description
Disabled Indicates whether the license is disabled. For example, a license may
be disabled if there is a disconnection during the activation or
deactivation. A disabled license cannot be used.
Details Indicates whether additional license information is available. Click
28 TEKLA STRUCTURES 16
Checking the license server status and license information
6 License deactivation
Subsequent Tekla Structures licenses are linked to each other. This means that you need to
deactivate the previous licenses in the chain before you can activate the subsequent licenses.
Linking works also the other way around: if you have activated a subsequent license, you
cannot activate the earlier license after that. You need to deactivate different types of temporary
licenses before activating succeeding licenses linked to them. For example, you have to
deactivate a temporary license before activating a permanent license. Also, when renewing the
annual maintenance, for example when you switch from Tekla Structures 14 licenses to Tekla
Structures 15 licenses, you need to deactivate the licenses from the previous year to be able to
activate the licenses for the following year.
You also need to deactivate licenses if you have activated a wrong configuration or too many
configurations. In addition, you need to deactivate licenses before rehosting the license server,
before changing hardware or the IP address on the license server, before reinstalling Windows
on your server computer, or before formatting your server computer. However, you do not need
to deactivate licenses before uninstalling and reinstalling the license server.
When you deactivate licenses, you need to deactivate all the licenses that are displayed on the
same row under the Activated Licenses area. After deactivation you can activate the licenses
on the same or some other server.
Before you deactivate licenses, ensure that the licenses are not in use or
borrowed. The borrowed licenses must be returned before they can be
deactivated.
TEKLA STRUCTURES 16 29
License deactivation
6.1 Stopping the license server
Run LMTOOLS to check the license usage information and stop the license server. To stop the
license server:
1. With administrator rights, click Start > All Programs > Tekla Structures Licensing >
LMTOOLS.
2. Go to the Server Status tab.
3. Click Perform Status Enquiry to check the license server status and license usage
information. There should be zero licenses in use.
30 TEKLA STRUCTURES 16
License deactivation
2. Select the Deactivate checkbox to select the license for deactivation.
If you activated more than one license of the same type in one go, you
cannot deactivate those licenses separately. You need to deactivate all of
those licenses in one go.
TEKLA STRUCTURES 16 31
License deactivation
32 TEKLA STRUCTURES 16
License deactivation
7 License borrowing
You can borrow an activated license from the license server when you want to work offline.
The borrowed license is transferred from the license server to your computer, so it is not
available for other users during the borrowing. You do not need to borrow a license for offline
usage if you have installed a license server on your laptop.
TEKLA STRUCTURES 16 33
License borrowing
If you use the options file for managing license access rights, you must
export a product ID file to be able to borrow licenses.
If the name of the file is standard.tpi and the file is saved in the
..\Tekla Structures\<version>\nt\license folder on
the user’s computer, the file is opened automatically when the user starts
Tekla Structures License Borrow Tool.
You can use the same Tekla Structures License Borrow Tool to borrow
licenses for different Tekla Structures versions.
34 TEKLA STRUCTURES 16
License borrowing
2. Type the host name of the license server in the Server field. You can also type the port
number with the host name. Click OK.
You need to type the same host name in the Connect to License Server
dialog box when you start Tekla Structures.
Selecting language
You can select the language of the user interface.
To select the language:
1. Click Actions > Language....
2. Select the language in the Select Language dialog box and click OK.
3. Restart the application for the selection to take effect.
TEKLA STRUCTURES 16 35
License borrowing
Accessing online help
Use the F1 key to access the online help. Use the following tabs to navigate the online help in
different ways:
• Contents - Online books
• Index - Alphabetical list of keywords
• Search - Use for searching topics
• Favorites - Use for adding topics to your list of favorites.
You do not need an Internet connection to use the online help.
36 TEKLA STRUCTURES 16
License borrowing
7.4 Borrowing a license from the license server
You need to borrow a license on the computer that you will use offline.
Close Tekla Structures on the computer before you borrow the license.
To borrow a license:
1. Click the Borrow Until box and select the exipiration date of the borrowing from the
calendar.
Disconnect your computer from the license server and start Tekla
Structures with the borrowed license to ensure that the borrowing
succeeded.
TEKLA STRUCTURES 16 37
License borrowing
Column Description
Borrow until Used for borrowing licenses.
Product ID The name and version number of the configuration.
Activation ID In Indicates whether the activation ID is used for borrowing. The box is
Use checked only if you are using an exported product ID file.
Column Description
Return Used for returning licenses.
Trust Status The Host (H), Time (T) and Restore (R) Trust Status. Green symbol
indicates that information is trusted. Red symbol indicates that
information is not trusted. If any of these are not trusted, the license
cannot be used.
• Host indicates whether the server has been moved from one
computer to another or the computer hardware has radically
changed.
• Time indicates whether the system clock has been tampered
with.
• Restore indicates whether the license is obtained from a backup
copy.
Product ID The name and version number of the configuration.
Expiration Date The date when the borrowing expires.
Disabled Indicates whether the license is disabled. For example, a license may
be disabled if there is a disconnection during the activation. A
disabled license cannot be used.
Borrowed From The license server from where the license is borrowed.
38 TEKLA STRUCTURES 16
License borrowing
Before you return a borrowed license, you must close Tekla Structures
on your computer.
To return a license:
1. Select the Return checkbox in the Borrowed Licenses area to select the license for
returning.
TEKLA STRUCTURES 16 39
License borrowing
40 TEKLA STRUCTURES 16
License borrowing
8 Usage of LMTOOLS with
Tekla Structures licenses
This chapter provides information on managing Tekla Structures licenses with LMTOOLS, a
license and licensing service management tool provided by Flexera Software. In addition to
Tekla Structures licenses, you can also manage licenses of other software, if they are using
FLEXnet or FLEXlm. You can also run LMTOOLS on the client computers to check the status
of the license usage on the license server.
TEKLA STRUCTURES 16 41
Usage of LMTOOLS with Tekla Structures licenses
8.1 Service/License File tab
You must always have Configuration using Services and Tekla Structures Licensing
Service selected on the Service/License File tab when you manage Tekla Structures licenses.
These options are selected by default during the installation of the Tekla Structures license
server. If you need to configure the license server manually, see Configuring Tekla Structures
license server manually (p. 78).
42 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
8.2 System Settings tab
The System Settings tab displays common device and operating system information about the
computer on which you are running LMTOOLS. All the relevant information on licensing is
available. For example, you can check the host name of your server computer.
TEKLA STRUCTURES 16 43
Usage of LMTOOLS with Tekla Structures licenses
8.3 Utilities tab
You can affect on the information that is displayed in the status list in the Server Status tab by
defining values on the Utilities tab. By default, the status list displays information on all the
license servers you are connected to.
The List All Vendor Paths button lists all the licensing services that are displayed in more
detail in the status list on the Server Status tab.
44 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
To add a licensing service to be listed in the status list, type the vendor information in the
Vendor Name and Path text boxes and click Add Vendor Path.
The vendor name that is used for Tekla Structures license server is
tekla (all letters lowercase).
If you want the status list to display information only on certain license servers, type the vendor
information in the Vendor Name and Path text boxes and then click Override Path to replace
the existing license servers displayed in the status list.
TEKLA STRUCTURES 16 45
Usage of LMTOOLS with Tekla Structures licenses
8.4 Start/Stop/Reread tab
The Start/Stop/Reread tab contains the buttons for stopping and starting the license server.
46 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
When you perform actions concerning the Tekla Structures license
server, Tekla Structures Licensing Service must be active in FLEXnet
license services installed on this computer list. You can select Tekla
Structures Licensing Service from the Service Name list on the
Config Services tab.
Button Description
Start Server Starts the license server selected in the FLEXnet license services
installed on this computer list.
Stop Server Stops the license server. When you click the button, the status bar
displays the message Stopping the Server, and it takes a couple of
seconds to stop the license server. The message does not change
when the server is stopped.
ReRead License Updates the license server without stopping and starting it.
File
Advanced When you click Advanced settings, three advanced options are displayed.
settings
Option Description
Restrict lmdown to When this option is selected, you can stop the server only on
work only from node the server computer. No-one can accidentally stop the license
where lmgrd is running. server on a client computer.
We recommend that you use this option.
Disable lmdown utility, When this option is selected, you cannot stop the server in
use task manager. LMTOOLS. The server can only be stopped in Windows Task
Manager.
Disable ’lmremove’ of This option is not in use in activation-based licensing.
license file.
TEKLA STRUCTURES 16 47
Usage of LMTOOLS with Tekla Structures licenses
8.5 Server Status tab
The Server Status tab displays the status of the license server and the licenses. Here you can
check how many licenses are in use or borrowed.
To see the status of the license server and the licenses, click Perform Status Enquiry.
If you want to check the status of the Tekla Structures licenses only, type
tekla in the Individual Daemon text box.
48 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
Information on license server
TEKLA STRUCTURES 16 49
Usage of LMTOOLS with Tekla Structures licenses
License server with Tekla Corporation identity is up and running.
Information on licenses
The number of the licenses in use; checked out from the license
server or borrowed.
A borrowed license.
On which computer and display the user has checked the license out.
In this case, the user is haka, the computer and display are haka1.
50 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
8.6 Server Diags tab
On the Server Diags tab, you can see same kind of information as in Tekla Structures License
Administration Tool. For more details on the license information displayed in Tekla
Structures License Administration Tool, see License information on Tekla Structures
License Administration Tool (p. 26).
Click Perform Diagnostics to display the diagnostics.
The server diagnostics displays the following information:
TEKLA STRUCTURES 16 51
Usage of LMTOOLS with Tekla Structures licenses
The license server port@host.
52 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
8.7 Config Services tab
The values on the Config Services tab are entered automatically during the installation of the
Tekla Structures license server. However, if you encounter problems during the installation and
the license server does not start automatically, you need to configure the settings manually. For
more information, see Configuring Tekla Structures license server manually (p. 78).
TEKLA STRUCTURES 16 53
Usage of LMTOOLS with Tekla Structures licenses
8.8 Borrowing tab
54 TEKLA STRUCTURES 16
Usage of LMTOOLS with Tekla Structures licenses
9 Managing license access
rights
A license server administrator can define user groups with different access rights by modifying
the options file. For example, a license server administrator can allow or block certain
configurations for certain users and allow or deny the usage of license borrowing.
If you use the options file for managing license access rights, you must
export the product ID file to be able to borrow licenses. For more
information, see Exporting the product ID file (p. 34).
For more information on defining user groups with the options file, see the FLEXnet License
Administration Guide. To open the guide, click Start > All Programs > Tekla Structures
Licensing > License Administration Guide.
TEKLA STRUCTURES 16 55
Managing license access rights
6. Go to the Start/Stop/Reread tab and click the ReRead License File button to update the
changes in the license file.
You can use the host names or IP addresses of the computers with the
HOST and HOST_GROUP keywords.
• Use the proper abbreviations of configurations when you define accesss rights or
limitations for the configurations. For more information on the abbreviations of the
configurations, see Configuration list (p. 57).
• To disable a row in the options file, type # in the beginning of the row.
For more information on the definitions of the options file, see Examples of options file
definitions (p. 58). More examples are available in the FLEXnet Licensing End User Guide.
Keyword list
For examples of using the keywords, see Examples of options file definitions (p. 58).
The following table lists the most common keywords that are used for defining license access
rights and restrictions.
56 TEKLA STRUCTURES 16
Managing license access rights
Keyword Description Usage information
GROUP Define a user group for use Use with Windows user names
with any options. (separated with spaces).
HOST_GROUP Define a host group for use Use with computer host names
with any options. or IP addresses (separated with
spaces).
INCLUDE Allow a user to use a Tekla Use with the abbreviation of
Structures configuration. the configuration.
INCLUDE_ENTITLEMENT Allow a user to borrow a Use with the activation ID of
license. the license.
INCLUDEALL Allow a user to use all Tekla
Structures configurations.
MAX Limit the usage of a Use with the number of
configuration licenses and the abbreviation of
the configuration.
RESERVE Reserve licenses for a user or Use with the number of
a group of users/hosts. licenses and the abbreviation of
the configuration.
Configuration list
When you define access rights for different configurations, you need to use the proper
abbreviations of the configurations. The following table lists the abbreviations and the
configurations.
Abbreviation Configuration
CM-C Construction Management
DEV-C Developer
DFR-C Drafter
EDU-C Educational
FUD-C Full
PCD-C Precast Concrete Detailing
PRM-C Project Manager
RCD-C Reinforced Concrete Detailing
SDE-C Engineering
STD-C Steel Detailing
STDL-C Steel Detailing Limited
VIE-C Viewer
TEKLA STRUCTURES 16 57
Managing license access rights
9.2 Examples of options file definitions
Examples of keywords usage are presented below:
58 TEKLA STRUCTURES 16
Managing license access rights
10 Management of license
usage
The FLEXnet licensing system offers several options for managing licenses. This chapter
provides some examples and recommendations about the ways of managing licenses based on a
company size and the amount of Tekla Structures users. We recommend you to think what kind
of method of license management best suits your needs.
TEKLA STRUCTURES 16 59
Management of license usage
Users have access only to the licenses that are activated on their computers. If a user needs
a license that is activated on another computer, the user needs to use that computer.
Another option is to deactivate licenses on one computer and then activate the licenses on
another computer. Switching from using one license to another requires effort.
60 TEKLA STRUCTURES 16
Management of license usage
Three users using Tekla Structures
There are three Tekla Structures users in a company. The users do not use same Tekla
Structures configurations, so each user installs a license server separately on the user’s own
laptop and activates only the licenses that they need.
• A license server administrator is not needed, the users maintain their license servers.
• Offline usage of Tekla Structures is straightforward, because the users install the license
servers on their laptops.
TEKLA STRUCTURES 16 61
Management of license usage
Ten users using Tekla Structures
There are ten Tekla Structures users in a company. Because there are many users and the users
need to use various configurations, the company uses a common license server.
• The company has an internal policy of license usage. The policy contains regulations of
managing the licenses.
• One of the main users is assigned as a license server administrator. The administrator
installs the license server and informs the other users of the host name and port number of
the server. The license server administrator also performs other server maintenance duties.
• One user travels often and needs Tekla Structures on the journeys. A license server is
installed separately on the user’s computer, so the user does not need to borrow a license or
use a VPN connection for offline usage of Tekla Structures.
• Other users borrow licenses from the license server when they need to use Tekla Structures
offline.
62 TEKLA STRUCTURES 16
Management of license usage
Fifty users using Tekla Structures
There are fifty Tekla Structures users in two separate offices. The both offices have their own
license servers.
• The both offices have assigned license server administrators. The license server
administrators install the license servers and perform server maintenance duties.
• The company has an internal policy of using licenses. The policy contains, for example,
the rules that define who are allowed to borrow licenses.
• Because the amount of Tekla Structures users is large, the license server administrators
create options files to control access rights for different licenses.
• Only a couple of users need to use Tekla Structures offline. The license server
administrators modify the option files to enable the license borrowing only for the users
who need to borrow licenses.
• If one server crashes, the users can connect to the other license server. If there are available
licenses on the license server, the users can use the licenses.
TEKLA STRUCTURES 16 63
Management of license usage
64 TEKLA STRUCTURES 16
Management of license usage
11 Troubleshooting
This chapter provides solutions to common errors encountered in installing and maintaining
the Tekla Structures license server.
TEKLA STRUCTURES 16 65
Troubleshooting
License server installation
Case
Case
Case Problem: License server installation does not finish (no error message).
Reason: Another software using the FLEXnet licensing system is running on the computer.
Solution: Stop all the licensing services in LMTOOLS, then install the Tekla Structures license
server and restart the licensing services you stopped earlier.
License activation
Case
66 TEKLA STRUCTURES 16
Troubleshooting
• Check that your Internet connection is working. An Internet connection is needed during
license activation and deactivation. A low connection speed may also cause errors.
• Your firewall may block the activation communication. Check your firewall settings. For
more information, see IT resources check list (p. 8).
• Your Windows login user name may contain special characters. Try to log in with another
user name, for example, administrator.
If the problem still persists, contact your local Tekla Structures helpdesk for a manual
activation workaround.
Case
Problem: License activation fails and the following message is displayed: "Unable to activate
more licenses than you are entitled to." However, there are free licenses available according to
Tekla Structures License Administration Tool.
Reason: There are a couple of possible reasons for the problem:
• There may be activated licenses on another computer. You cannot activate more licenses
than you are entitled to.
• You tried to activate a renewed temporary license or a permanent license without
deactivating the previous temporary license.
Solution: There are two possible solutions:
• Deactivate a license on another computer and then activate the license on your computer.
• Deactivate the existing temporary license and then activate the succeeding linked license.
TEKLA STRUCTURES 16 67
Troubleshooting
Case
Problem: The amount of activated licenses in Tekla Structures License Administration Tool
and LMTOOLS does not match.
Reason: The licensing service is not updated.
Solution: Reread the license file in LMTOOLS. To do that, open LMTOOLS, go to the Start/
Stop/Reread tab and click ReRead License File.
If you are connected to several license servers, rereading the license file may not work. In that
case, you need to stop the license server and then restart it.
To avoid the problem in the future, make sure the license server is
automatically notified when you activate, deactivate, or repair licenses.
To enable the automatic notification functionality in Tekla Structures
License Administration Tool, go to Actions and select Notify Server.
Case
Problem: License activation fails, and the following message is displayed: "Only deployed line
item can be fulfilled".
Reason: You are trying to activate an obsolete license.
Solution: You should have received a new entitlement certificate from your local Tekla
Structures reseller. Try the activation again with the new entitlement certificate, and move the
old obsolete entitlement certificate in the Archive folder.
68 TEKLA STRUCTURES 16
Troubleshooting
Case
Problem: The activated licenses are not visible and it is not possible to activate new licenses.
The following message is displayed: "Error fetching activated licenses. Initialization of API
failed."
Reason: The installation package has failed to initialize or register some of the software
components.
Solution:
1. Close License Administration Tool.
2. Stop Tekla Structures license server and other license servers on the same computer on the
LMTOOLS > Start/Stop/Reread tab. For more information, see Stopping the license
server (p. 30).
3. Go to ..\TeklaStructures\License\Server folder.
4. Double-click installanchorservice.exe.
5. Start Tekla Structures license server and other license servers on the same computer on the
LMTOOLS > Start/Stop/Reread tab.
Open License Administration Tool. The message should not be displayed anymore.
License borrowing
Case Problem: Unable to select a date from the calendar in the Borrow Until box.
Reason: The maximum borrowing period is one month.
Solution: Select a date that is within one month from the date of borrowing.
Case
TEKLA STRUCTURES 16 69
Troubleshooting
Case
Case
Case
70 TEKLA STRUCTURES 16
Troubleshooting
• Disable the options file. To disable the options file, open the tekla.opt file with a text
editor and type # in the beginning of each row. Then save the changes and reread the
license file in LMTOOLS.
Case
Case
TEKLA STRUCTURES 16 71
Troubleshooting
License deactivation
Case
Case
Case
72 TEKLA STRUCTURES 16
Troubleshooting
Case
Problem: License activation fails, and the following message is displayed: "Only deployed line
item can be fulfilled".
Reason: You are trying to activate an obsolete license.
Solution:You should have received a new entitlement certificate from your local Tekla
Structures reseller. Try the activation again with the new entitlement certificate, and move the
old obsolete entitlement certificate in the Archive folder.
Case
TEKLA STRUCTURES 16 73
Troubleshooting
Case
LMTOOLS usage
Case Problem: Rereading the license file does not take effect.
Reason: Rereading the license file does not work if you are running a licensing service locally
on your laptop and you are connected to another license server at the same time.
Solution: You need to stop and restart the licensing service. Do the following:
1. Open LMTOOLS and go to the Start/Stop/Reread tab.
2. Click Stop Server and wait a few seconds for the service to stop.
3. Click Start Server.
Case
74 TEKLA STRUCTURES 16
Troubleshooting
2. Select Tekla Structures Licensing Service in the Service Name box.
3. Go to the Start/Stop/Reread tab and click Stop Server.
Case
Problem: Starting or stopping the server or rereading the license file cannot be performed.
Reason: You have not selected the licensing service.
Solution: You need to select Tekla Structures Licensing Service as the licensing service. Do
the following:
1. Open LMTOOLS and go to the Config Services tab.
2. Select Tekla Structures Licensing Service in the Service Name box.
Case
Problem: Starting or stopping the server or rereading the license file cannot be performed. The
status list in LMTOOLS indicates that the license server manager (lmgrd) has no been started.
Reason:LMTOOLS points to the wrong lmgrd.
Solution: You need to modify the settings in LMTOOLS. Do the following:
1. Open LMTOOLS and go to the Config Services tab.
TEKLA STRUCTURES 16 75
Troubleshooting
2. Select Tekla Structures Licensing Service in the Service Name box.
3. Click Browse to locate the lmgrd.exe file. By default, the file is installed in the
..\TeklaStructures\License\Server folder.
4. Click Save Service.
5. Go to the Start/Stop/Reread tab and click Stop Server.
6. Click Start Server to restart the server. The changes come into effect.
Case
76 TEKLA STRUCTURES 16
Troubleshooting
Case
Case
TEKLA STRUCTURES 16 77
Troubleshooting
Options file usage
Case Problem: The tekla.opt file does not take effect.
Reason: The licensing service has not read the options file.
Solution: Do the following:
1. Open LMTOOLS, go to the Start/Stop/Reread tab and click ReRead License File.
2. Open the ..\TeklaStructures\License\Server folder and open the
tekla_debug.log file and the tekla.opt file with a text editor.
3. Check that the tekla_debug.log file contains the same keyword syntaxes as the
tekla.opt file.
78 TEKLA STRUCTURES 16
Troubleshooting
7. Select the Use Services checkbox to run the licensing service as a Windows service.
8. Select the Start Server at Power Up checkbox to start the licensing service
automatically after powering up the computer.
9. Click Save Service to save the settings.
TEKLA STRUCTURES 16 79
Troubleshooting
If you run the license server and Tekla Structures on separate computers, type the host
name of the license server, for example, @server_host_name. You can also type the
TCP/IP port of the license server, for example, 27001@server_host_name.
You can also enter several license servers. Separate the server names with a semicolon.
For example, 27001@server_host_name;27001@localhost.
13. Click Override Path.
The status bar should display that server start was successful.
16. Go to the Server Status tab.
80 TEKLA STRUCTURES 16
Troubleshooting
17. Click Perform Status Enquiry.
In the status list, the line License server status displays the TCP/IP port and host name
of the license server. The list should indicate that license server is up and vendor daemon
tekla is up. The list also displays all the activated licenses on the server.
TEKLA STRUCTURES 16 81
Troubleshooting
3. On the Exceptions tab, click Add Program… to open the Add a Program dialog box.
82 TEKLA STRUCTURES 16
Troubleshooting
4. In the Add a Program dialog box, click Browse… and browse for your Server folder.
By default, the path is ...\TeklaStructures\License\Server.
5. In the Server folder, select lmgrd.exe.
TEKLA STRUCTURES 16 83
Troubleshooting
6. Click Open to add lmgrd.exe to the program list in the Add a Program dialog box.
7. In the Add a Program dialog box, select lmgrd.exe and click OK.
84 TEKLA STRUCTURES 16
Troubleshooting
8. To allow the exceptions also for tekla.exe, repeat the steps 3 – 7:
• On the Exceptions tab, click Add a Program.
• Browse for tekla.exe.
TEKLA STRUCTURES 16 85
Troubleshooting
• Select tekla.exe to add it to the program list.
• In the Add a Program dialog box, select tekla.exe to make it appear on the list
of exceptions.
9. Click OK to confirm the changes.
86 TEKLA STRUCTURES 16
Troubleshooting
Allowing traffic in fixed TCP/IP ports
To allow traffic in fixed TCP/IP ports:
1. Make sure that some other software or service does not use the ports that you are about
to set fixed.
Use the command line command netstat to find out which ports are in use.
TEKLA STRUCTURES 16 87
Troubleshooting
2. On the server compute, browse for tekla.lic, and open it using a text editor.
By default, the path is ..\TeklaStructures\License\Server.
3. To set a fixed port for lmgrd.exe, type the TCP/IP port number at the end of the
SERVER row.
The port number can be any free port in the range of 1024 - 64000.
Flexera Software recommends using ports in the range of 27000 - 27009.
4. Type the text port=free_port at the end of the VENDOR row, for example,
port=1234.
88 TEKLA STRUCTURES 16
Troubleshooting
Defining the TCP/IP port number on the VENDOR row may slow down
Tekla Structures start-up.
7. On your server computer, go to Start > Control Panel > Windows Firewall.
8. On the General tab, make sure that you have not selected the Don’t allow exceptions
check box.
TEKLA STRUCTURES 16 89
Troubleshooting
If you have selected the check box, the modifications do not take effect.
9. On the Exceptions tab, click Add Port… to open the Add a Port dialog box.
90 TEKLA STRUCTURES 16
Troubleshooting
11. Click OK to confirm the changes.
lmgrd is added to the list of exceptions.
12. On the Exceptions tab, click again Add Port... to open the Add a Port dialog box.
13. In the Add a Port dialog box:
• In the Name field, type tekla.
• In the Port field, type the TCP/IP port number that you set in step 4.
14. Click OK to confirm the changes.
tekla is added to the list of exceptions.
15. Click OK to confirm the modifications.
TEKLA STRUCTURES 16 91
Troubleshooting
11.4 License repairing
If your licenses have become untrusted or disabled, you need to repair them.
License status is The Restore trust status of your license is not trusted:
untrusted
92 TEKLA STRUCTURES 16
Troubleshooting
License is
disabled
The license server contacts the activation server at Tekla. After successful repairing the
Tekla Structures License Administration Tool dialog box is updated.
Because of technical and security reasons, you can repair a license only a
limited number of times. Therefore it is important that you inform your
local Tekla Structures reseller about the license repairs you have been
performing, and keep count of the repairs.
TEKLA STRUCTURES 16 93
Troubleshooting
94 TEKLA STRUCTURES 16
Troubleshooting
12 Glossary
Activation-based licensing
Activation-based licensing differs from license file-based licensing. Hardware locks and
password files are not needed in activation-based licensing.
In an activation-based licensing system you need to activate your licenses to transfer the
license rights from Tekla to your license server. The activation enables you to use the
licenses.
Activation ID
A key that enables the transferring of license rights. Every license has an activation ID.
Activation IDs are displayed in the entitlement certificate.
Activation server
The activation server at Tekla contains the license rights. When you activate your
licenses, your license server contacts the activation server at Tekla and the license rights
are transferred to your license server.
Configuration
Entitlement certificate
Entitlement certificate contains all the licenses you are entitled to use, and the activation
IDs for the licenses.
Expiration date
TEKLA STRUCTURES 16 95
Glossary
The licensing program provided by Flexera Software. The FLEXnet licensing system is
a completely floating activation-based licensing system.
Host name
License activation
License activation transfers the license rights from Tekla to your license server and
enables you to use the licenses. Internet connection is required during the activation.
License borrowing
You can borrow licenses for offline usage of Tekla Structures. The licenses are borrowed
from the license server to your computer, and nobody else can use the borrowed
licenses.
License deactivation
License deactivation transfers the license rights from your license server back to Tekla.
You need to deactivate licenses if you have activated too many or wrong configurations.
You also need to deactivate temporary licenses before activating permanent licenses.
Rehosting the license server, major hardware changes of the server computer and
formatting the server computer also require license deactivation.
License return
You can return the borrowed license back to the license server before the borrowing
expires. If you do not return the license, it automatically returns back to the license
server at the expiration date.
A person assigned to set up and configure the license server. The license server
administrator also monitors license usage and informs the Tekla Structures users about
the license usage policy of the company.
Options file
License server administrator can create an options file to manage license access rights.
For example, the license server administrator can allow or deny the use of certain
configurations for certain users.
Renewal
TCP/IP port
Trusted Storage
96 TEKLA STRUCTURES 16
Glossary
An encrypted file where your license information is stored.
Trust status
A trust status indicates whether a license is trusted or not trusted. A license that is not
trusted cannot be used.
TEKLA STRUCTURES 16 97
Glossary
Index
a firewalls
exceptions .............................................................81
lmgrd.exe...............................................................81
accessing tekla.exe ................................................................81
help .................................................................18, 36 FLEXnet
activating overview ..................................................................7
licenses ................................................................. 18 starting Tekla Structures .......................................21
starting Tekla Structures 12 and 13 ......................23
b h
borrowing
licenses ...........................................................33, 37 help
accessing ....................................................... 18, 36
c i
configuration list ........................................................... 57
installation
license server ........................................................11
d installing
license server ........................................................11
deactivating
licenses ................................................................. 30 l
e language
selecting ......................................................... 18, 35
license repairing ...........................................................92
entitlement certificate license server ...............................................................13
saving.................................................................... 16 administrator............................................................9
exporting checking status......................................................25
product ID file ........................................................ 34 configuring manually .............................................78
firewall ...................................................................81
f installation .............................................................11
installing ................................................................11
manually notifiying about activated licenses..........18
firewall .......................................................................... 87 overview ..................................................................7
exceptions ............................................................. 81 stopping.................................................................30
license server ........................................................ 81 switching from hardware lock to FLEXnet .............23
license service installation ............................................11
TEKLA STRUCTURES 16 98
licenses
activating ............................................................... 18 n
borrowing ........................................................33, 37
deactivating ........................................................... 30 notification ....................................................................17
deactivation ........................................................... 29 notifying license server .................................................17
examples of managing .......................................... 60
information on Tekla Structures License Administra-
tion Tool ......................................................... 26 o
information on Tekla Structures License Borrow Tool
37
management ......................................................... 59 opening
managing access rights ........................................ 55 product ID file ........................................................36
repairing ................................................................ 93 options file
returning ................................................................ 38 examples of definitions..........................................58
licensing service keyword list............................................................56
manual installation ................................................ 13 modifying ...............................................................55
lmgrd.exe...................................................................... 81
LMTOOLS .................................................................... 41
Borrowing tab ........................................................ 54
p
checking license server status .............................. 25
Config Services tab ............................................... 53 product ID file ...............................................................33
configuring license server manually ...................... 78 default....................................................................33
license server information ..................................... 49 exporting................................................................34
manally notifying about activated licenses ............ 18 opening..................................................................36
Server Diags tab ................................................... 51
Server Status tab .................................................. 48
Service/License File tab ........................................ 42 r
Start/Stop/Reread tab ........................................... 46
stopping license server ......................................... 30
repairing
subentry ................................................................ 50
licenses .................................................................93
System Settings tab .............................................. 43
returning
troubleshooting...................................................... 74
licenses .................................................................38
Utilities tab............................................................. 44
m s
saving
management
entitlement certificate ............................................16
license usage ........................................................ 59
selecting
managing
language......................................................... 18, 35
license access rights ............................................. 55
setting
manual installation
TCP/IP port............................................................16
licensing service.................................................... 13
starting
modifiying
Tekla Structures 12 and 13 with FLEXnet
license server installation ...................................... 15
licensing ................................................................23
modifying
Tekla Structures License Administration Tool .......17
license file ............................................................. 15
Tekla Structures License Borrow Tool...................34
options file ............................................................. 55
Tekla Structures with FLEXnet licensing...............21
stopping
license server ........................................................30
switching
from hardware lock to FLEXnet licensing..............23
TEKLA STRUCTURES 16 99
t tekla.exe........................................................................81
traffic
TCP/IP ports ..........................................................87
TCP/IP port troubleshooting .............................................................65
setting ....................................................................16 common problems .................................................65
Tekla Structures License Administration Tool license activation ...................................................66
activating licenses .................................................18 license borrowing...................................................69
deactivating licenses .............................................30 license deactivation ...............................................72
exporting product ID file.........................................34 license server installation.......................................66
license information.................................................26 LMTOOLS usage...................................................74
product ID file ........................................................33 options file usage...................................................78
repairing licenses...................................................93 starting Tekla Structures........................................76
starting...................................................................17
Tekla Structures License Borrow Tool
borrowing licenses.................................................37
u
license information.................................................37
opening product ID file...........................................36 using
product ID file ........................................................33 default product ID file.............................................33
returning licenses ..................................................38
starting...................................................................34