ds-5 License Management Guide
ds-5 License Management Guide
Version 5.29
Arm® DS-5
License Management Guide
Copyright © 2011–2018 Arm Limited or its affiliates. All rights reserved.
Release Information
Document History
Your access to the information in this document is conditional upon your acceptance that you will not use or permit others to use
the information for the purposes of determining whether implementations infringe any third party patents.
THIS DOCUMENT IS PROVIDED “AS IS”. ARM PROVIDES NO REPRESENTATIONS AND NO WARRANTIES,
EXPRESS, IMPLIED OR STATUTORY, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, SATISFACTORY QUALITY, NON-INFRINGEMENT OR FITNESS FOR A PARTICULAR PURPOSE
WITH RESPECT TO THE DOCUMENT. For the avoidance of doubt, Arm makes no representation with respect to, and has
undertaken no analysis to identify or understand the scope and content of, third party patents, copyrights, trade secrets, or other
rights.
TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL ARM BE LIABLE FOR ANY DAMAGES,
INCLUDING WITHOUT LIMITATION ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL, PUNITIVE, OR
CONSEQUENTIAL DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY, ARISING
OUT OF ANY USE OF THIS DOCUMENT, EVEN IF ARM HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
DAMAGES.
This document consists solely of commercial items. You shall be responsible for ensuring that any use, duplication or disclosure of
this document complies fully with any relevant export laws and regulations to assure that this document or any portion thereof is
not exported, directly or indirectly, in violation of such export laws. Use of the word “partner” in reference to Arm’s customers is
not intended to create or refer to any partnership relationship with any other company. Arm may make changes to this document at
any time and without notice.
If any of the provisions contained in these terms conflict with any of the provisions of any click through or signed written
agreement covering this document with Arm, then the click through or signed written agreement prevails over and supersedes the
conflicting provisions of these terms. This document may be translated into other languages for convenience, and you agree that if
there is any conflict between the English version of this document and any translation, the terms of the English version of the
Agreement shall prevail.
The Arm corporate logo and words marked with ® or ™ are registered trademarks or trademarks of Arm Limited (or its
subsidiaries) in the US and/or elsewhere. All rights reserved. Other brands and names mentioned in this document may be the
trademarks of their respective owners. Please follow Arm’s trademark usage guidelines at http://www.arm.com/company/policies/
trademarks.
Copyright © 2011–2018 Arm Limited (or its affiliates). All rights reserved.
LES-PRE-20349
Confidentiality Status
This document is Non-Confidential. The right to use, copy and disclose this document may be subject to license restrictions in
accordance with the terms of the agreement entered into by Arm and the party that Arm delivered this document to.
Preface
About this book ..................................................... ..................................................... 10
Glossary
The Arm® Glossary is a list of terms used in Arm documentation, together with definitions for those
terms. The Arm Glossary does not contain terms that are industry standard unless the Arm meaning
differs from the generally accepted meaning.
See the Arm® Glossary for more information.
Typographic conventions
italic
Introduces special terminology, denotes cross-references, and citations.
bold
Highlights interface elements, such as menu names. Denotes signal names. Also used for terms
in descriptive lists, where appropriate.
monospace
Denotes text that you can enter at the keyboard, such as commands, file and program names,
and source code.
monospace
Denotes a permitted abbreviation for a command or option. You can enter the underlined text
instead of the full command or option name.
monospace italic
Denotes arguments to monospace text where the argument is to be replaced by a specific value.
monospace bold
Denotes language keywords when used outside example code.
<and>
Encloses replaceable terms for assembler syntax where they appear in code or code fragments.
For example:
MRC p15, 0, <Rd>, <CRn>, <CRm>, <Opcode_2>
SMALL CAPITALS
Used in body text for a few terms that have specific technical meanings, that are defined in the
Arm® Glossary. For example, IMPLEMENTATION DEFINED, IMPLEMENTATION SPECIFIC, UNKNOWN, and
UNPREDICTABLE.
Feedback
Feedback on content
If you have comments on content then send an e-mail to [email protected]. Give:
• The title Arm DS-5 License Management Guide.
• The number 100952_0529_00_en.
• If applicable, the page number(s) to which your comments refer.
• A concise explanation of your comments.
Arm also welcomes general suggestions for additions and improvements.
Note
Arm tests the PDF only in Adobe Acrobat and Acrobat Reader, and cannot guarantee the quality of the
represented document when used with any other PDF reader.
Other information
• Arm® Developer.
• Arm® Information Center.
• Arm® Technical Support Knowledge Articles.
• Technical Support.
• Arm® Glossary.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-12
reserved.
Non-Confidential
1 Supported Platforms
1.1 Supported platforms
Client platforms
Caution
Attempting to use an unsupported client platform can result in unexpected behavior.
Check the product documentation to confirm what specific operating system variants are supported.
Check the product documentation to confirm what specific operating system variants are supported.
The floating license server platform is not required to be the same as the tools platform. For example,
you might have your development tools installed on Windows and use a Linux floating license server.
See your product documentation for further information.
License management of floating licenses for Arm applications requires TCP/IP software to be installed,
configured, and running on every relevant computer.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-13
reserved.
Non-Confidential
1 Supported Platforms
1.2 Tool licensing schemes
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-14
reserved.
Non-Confidential
1 Supported Platforms
1.3 Types of license
If you fulfill your license in May 2010 you can use 5.0 and any new patches that are released up
to end of May 2011.
If your license period is limited by a Service and Maintenance (S&M) agreement, and the period
lapses, your version of the product, together with any patches you received within that period
continues to function as normal. However, if you want to use a patch that is later than this date,
you must purchase another S&M license. If you then purchase an additional two-year license,
the new license includes:
UPGRADE fromelf armlmd 5.0201305 permanent …
If you fulfill your license in May 2010, 5.0201305 gives a user three years entitlement to
download and use patches.
Term
A term license has a specific expiry date. For example:
INCREMENT fromelf armlmd 5.0201205 31-July-2012 …
This means you can use version 5.0 and any new patches to fromelf that are released before the
end of May, but you get a license expiry error after the 31st July 2012.
Related reference
5.11 Format of a license entry on page 5-54
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-15
reserved.
Non-Confidential
1 Supported Platforms
1.4 Node-locked license scheme
Related reference
5.11 Format of a license entry on page 5-54
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-16
reserved.
Non-Confidential
1 Supported Platforms
1.5 Floating license scheme
Windows and Unix/Linux floating license servers and clients can be mixed in any installation. Client
machines must be able to access the server machines over the Local Area Network (LAN).
Note
Arm does not support the use of floating licenses across Wide Area Networks (WANs). For performance
reasons, you are strongly advised to have your floating license servers and clients on the same LAN.
Arm software licenses support single-server and three-server floating license installations. You can only
use the Arm License Manager to set up single-server floating licenses. A multiple server floating license
configuration must be set up manually.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-17
reserved.
Non-Confidential
1 Supported Platforms
1.5 Floating license scheme
Single-server model
The license file is locked to the host ID of a single server that is used for controlling the licensing
process. A single-server floating license model requires that the server machine is running at all times
and that the client machines can access this server machine over the local area network.
If the network or single server fails, the licensed tools cannot be used until the server is restarted.
The following figure illustrates the single-server model. On the server, a license file with the
corresponding server details is loaded by the floating license server processes. The client must be
configured so that it references the floating license server and the port through which the license is
issued. The recommended method for doing this is setting the ARMLMD_LICENSE_FILE environment
variable on the client to port@server. For the single-server model example in the figure, the
environment variable must be set to 8224@Server_A.
Three-server model
The license file is locked to the host ID of three separate floating license servers. This permits more
reliable licensing of the product so that the failure of one server does not stop users from checking out
licenses. A three-server floating license model requires that:
• All three servers must be available when the floating license server starts. One of the servers can be
stopped after the initial start up.
• A minimum of two server machines are running at all times.
• All the servers can access each other over the LAN.
• The client machines can also access these server machines over the LAN.
The three-server model has the following limitations:
• It is more complicated to set up than a single-server system.
• Three servers are required.
• Two servers must be operational at all times.
Because of the additional complexity of the three-server model, it is more suitable for managing ten or
more total seats, where many users rely on the servers being operational.
The following figure shows the three-server model. On each of the servers, an identical license file with
details of all three servers is loaded by the floating license server processes. The client should be
configured so that it references all the floating license servers in addition to the ports through which the
license is issued. The recommended method for doing this is setting the ARMLMD_LICENSE_FILE
environment variable.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-18
reserved.
Non-Confidential
1 Supported Platforms
1.5 Floating license scheme
For the three-server model example in the figure, on Windows, the environment variable should be set to
8224@Server_A;8224@Server_B;8224@Server_C. The first server in the list, Server_A, is the master
server, and must be started before the other two servers.
Depending on your operating system, the separators for the values in the environment variable might be
different. On Unix or Linux, the separator is a colon “:” rather than a semicolon “;” as on Windows.
Related reference
5.11 Format of a license entry on page 5-54
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-19
reserved.
Non-Confidential
1 Supported Platforms
1.6 About the Arm® License Manager
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-20
reserved.
Non-Confidential
1 Supported Platforms
1.7 About the Arm® web licensing portal
Related tasks
8.6 Modifying your floating license file on page 8-86
Related information
Arm Self-Service Portal
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 1-21
reserved.
Non-Confidential
Chapter 2
Requesting Your License
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 2-22
reserved.
Non-Confidential
2 Requesting Your License
2.1 Information required for a license
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 2-23
reserved.
Non-Confidential
2 Requesting Your License
2.2 Manually obtaining a license from the Arm® web licensing portal
2.2 Manually obtaining a license from the Arm® web licensing portal
To obtain a license for an Arm product you can use the Arm License Manager utility to guide you
through the required steps.
To manually obtain a license:
Procedure
1. Start Eclipse for DS-5.
2. Select Help > Arm License Manager from the Eclipse for DS-5 menu to display the Arm License
Manager dialog box as the figure shows.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 2-24
reserved.
Non-Confidential
2 Requesting Your License
2.2 Manually obtaining a license from the Arm® web licensing portal
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 2-25
reserved.
Non-Confidential
2 Requesting Your License
2.2 Manually obtaining a license from the Arm® web licensing portal
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 2-26
reserved.
Non-Confidential
Chapter 3
Installing a Node-locked License Using the Arm®
License Manager
Describes how to install a node-locked license for your Arm software product after you have retrieved
the license from the Arm web licensing portal.
It contains the following sections:
• 3.1 Installing a node-locked license using the Arm® License Manager on page 3-28.
• 3.2 Installing a node-locked license manually (Windows only) on page 3-30.
• 3.3 Installing a node-locked license manually (Unix/Linux only) on page 3-31.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 3-27
reserved.
Non-Confidential
3 Installing a Node-locked License Using the Arm® License Manager
3.1 Installing a node-locked license using the Arm® License Manager
Procedure
1. Start Eclipse for DS-5.
2. Select Help > Arm License Manager from the Eclipse for DS-5 menu to display the Arm License
Manager dialog box.
3. Click Add License to display the Add License dialog box as the figure shows.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 3-28
reserved.
Non-Confidential
3 Installing a Node-locked License Using the Arm® License Manager
3.1 Installing a node-locked license using the Arm® License Manager
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 3-29
reserved.
Non-Confidential
3 Installing a Node-locked License Using the Arm® License Manager
3.2 Installing a node-locked license manually (Windows only)
Procedure
1. Retrieve your license from the Arm web licensing portal.
2. Save the license file as a .lic file (for example, license.lic) and place it in an appropriate
directory on your computer.
3. Create or modify an environment variable called ARMLMD_LICENSE_FILE to point to the location of
your license. This location can either be the full path of the license file, or it can be the full path to the
directory containing the license file. If only the directory path is specified, the license file must be
a .lic file (for example, license.lic).
Note
The length of ARMLMD_LICENSE_FILE must not be more than 260 characters.
For example, to create the variable from the Windows Control Panel:
• Select Start > Control Panel to open the Control Panel.
• Double click on the System icon in the Control Panel. An easy way to find this icon is to change
the Control Panel view to Classic View.
• Click the Advanced tab in Windows 2000 or XP, or the Advanced system settings task in
Windows Vista, Windows 7, or Windows 10, then click the Environment Variables button.
•Create a new system environment variable, ARMLMD_LICENSE_FILE, and set its value to point to
the location of your license.
Related concepts
1.4 Node-locked license scheme on page 1-16
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 3-30
reserved.
Non-Confidential
3 Installing a Node-locked License Using the Arm® License Manager
3.3 Installing a node-locked license manually (Unix/Linux only)
Procedure
1. Retrieve your license from the Arm web licensing portal.
2. Save the license file as a .lic file (for example, license.lic) and place it in an appropriate
directory on your computer.
3. Create or modify an environment variable called ARMLMD_LICENSE_FILE to point to the location of
your license. This location can either be the full path of the license file, or it can be the full path to the
directory containing the license file. If only the directory path is specified, the license file must be
a .lic file (for example, license.lic).
You can create an environment variable on your Unix/Linux computer using one of the following
methods:
• Shell commands.
• .flexlmrc.
Using shell commands
For example, if you are using csh or tcsh, you can set the environment variable by entering:
setenv ARMLMD_LICENSE_FILE pathname
export ARMLMD_LICENSE_FILE
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 3-31
reserved.
Non-Confidential
Chapter 4
Using a Floating License
Describes how to configure your client computer to obtain the license for its Arm tools from a floating
license server.
It contains the following sections:
• 4.1 About configuring the client licensing on page 4-33.
• 4.2 Using the Arm® License Manager to configure your client computer licensing on page 4-34.
• 4.3 Using the Control Panel to configure your client computer licensing (Windows clients only)
on page 4-36.
• 4.4 Using the command line to configure your client computer licensing (Linux clients only)
on page 4-37.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-32
reserved.
Non-Confidential
4 Using a Floating License
4.1 About configuring the client licensing
Note
You can use the license manager to configure licensing only for single-server license configurations. For
a three floating license server configuration use the Control Panel or the command line, depending on the
platform you are using.
Related concepts
1.5 Floating license scheme on page 1-17
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-33
reserved.
Non-Confidential
4 Using a Floating License
4.2 Using the Arm® License Manager to configure your client computer licensing
4.2 Using the Arm® License Manager to configure your client computer licensing
Use the Arm License Manager to configure licensing only for single-server license configurations.
To set up your client computer environment for DS-5 using the Arm License Manager:
Procedure
1. Start Eclipse for DS-5.
2. Select Help > Arm License Manager from the Eclipse for DS-5 menu to display the Arm License
Manager dialog box.
3. Select Add License to display the Add License dialog box as the following figure shows:
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-34
reserved.
Non-Confidential
4 Using a Floating License
4.2 Using the Arm® License Manager to configure your client computer licensing
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-35
reserved.
Non-Confidential
4 Using a Floating License
4.3 Using the Control Panel to configure your client computer licensing (Windows clients only)
4.3 Using the Control Panel to configure your client computer licensing
(Windows clients only)
You can use the Control Panel to set environment variables on supported Windows variants.
Use the Windows Control Panel for a three floating license server configuration.
Prerequisites
You must have administrator privileges to set system environment variables.
Procedure
1. Click Start > Control Panel to open the Control Panel.
2. Double click on the System icon in the Control Panel. An easy way to find this icon is to change the
Control Panel view to Classic View.
3. Click the Advanced tab in Windows 2000 or XP, or the Advanced system settings task in Windows
Vista or Windows 7, then click the Environment Variables button.
4. Create a new system environment variable, ARMLMD_LICENSE_FILE, and set its value. This must
include valid port@server information.
Note
The length of ARMLMD_LICENSE_FILE must not be more than 260 characters.
Note
If a default port in the range between 27000 and 27009 is used on the server, then the port number
can be omitted in the environment variable, but you must include the ‘@’ symbol before the name of
the server. For example, @my_server.
For example:
• If you are using a single-server floating license, set the environment variable value to something
similar to:
8224@my_server
• If you want to refer to more than one floating license server, set the environment variable value to
something similar to:
8224@my_serverA;8224@my_serverB;@my_serverC
The master server appears first, and in this example is my_serverA. The entry for my_serverC is
not preceded by a port number because in this example a default port number is being used.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-36
reserved.
Non-Confidential
4 Using a Floating License
4.4 Using the command line to configure your client computer licensing (Linux clients only)
4.4 Using the command line to configure your client computer licensing (Linux
clients only)
On Linux clients, you can set up your licensing environment using an environment variable.
On Linux clients, you can set the environment variable ARMLMD_LICENSE_FILE to include port@server
information.
Note
If a default port in the range between 27000 and 27009 is used on the server, then you can omit the port
number in the environment variable, but you must include the ‘@’ symbol before the name of the server.
For example, @my_server.
You can configure your Linux client to obtain its license from a server using shell commands, or by
editing the .frlxlmrc file.
Setting ARMLMD_LICENSE_FILE with shell commands
If you are using csh or tcsh, you can set the environment variable for a single server by entering:
setenv ARMLMD_LICENSE_FILE 8224@my_server
If you want to refer to more than one floating license server, you can add these values to your
environment variables. For example, in csh or tcsh enter:
setenv ARMLMD_LICENSE_FILE 8224@my_server1:8224@my_server2:@my_server3
In this example, the port number is omitted for my_server3 because a default port is being used.
In all cases you might want to add the environment variable settings to your startup scripts so
that your licensing is set up automatically when you log in.
Setting ARMLMD_LICENSE_FILE in the .flexlmrc file
You can edit the .flexlmrc file in your home directory to set up client licensing by adding the
line:
ARMLMD_LICENSE_FILE=value
where value is the value for the environment variable, such as 8224@my_server.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 4-37
reserved.
Non-Confidential
Chapter 5
Frequently Asked Questions about Licensing Arm®
Products
Describes licensing issues that are not specific to a particular licensing configuration.
It contains the following sections:
• 5.1 How does Arm® licensed managed software tools find a license file? on page 5-39.
• 5.2 Can I use FlexNet with more than one product? on page 5-41.
• 5.3 How do I merge license files? on page 5-42.
• 5.4 How do I find my product serial number? on page 5-44.
• 5.5 How do I find my host ID? on page 5-45.
• 5.6 How do I move my license to another computer? on page 5-49.
• 5.7 Do upgrade or update seats replace existing seats? on page 5-50.
• 5.8 Do the Arm® development tools support BORROW? on page 5-51.
• 5.9 Do Arm® licenses support queuing? on page 5-52.
• 5.10 Why can I not find the lmhostid utility? on page 5-53.
• 5.11 Format of a license entry on page 5-54.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-38
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.1 How does Arm® licensed managed software tools find a license file?
5.1 How does Arm® licensed managed software tools find a license file?
Arm licensed managed software tools find the license file using the Arm-specific environment variable
ARMLMD_LICENSE_FILE and the generic FlexNet environment variable LM_LICENSE_FILE.
When the Arm software tools search for a license, the contents of ARMLMD_LICENSE_FILE variable are
searched before the contents of LM_LICENSE_FILE variable. The locations are searched until a valid
license is found.
You can set the ARMLMD_LICENSE_FILE environment variable so that it contains one or more:
• File names.
• Directory names.
Note
— When specifying directory paths, you must not include the final / or \ character.
— All files with a .lic extension present in the directory are used.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-39
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.1 How does Arm® licensed managed software tools find a license file?
Search algorithm
license_search_path = []
def ExtractFromEnvVar(variable_name)
{
if (EnvVarIsSet(variable_name))
{
license_search_path.append(EnvVarRead(variable_name))
}
}
def ExtractFromSystem(variable_name)
{
if (Platform() == "Windows")
{
registry_key = "HKEY_CURRENT_USER\Software\Flexlm License Manager"
if (variable_name in Registry(registry_key))
{
license_search_path.append(Registry(registry_key)[variable_name])
}
}
else
{
if (variable_name in File("~/.flexlmrc"))
{
// This file is a simple key=value format, separated by newlines.
// The first variable_name key will be used, all others are ignored.
// Case is ignored when matching variable_name. Quoting of value is
// not supported. Spaces in value are permitted and do not need to be
// escaped.
license_search_path.append(File("~/.flexlmrc")[variable_name])
}
}
}
ExtractFromEnvVar("ARMLMD_LICENSE_FILE")
ExtractFromSystem("ARMLMD_LICENSE_FILE")
ExtractFromEnvVar("LM_LICENSE_FILE")
ExtractFromSystem("LM_LICENSE_FILE")
if (Platform() == "Windows")
{
license_search_path.append("C:\Program Files\ARM\licenses\license.dat")
}
else
{
license_search_path.append("/opt/arm/licenses/license.dat")
}
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-40
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.2 Can I use FlexNet with more than one product?
See the version of the FlexNet License Administration Guide supplied with your tools for further
information on using licenses from multiple vendors together.
You might be able to combine multiple license files.
Related tasks
5.3 How do I merge license files? on page 5-42
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-41
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.3 How do I merge license files?
For example:
SERVER this_host <hostid>
VENDOR armlmd
USE_SERVER
Always use the newest version of lmgrd and the newest version of each vendor
daemon, for example, armlmd, provided with your Arm products.
There are some examples that show this in more detail in the FlexNet License
Administration Guide. A PDF of this document is available in your DS-5 installation at:
DS-5_install_directory\documents\license_administration_guide.pdf.
Note
Be aware that you are not entitled to use the mechanism for merging licenses to also
merge seats that have since been replaced by upgrade or update seats.
Note
There are examples of license file merging in the FlexNet License Administration Guide.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-42
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.3 How do I merge license files?
Related information
How do I merge my license files
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-43
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.4 How do I find my product serial number?
After you have installed your Arm software, you can find the serial number embedded within the license
file you installed. Look for a string containing SN=xxxxx-xxxxx-xxxxx. The text following the SN= label
is your serial number.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-44
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.5 How do I find my host ID?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-45
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.5 How do I find my host ID?
The host ID is the Physical Address with the “-” symbols removed, so in this example it is
0000124241bc. Alternatively if you have installed the FlexNet software onto your machine you
can instead type lmutil lmhostid at a command prompt.
Note
• To use the physical address of the network card as the host ID, you must choose the address
of the actual network card, not a virtual network adapter address or a wireless adapter
network address.
• You must ensure that the network device that you lock your license to is not shut down by
your computer during any power saving operation, that might result in the network device
not being available while you are trying to use the license.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-46
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.5 How do I find my host ID?
Note
• On Linux, the device used to obtain the server host ID must reside on eth0. You can reassign
this address to a removable USB network device if you are using a Linux laptop, for
example, and want to transfer the license between standalone computers.
• The Server Host ID Type is required when you request your license from the Arm web
licensing portal.
• If you are requesting a three server, that is a redundant server, license then you must have a
valid and different host ID for each of the three machines.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-47
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.5 How do I find my host ID?
• You cannot use a volume serial number as the host ID for a Windows license server.
• Arm no longer supports the HP-UX floating license server.
Related concepts
1.4 Node-locked license scheme on page 1-16
1.5 Floating license scheme on page 1-17
Related tasks
2.2 Manually obtaining a license from the Arm® web licensing portal on page 2-24
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-48
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.6 How do I move my license to another computer?
To rehost your license, you must submit a rehost request through the Arm web licensing portal:
Procedure
1. Access the Arm web licensing portal.
2. Click the Rehost link in the menu on the left of the web page.
3. Accept the Rehost License Request (Disclaimer).
4. Enter either your product serial number or the Host ID of your client machine.
Related concepts
2.1 Information required for a license on page 2-23
5.7 Do upgrade or update seats replace existing seats? on page 5-50
Related tasks
5.5 How do I find my host ID? on page 5-45
Related information
Arm Self-Service Portal
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-49
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.7 Do upgrade or update seats replace existing seats?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-50
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.8 Do the Arm® development tools support BORROW?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-51
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.9 Do Arm® licenses support queuing?
Related concepts
7.10 Why am I getting "DENIED" messages in the server log? on page 7-75
Related tasks
5.6 How do I move my license to another computer? on page 5-49
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-52
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.10 Why can I not find the lmhostid utility?
Procedure
1. Open a command prompt.
2. Change to the directory where your license utilities are installed. This is typically C:\FlexNet.
3. Type lmutil lmhostid at the command prompt.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-53
reserved.
Non-Confidential
5 Frequently Asked Questions about Licensing Arm® Products
5.11 Format of a license entry
The version number of the licensed feature This can have one of the following formats:
a.b
a.byyyymm
Where:
a
year
mm
month number.
For example, 1.0201011 indicates that support for the license feature in version 1.0 expires in
November 2010.
Typically used if you have a Service and Maintenance (S&M) agreement that limits the period
you are allowed to install and use patches.
expiry_date
The date that the license expires for the specified feature, and has one of the following values:
• permanent.
• dd-mmm-yyyy, for example 31-May-2012.
This determines the type of license.
The date embedded into the version controls your entitlement to patches, whereas the expiry_date field
limits your ability to use the tools.
Related concepts
1.4 Node-locked license scheme on page 1-16
1.5 Floating license scheme on page 1-17
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 5-54
reserved.
Non-Confidential
Chapter 6
Troubleshooting Client Configuration
Describes issues relating to the configuration of clients in either node locked or floating license systems.
It contains the following sections:
• 6.1 License apparently missing error on page 6-56.
• 6.2 My node-locked tools fail with FlexNet error -8: Invalid license key (inconsistent authentication
code) on page 6-57.
• 6.3 How can I change the order in which my license sources are accessed? on page 6-58.
• 6.4 Optimizing floating license checkout times on page 6-59.
• 6.5 Can I use a remote floating license server? on page 6-61.
• 6.6 Why am I getting FlexNet error -15: Cannot connect to floating license server system?
on page 6-62.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-55
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.1 License apparently missing error
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-56
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.2 My node-locked tools fail with FlexNet error -8: Invalid license key (inconsistent authentication code)
6.2 My node-locked tools fail with FlexNet error -8: Invalid license key
(inconsistent authentication code)
This error can be reported if your license file has been corrupted, moved, or modified in a way that is not
allowed.
If this has happened, reinstall a clean version of your license file. For example, you can use the Arm web
licensing portal to retrieve your original license.
Related tasks
2.2 Manually obtaining a license from the Arm® web licensing portal on page 2-24
Related reference
9.2 armlmdiag utility on page 9-98
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-57
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.3 How can I change the order in which my license sources are accessed?
6.3 How can I change the order in which my license sources are accessed?
You can change the order of the license sources using the ARMLMD_LICENSE_FILE environment variable.
If you have more than one license source, you might want to change the order that they are used by the
client computer. For example, you might have two separate floating license servers, each with its own
distinct license file, and one of these servers has more available licenses for a given product version than
the other and you want to reference the server with more seats first.
If you are using a supported version of Windows, you can use the Windows Control panel to modify the
ARMLMD_LICENSE_FILE environment variable.
If you are using Linux, you might have to modify the ARMLMD_LICENSE_FILE environment variable from
the command line. Alternatively you can have the environment variable set automatically when you start
a new shell.
Note
On Windows, the length of ARMLMD_LICENSE_FILE must not be more than 260 characters.
Related concepts
4.1 About configuring the client licensing on page 4-33
Related tasks
4.4 Using the command line to configure your client computer licensing (Linux clients only)
on page 4-37
Related reference
9.2 armlmdiag utility on page 9-98
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-58
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.4 Optimizing floating license checkout times
• Check for network problems. If everything is working normally, a license is granted in about the
same time it takes to ping the server where the license resides.
If the checkout takes a long time the following suggestions might help:
— The domain name server might take along time to resolve the server name to an IP address. In this
case try substituting the server IP address instead of the name where it appears in the license
search paths.
— Check the physical networking connection between the license server relative to the client
computers. License checkouts directly increase in time the further away the license server is. Co-
locate the server close to the clients for best performance.
— Check the number of routers and switches between the license server and the client computers.
Each network hop adds some delay to packet processing. The traceroute utility can provide an
indication of the network topology and the delay introduced at each stage. Change your network
topology to reduce this.
• Check the load on the license servers. A highly loaded license server can slow down processing of
license requests. In this case, migrate other processes off of your license server computer, or move
your license server to a faster computer.
• Check for server problems, particularly if you have set up the ARMLMD_LICENSE_FILE environment
variable to point to multiple servers. You might find it helpful to look through the server log.
If any of the license search paths point to a server which is no longer running the license management
software, there will be a delay while FlexNet waits for the license request to time out before moving
onto the next location in the search path.
Ensure that there are no spurious entries here that might cause such a delay, and that all referenced
servers are running.
To temporarily work around this problem, you can modify the order in which the servers appear in
the ARMLMD_LICENSE_FILE environment variable.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-59
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.4 Optimizing floating license checkout times
• Set the environment variable TCP_NODELAY to 1. This sometimes improves FlexNet floating license
server system performance when processing license requests. You have to experiment to confirm that
setting this option improves performance.
Caution
Setting this environment variable might cause an increase in network traffic.
• The license server processes license files in the order top to bottom. Order the license features in this
file so that the most frequently used licenses are at the top.
Note
On Windows, the length of ARMLMD_LICENSE_FILE must not be more than 260 characters.
Related tasks
6.3 How can I change the order in which my license sources are accessed? on page 6-58
Related reference
9.2 armlmdiag utility on page 9-98
Related information
How can I improve the build time of my application?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-60
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.5 Can I use a remote floating license server?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-61
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.6 Why am I getting FlexNet error -15: Cannot connect to floating license server system?
6.6 Why am I getting FlexNet error -15: Cannot connect to floating license server
system?
If you are using Arm software products with a floating license, your workstation must be able to
communicate with a server running FlexNet server software. If such communication cannot be
established, a commonly reported FlexNet error code on the client is -15.
Possible reasons for FlexNet error code -15 are:
• The wrong license file is being referenced by the application program.
• The floating license server specified in the license file has not been started.
• You are using the wrong port@host information.
• The vendor daemon specified in the license file is not running.
• The hostname in the license file is not recognized by the system.
• The network between the client machine and the server machine is down.
To solve these issues, check that you have started your floating license server or servers. You must also
check that your client has been correctly configured. The Tool Licensing FAQs on the Arm Technical
Support website might also be helpful.
You can try running tests on your server or client computers to identify possible causes of the failure:
1. Try running the lmutil lmdiag utility, which is designed primarily for this purpose.
2. Verify that the application is referencing the correct license file.
3. Verify that the vendor daemon, armlmd, is running. You can use ps on the server to look for the
daemon on Unix/Linux, or the Windows Task Manager.
4. Examine the server log file to see if any problems are reported, particularly messages indicating that
the vendor daemon has quit.
5. Run lmutil lmstat -a on the server machine to verify that the vendor daemon is alive.
6. Run lmutil lmstat -a on the client machine to verify the connection from client to vendor daemon
across the network.
If none of the above tests identify the cause of the licensing failure, check whether your client machine
can communicate to the server over TCP/IP using a utility such as ping. If this fails, then it is possible
that communication is being blocked between the server and client.
Firewalls
Your floating license server and client might be on opposite sides of a firewall. If so, you must configure
the firewall to allow access to fixed ports for both the lmgrd and armlmd license daemons. Define these
ports in the server license file by modifying the top of the license file as shown, substituting your own
values:
SERVER myserver server_hostid 8224
Subnets
If your floating license server and client are on different subnets, then using the fully qualified domain
name or IP address of the server might solve the problem. Using the IP address normally circumvents
issues arising from domain name resolution.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-62
reserved.
Non-Confidential
6 Troubleshooting Client Configuration
6.6 Why am I getting FlexNet error -15: Cannot connect to floating license server system?
Intermittent failures
You might encounter intermittent licensing failures if your server is under very heavy load, for example,
if you use automated build scripts. These failures can be caused by intermittent networking failures. The
current versions of the Arm development tools are more resilient with respect to such temporary network
interruptions. If you are using older tools, consider adding retry capability to your build scripts to work
around the behavior.
Related reference
9.2 armlmdiag utility on page 9-98
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 6-63
reserved.
Non-Confidential
Chapter 7
Troubleshooting Server Configuration
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-64
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.1 How can I run my FlexNet server more securely?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-65
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.2 Server debug log reports “Invalid license key (inconsistent authentication code)”
7.2 Server debug log reports “Invalid license key (inconsistent authentication
code)”
A common cause for an invalid license key error message is that you have changed non-user editable
parts of your license file.
The only parts of the license you are allowed to edit are the host name and the floating license server
daemon port numbers, and the daemon path name if it is set by default to path_to_armlmd. You can add
certain content, such as a path to an option files or SORT syntax. See the FlexNet License Administration
Guide.
The invalid license key message can also indicate that you are running an older version of the FlexNet
floating license server software that is not compatible with the format of the license file that you have
installed. This can happen if you upgrade your development tools to a later version.
See the FAQs in the Arm technical support website, under Tool Licensing, for more information about
the versions of floating license server software that are compatible with versions of the Arm software
development tools.
Related reference
9.2 armlmdiag utility on page 9-98
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-66
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.3 Can I define the order in which licenses in a mixed version license file are issued?
7.3 Can I define the order in which licenses in a mixed version license file are
issued?
Whether you can control the order in which licenses are issued by the server is dependent upon the
version of the floating license server software you are using.
4. Licenses with the most recent START= date, if specified, are issued before older licenses.
To define the use order of your licenses, add a SORT=nnn entry in the required INCREMENT line, where nnn
is an integer from 000 to 255. The lower the SORT value, the higher the priority. The default sort value is
100. As this value is used when no SORT is defined by the user, lines with values less than 100 appear
before unmodified lines, and lines with values greater than 100 appear after unmodified lines.
For example, if you have compiler INCREMENT entries in your license file with versions 3.1 and 4.0, you
can ensure that the 3.1 license is made available first if you add a SORT attribute to the 3.1 INCREMENT
as follows:
INCREMENT compiler armlmd 3.1 permanent 5 271940CDEFA0 \SORT=010 DUP_GROUP=UHD ISSUER="ARM
Ltd" …
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-67
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.4 How can I tell how many floating licenses are in use?
7.4 How can I tell how many floating licenses are in use?
You can run the lmutil lmstat command, with appropriate arguments, on the server to determine the
number of floating license seats that are in use.
The floating license server log is not suitable for the purpose of usage analysis, because at high server
loading or with certain types of license file configuration, you might get incomplete or misleading
results.
The lmutil lmstat command can generate text output that indicates which user is using what version of
a license component, and when the license was granted. By selecting the appropriate arguments, such as
-i for information from the FEATURE or INCREMENT line for the specified feature, or -a for all
information, you can collect snapshot information of your license usage. You can then run the output
through a text parser if you want to analyze the data in more detail. More information on the lmutil
lmstat command can be found elsewhere. See the FlexNet License Administration Guide.
Be aware that there is a trade-off between increased temporal resolution of your usage data and server
loading, especially if you have a high turnover licensing environment. The lmutil lmstat command
can consume a significant fraction of the CPU resource of your server, especially if the -a switch is used.
At very high loadings, such as greater than 1000 checkouts per minute, the resulting data are known to be
inaccurate because not all transactions can be recorded during the data collection period.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-68
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.5 Server debug log reports “(armlmd) cannot open lock file” or “cannot communicate with lmgrd”
7.5 Server debug log reports “(armlmd) cannot open lock file” or “cannot
communicate with lmgrd”
The lock file error most commonly occurs on a Unix/Linux system if a previous instance of the armlmd
license daemon was not shut down properly.
Only one copy of armlmd can run on your floating license server at any given time. Attempting to start
another copy of this daemon causes an error.
When the Arm license daemon, armlmd, is started, it creates a file called /var/tmp/lockarmlmd. If
lmgrd terminates abnormally, armlmd does not release the lock file because it might still be running. To
solve this problem:
1. Locate any license daemon processes. You can do this using the following command on Unix/Linux:
ps -a | grep daemon_name
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-69
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.6 What version of the floating license server daemons must I use?
7.6 What version of the floating license server daemons must I use?
Arm development tools use FlexNet (formerly FLEXnet and FLEXlm) license management from Flexera
Software. Utilities are provided for running a license server on the platforms supported by the tools.
Floating license server software consists of two parts:
• The Arm floating license server vendor daemon armlmd.
• The FlexNet floating license server daemon lmgrd.
You can upgrade to later versions of lmgrd, but are advised to use the version of armlmd provided with
the latest Arm software you have installed. The latest floating license server utilities, including lmgrd
and armlmd, can be obtained through Arm, from your tools installation media, download site, or from
Arm License Support.
Older releases of the Arm license daemon are forwards compatible with later releases of lmgrd. For
example, you can use armlmd version 9.2 together with lmgrd version 11.12.1.0. However it is best
practice to use the latest Arm license utilities available.
Note
If your floating license server is running Solaris 5.6, you cannot use FLEXnet version 9.0 utilities.
Instead you must use version 9.2 utilities or higher.
The newer utilities, including the armlmd vendor daemon, can be requested from Arm if you do not
already have a product DVD-ROM or CD-ROM with this version of FlexNet.
The latest Arm license daemon version used by DS-5 is that shown in the directory
DS-5_install_directory\sw\FLEXnet_version.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-70
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.7 How can I limit user access to particular licensed features?
Procedure
1. Create the file.
2. Configure your floating license server to use the file.
Related concepts
7.8 About the options file on page 7-72
Related tasks
7.9 Configuring your floating license server to use the options file on page 7-74
Related reference
9.2 armlmdiag utility on page 9-98
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-71
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.8 About the options file
The options file example demonstrates some of the key syntax. In this example, it is assumed that:
• There are two defined project groups with defined users, and a set of build computers.
• The administrator wants to limit the number of seats of a given feature on a group basis, and also
wants to reserve Arm Compiler toolchain v5.0 compiler seats for particular users and clients.
• A specific user is not to be granted an Arm Compiler toolchain v5.0 compiler license.
The following permissions and restrictions are required:
• The build computers in the host_group buildbox must always have two compiler seats available, of
no particular version.
• Users in group project_talisker, user1 to user5, must not be given more than three fromelf
licenses of any version between them.
• Users in group project_macallan must always have one seat of compiler version 5.0 available.
• User7 cannot ever obtain a compiler license of version 5.0, despite being in group
project_macallan.
The following example contains the corresponding options file that satisfies the restrictions:
# License Options File example by Arm Limited
# -------------------------------------------
# This example should be modified as required for your own licensing
# environment.
#
# Turn off case sensitivity for group and hostnames
# (Only valid in FlexNet 10.x. In FLEXlm 9.x, you need to ensure that
# case of groups and hostnames is consistent, and comment out the
# following line.)
#
GROUPCASEINSENSITIVE ON
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-72
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.8 About the options file
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-73
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.9 Configuring your floating license server to use the options file
7.9 Configuring your floating license server to use the options file
When you create an options file, you must configure your floating license server to use it.
To configure the floating license server:
Procedure
1. You must edit your Arm tools license file so that the options file is called on the VENDOR or DAEMON
line. For example, if your options file is called armlmd.opt, in your license file you must add VENDOR
armlmd option=armlmd.opt.
2. If you have multiple servers, repeat the change for the license files on each of your Arm floating
license servers.
3. Restart your floating license server or servers.
4. If your configuration is successful, the server log shows messages that the options file is being used
and that your restrictions defined in the options file are being implemented.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-74
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.10 Why am I getting "DENIED" messages in the server log?
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-75
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.11 How can I manage the size of the server debug log file?
7.11 How can I manage the size of the server debug log file?
If you are administering a floating license server that is heavily used, you might find that the floating
license server debug log becomes unmanageably large after a relatively short time.
Very large log files in excess of 1GB in size can cause the license utilities to fail. You can control the size
of the server debug log file by:
• Suppressing messages.
• Restarting the floating license server.
• Starting a new server debug log.
Related tasks
7.12 Suppressing messages from the server log on page 7-77
7.13 Restarting the floating license server on page 7-78
7.14 Starting a new server debug log on page 7-79
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-76
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.12 Suppressing messages from the server log
To turn off logging of checkouts and queued requests two separate NOLOG lines are required:
NOLOG DENIED
NOLOG QUEUED
Note
If you normally suppress server debug log messages, it might be necessary for you to re-enable them to
troubleshoot problems.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-77
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.13 Restarting the floating license server
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-78
reserved.
Non-Confidential
7 Troubleshooting Server Configuration
7.14 Starting a new server debug log
Regularly creating new debug logs, for example on a weekly basis, can help you to maintain organized
records of floating license server activity. You can use this command on the Windows or Unix/Linux
command line. Change to the directory where your floating license server utilities are installed, then type
the command:
lmutil lmswitch -c license_file_name armlmd new_logfile_name
where:
license_file_name
specifies the fully qualified path name of the license file being used
new_logfile_name
specifies the fully qualified path name of the new server debug log file.
Your original log file is closed with a message that the server debug log is being switched to
new_logfile_name. The top of new_logfile_name tells you the name of the previous server debug log
file.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 7-79
reserved.
Non-Confidential
Chapter 8
Setting Up a Floating License Server
Describes the installation of FlexNet server software and the configuration of the client machines.
It contains the following sections:
• 8.1 About the license management utilities on page 8-81.
• 8.2 About installing the server software on page 8-82.
• 8.3 Getting the Arm® floating license server utilities on page 8-83.
• 8.4 Installing server software on Windows on page 8-84.
• 8.5 Installing server software on Unix/Linux on page 8-85.
• 8.6 Modifying your floating license file on page 8-86.
• 8.7 Starting a Windows server from the graphical user interface on page 8-88.
• 8.8 Starting a Windows server from the command line on page 8-91.
• 8.9 Starting a Unix/Linux server from the command line on page 8-92.
• 8.10 About shutting down a floating license server on page 8-93.
• 8.11 Shutting down a Windows server on page 8-94.
• 8.12 Shutting down a Unix/Linux server on page 8-95.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-80
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.1 About the license management utilities
The LMTOOLS graphical user interface (GUI) utility. A Windows only GUI tool for FlexNet
licensing utilities.
Windows users can set up and manage their server using either the GUI-based lmtools.exe
utility or the command-line tools.
The licensing utilities are available within a DS-5 installation, usually under <install folder>\sw
\FLEXnet<version number>.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-81
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.2 About installing the server software
Note
If the computer is acting only as a license management server, installation of the Arm software product
on the server is not required.
You can download Arm floating license server utilities from the licensing utilities download page.
For any licensing issues, contact Arm license support by email at [email protected].
Related tasks
8.4 Installing server software on Windows on page 8-84
8.5 Installing server software on Unix/Linux on page 8-85
Related reference
8.1 About the license management utilities on page 8-81
Related information
Arm Self-Service Portal
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-82
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.3 Getting the Arm® floating license server utilities
Procedure
1. Browse to the licensing utilities download page.
2. Click on the latest .zip or .tgz file for your operating system.
3. Read the License Agreement.
4. Click on the tick box to accept the terms of the License Agreement.
5. Click Download to get the FlexNet software files.
Results: The download automatically starts.
6. If the File Download dialog box is displayed, click Save to save the file to your local machine, and
follow the on-screen prompts.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-83
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.4 Installing server software on Windows
Procedure
To install the server software on a Windows floating license server:
1. Copy the FlexNet files for your Arm application into a directory, for example C:\FlexNet, on the
server.
2. Add the directory to the PATH.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-84
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.5 Installing server software on Unix/Linux
Procedure
1. Copy the files from the directory for your platform onto the server license machine.
2. Put the destination directory on your PATH environment variable.
Note
Installing the floating license server software on remotely mounted disks is not recommended
because of the additional network dependency.
3. On the floating license server machine, change to your license utilities directory, and type:
sh ./makelinks.sh
Related concepts
7.6 What version of the floating license server daemons must I use? on page 7-70
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-85
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.6 Modifying your floating license file
Prerequisites
You normally retrieve your license yourself from the Arm web licensing portal.
If you are adding this license to a floating license server that is already used for licensing FlexNet
managed tools, the same utilities must be used for all tools. You must therefore ensure that all of the
floating license server utilities are upgraded to the latest version used by any of the various tools that you
have.
Caution
You must not change anything already present in the license file other than the server name and port
number, otherwise the license file becomes invalid.
Procedure
1. Move the license file to a known location on the server. A suitable place for the license file is the
same directory as your floating license server software.
Note
The suggested file name is license.dat, and this name is used throughout this document to refer to
the license file. If you want to call the file something else, substitute your file name for license.dat.
4. Add the port number after each host ID. By default, the port number is 8224. If you do not define a
port, the operating system chooses one in the range from 27000 to 27009. This number might change
if the server is rebooted.
5. Save your edited license file as a plain text file.
Note
If you make a mistake when editing your license file, you can download the original license file again
from the Arm web licensing portal.
For example, a web-generated license file might contain the following line:
SERVER this_host 001002A34BC5
If you want to use port number 8224 on your floating license server called synchrotron, you must
change the line to:
SERVER synchrotron 001002A34BC5 8224
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-86
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.6 Modifying your floating license file
Although you cannot edit your license file except as permitted, you can add certain elements to your
license file, such as paths to an options file or vendor daemon. See the FlexNet License Administration
Guide for details.
Related tasks
2.2 Manually obtaining a license from the Arm® web licensing portal on page 2-24
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-87
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.7 Starting a Windows server from the graphical user interface
Prerequisites
If you are adding a new license to a system with a running floating license server, you must stop the
server, point the server to the new license file, then restart the server. If this is not done, the new license
information might not be recognized by the license daemons. Arm does not recommend the use of the
lmreread command.
Procedure
1. Start the lmtools.exe program..
2. On the Server/License File tab, select the Configuration using Services option, as the figure shows.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-88
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.7 Starting a Windows server from the graphical user interface
Note
The server log file can become very large, so it might be necessary for you to control its size.
5. If you require the server software to start running automatically when the server computer is turned
on:
a. Select the Use Services checkbox.
b. Select the Start Server at Power Up checkbox.
6. Click Save Service.
7. At the prompt, confirm saving the FlexNet License Manager service.
8. Click the Start/Stop/Reread tab, and ensure that the FlexNet License Manager service is selected.
9. Click Start Server to start running the floating license server software.
10. Check whether the floating license server started successfully:
a. Click the Server Status tab.
b. Click Perform Status Enquiry.
c. The status information shows that the floating license server and vendor daemon are both UP,
followed by a licensed feature usage list. Any floating license server errors are shown in the status
information.
11. After you have started the floating license server, you can use a text editor, such as Notepad, to
inspect the server debug log file.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-89
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.7 Starting a Windows server from the graphical user interface
Related concepts
8.10 About shutting down a floating license server on page 8-93
8.2 About installing the server software on page 8-82
Related tasks
7.11 How can I manage the size of the server debug log file? on page 7-76
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-90
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.8 Starting a Windows server from the command line
Prerequisites
If you are adding a new license to a system with a running floating license server, you must stop the
server, point the server to the new license file, then restart the server. If this is not done, the new license
information might not be recognized by the license daemons. Arm does not recommend the use of the
lmreread command.
Procedure
1. Go to the directory where the floating license server software is installed.
2. Enter lmgrd -c license_file_name -l logfile_name
where:
license_file_name
3. After you have started the floating license server, you can use a text editor, such as Notepad, to
inspect the server debug log file.
Related concepts
8.10 About shutting down a floating license server on page 8-93
Related tasks
7.11 How can I manage the size of the server debug log file? on page 7-76
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-91
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.9 Starting a Unix/Linux server from the command line
where:
license_file_name
Note
lmgrd does not require root privileges, Arm recommends that you start the server as a non-privileged
user, instead of giving it root privileges.
After you have started the floating license server, enter the following command to see the most recent
output from the floating license server:
tail -f logfile_name
Prerequisites
If you are adding a new license to a system with a running floating license server, you must stop the
server, point the server to the new license file, then restart the server. If this is not done, the new license
information might not be recognized by the license daemons. Arm does not recommend the use of the
lmreread command.
Related concepts
8.10 About shutting down a floating license server on page 8-93
Related tasks
7.11 How can I manage the size of the server debug log file? on page 7-76
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-92
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.10 About shutting down a floating license server
Related tasks
8.11 Shutting down a Windows server on page 8-94
8.12 Shutting down a Unix/Linux server on page 8-95
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-93
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.11 Shutting down a Windows server
Prerequisites
Avoid using the Windows Task Manager to terminate the floating license server daemons because the
processes might not end gracefully. This might cause problems on server restart. If you must forcibly
shut down a server, always stop lmgrd before armlmd.
Procedure
1. Start the lmtools.exe program.
2. Click the Start/Stop/Reread tab.
3. Click the Stop Server button to shut down the floating license server.
4. The server log, if you are using one, records that the server has been shut down.
Related tasks
8.4 Installing server software on Windows on page 8-84
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-94
reserved.
Non-Confidential
8 Setting Up a Floating License Server
8.12 Shutting down a Unix/Linux server
Prerequisites
Avoid using kill -9 to terminate the floating license server daemons because the processes might not
end gracefully. This might cause problems on server restart. If you must forcibly shut down a server,
always stop lmgrd before armlmd.
Procedure
1. Change to the directory containing the floating license server software.
2. At the command prompt, enter:
lmutil lmdown -q -c license_file_name
where:
license_file_name
Specifies the fully qualified path name of the license file that you used when you started the
server.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 8-95
reserved.
Non-Confidential
Chapter 9
Arm® License Manager Diagnostic Utility
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 9-96
reserved.
Non-Confidential
9 Arm® License Manager Diagnostic Utility
9.1 About the armlmdiag utility
Is the name of the platform you are using to run the utility.
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 9-97
reserved.
Non-Confidential
9 Arm® License Manager Diagnostic Utility
9.2 armlmdiag utility
Syntax
armlmdiag --feature name --version N.n [option]
Where:
--feature name, -f name
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 9-98
reserved.
Non-Confidential
9 Arm® License Manager Diagnostic Utility
9.2 armlmdiag utility
Related concepts
5.9 Do Arm® licenses support queuing? on page 5-52
100952_0529_00_en Copyright © 2011–2018 Arm Limited or its affiliates. All rights 9-99
reserved.
Non-Confidential