Licenseserver Usage Guide
Licenseserver Usage Guide
Japan Asia-Pacific
MSC Software Japan Ltd. MSC Software (S) Pte. Ltd.
Shinjuku First West 8F 100 Beach Road
23-7 Nishi Shinjuku #16-05 Shaw Tower
1-Chome, Shinjuku-Ku Singapore 189702
Tokyo 160-0023, JAPAN Telephone: 65-6272-0082
Telephone: (81) (3)-6911-1200 Email: [email protected]
Email: [email protected]
Worldwide Web
www.mscsoftware.com
Disclaimer
MSC Software Corporation reserves the right to make changes in specifications and other information contained in this
document without prior notice.
The concepts, methods, and examples presented in this text are for illustrative and educational purposes only, and are
not intended to be exhaustive or to apply to any particular engineering problem or design. MSC Software Corporation
assumes no liability or responsibility to any person or company for direct or indirect damages resulting from the use of
any information contained herein.
User Documentation: Copyright 2020 MSC Software Corporation. Printed in U.S.A. All Rights Reserved.
This notice shall be marked on any reproduction of this documentation, in whole or in part. Any reproduction or
distribution of this document, in whole or in part, without the prior written consent of MSC Software Corporation is
prohibited.
This software may contain certain third-party software that is protected by copyright and licensed from MSC Software
suppliers. Additional terms and conditions and/or notices may apply for certain third party software. Such additional third
party software terms and conditions and/or notices may be set forth in documentation and/or at
http://www.mscsoftware.com/thirdpartysoftware (or successor website designated by MSC from time to time).
The MSC Software Logo, MSC, Actran, Adams, MSC Apex, MSC One, Digimat, Dytran, Easy5, MSC Fatigue, Marc,
MSC Nastran, Patran, SimDesigner, Simufact, SimXpert, Sinda, and Simulating Reality are trademarks or registered
trademarks of the MSC Software Corporation and/or its subsidiaries in the United States and/or other countries. Hexagon
and the Hexagon logo are trademarks or registered trademarks of Hexagon AB and/or its subsidiaries.
NASTRAN is a registered trademark of NASA. FlexNet Manager is a trademark or registered trademark of Flexera
Software, Inc. All other trademarks are the property of their respective owners.
December 8, 2020
ZZ:LI:LIC:Z:DC-INFO-PDF
Contents
Licensing User’s Guide
Contents
Preface
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Purpose of This Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Contents of This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Typographical Conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Internet Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Section 1
Windows Operating System
Section 2
Linux Operating System
Section 3
General
Windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Linux . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Platform Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Preface
Preface
Purpose of This Guide
Contents of This Guide
Typographical Conventions
About This Guide
Technical Support
Internet Resources
8 MSC Licensing User’s Guide
About This Guide
The information in this manual is both descriptive and theoretical. You will find some techniques discussed
detail. You will also find specific instructions for operating the various options offered by Marc and Mentat.
Typographical Conventions
The section provides a brief overview of the typographical conventions used in the document to help the user
better follow the MSC Nastran documentation.
Preface 9
This section describes some syntax that will help you in understanding text in the various chapters and thus
in facilitating your learning process. It contains stylistic conventions to denote user action, to emphasize
particular aspects of Marc and Mentat to signal other differences within the text.
Adobe Body and general text
Garamond Pro
Courier New Represents command-line options of Marc and .
Directory names and paths
File names and Paths
Linux terminal script
Example: lmreread -c
<parent>/msc/MSC.Licensing/licenses/license.dat
Bold Text Highlights
Dialog box names
Buttons
Menus
User inputs
The commands/user inputs for all descriptions related to terminal commands.
Default values
Example: [root@vm-tmrhel73 MSC]# ./msc_licensing_lithium_linux64.bin
HelveticaNeueL Hyperlinks
T Pro Cn 57 Weblinks
Example: Chapter 5: Usage Reporting Tool
Italic Text Represents references to books.
Technical Support
For technical support phone numbers and contact information, please visit:
http://www.mscsoftware.com/Contents/Services/Technical-Support/Contact-Technical-Support.aspx
Support Center
http://simcompanion.mscsoftware.com
Support Online. The Support Center provides technical articles, frequently asked questions, and
documentation from a single location.
Internet Resources
MSC Software (www.mscsoftware.com)
MSC Software corporate site with information on the latest events, products, and services for the
CAD/CAE/CAM marketplace.
Section 1
Installation Prerequisites
Operating System Requirements
Installation on Windows
Upgrade/Uninstall the Existing Windows Installation
14 MSC Licensing User’s Guide
Installation Prerequisites
Installation Prerequisites
Before installing the latest MSC License Server, uninstall all the older versions of the MSC License
Server. The installer will try to detect the old installation and inform the user to uninstall/remove
the old server.
Download the MSC Licensing installation package from the MSC Software Download Center. This
installer supports 64-bit versions of Windows.
Run the installation executable with the option Run as Administrator. Certain features of the
licensing installation require administrator privileges even though the license server does not require
Administrator privileges for normal operation.
To complete the installation of MSC licensing you will need a valid MSC license file.
Note: Older versions of MSC Nastran can have problems with AUTHINFO settings greater than 6.
Installation on Windows
This section demonstrates the procedure to install the MSC License Server on Windows system.
The installation video demonstrates the licensing installation procedure with the available license.
Note: You must have a valid, unexpired MSC license file before the MSC License Server
can be installed.
If you do not have an MSC license file, contact your MSC representative before
continuing with the installation.
This screen provides the HostID that MSC uses to generate the license file. It also provides a list of
HostIDs identified by the ipconfig/all command and labels them in the Installer screen. The
preferred HostID is displayed for you on this screen.
The Choose Destination Folders window appears.
6. Specify paths for License Manager Executable Folder and License Manager Log File Folder. It is
recommended to accept the default folder locations.
To change the locations, click Browse and choose the directories to install the MSC License Server
executables and store the MSC Licensing Log Files.
The default destination for the License Manager Executable folder:
C:\Program Files\MSC.Software\MSC Licensing\Lithium
The default destination for License Manager Log File folder:
C:\MSC.Software\MSC Licensing\Lithium\LOG
Use Browse to select an alternate destination folder. You must have permission to write to the
selected folder.
7. Click Next to continue.
18 MSC Licensing User’s Guide
Installation on Windows
8. Click Browse and select the license file that was provided by MSC Software.
Fields Details
License File Reference ID Unique Reference Number for the specified
license file. This number may be helpful for
support requests.
Product Type MSC One
MasterKey Plus
Seat Based License
License Type Lease
Perpetual
Usage Reporting Requirement Automatic
Manual
No Reporting Required
The following error message appears if one or more feature entries in the license file expired.
CHAPTER 1 19
Installing MSC Licensing
9. Click OK to continue.
The Automatic Reporting of Usage Data appears.
Note: The data reporting scheme is different for different types of licenses. Contact
customer support for more details.
The MSC Licensing program includes a Usage Reporting Tool that provides valuable usage summary
information to MSC to improve our products. A full description if the usage data sent to MSC is
provided in Chapter 5: Usage Reporting Tool of this User Guide. No personal data is collected as part of
this program. To participate,
10. Click Next to continue the installation.
In cases where the customer is required to report usage and deactivates the Automatic Usage
Reporting option, the following screen will appear to inform the user of the Manual Reporting
Requirement.
20 MSC Licensing User’s Guide
Installation on Windows
11. Read the Information and click Next to continue the installation.
The Licensing Server Settings window appears.
12. Specify the License Server Settings and click Next to continue the installation.
Specify the License Server Settings as follows:
a. Specify an alternate lmgrd port number (the default value is 27500; any number from 1 to 64000
is acceptable).
b. Specify an alternate MSC daemon port number (the default value is blank; any number from 1
to 64000 is acceptable).
c. Specify an alternate hostname (For example, fully qualified hostname or IP address).
d. Optional: Browse and select the option file and path.
e. Specify the privilege level for license manager access.
CHAPTER 1 21
Installing MSC Licensing
f. The license manager will start automatically. Uncheck this box to install the license manager
without the automatic starting.
A window about the files are being copied appears.
13. Review the installation settings and click Next to complete the installation.
The MSC Licensing-InstallShield Wizard appears.
The installer creates a program group on the Start menu containing the lmtools utility. This utility
can be used to start, stop, and restart the license server, and make other changes to the license server
configuration.
22 MSC Licensing User’s Guide
Upgrade/Uninstall the Existing Windows Installation
15. Select the desktop icons to be created and click Finish to complete the installation.
Note: The MSC_LICENSE_FILE environment variable setting is displayed on the screen. Use this
setting on the client machines to access the MSC License Manager.
Repair
To repair the current installation, select repair and do the following:
1. Click Next.
The maintenance operations complete and the Maintenance Complete window appears.
It is recommended that you select the first option to restart your computer to apply the changes.
2. Click Finish.
Remove
To remove the current installation, select remove and do the following:
1. Select Remove.
2. Click Next.
The MSC Licensing - InstallShield Wizard message appears.
24 MSC Licensing User’s Guide
Upgrade/Uninstall the Existing Windows Installation
3. Click Yes.
The Setup Status window followed by the InstallShield Wizard finishes the uninstall operations and
the Maintenance Complete window appears.
It is recommended that you select the first option to restart your computer to apply the changes.
4. Click Finish.
Chapter 2: FLEXlm/FlexNet and Licensing Management
2 FLEXlm/FlexNet and
Licensing Management
Introduction to FLEXlm/FlexNet
License Request Process
Manual Configuration of License Server
Getting Started Checklist
Determining Hostid of License Server
Testing Your TCP/IP Connection
Internet Domain Name Server (DNS)
Manual Installation of MSC Licensing Using a New Windows Server
Using a Renewed/Changed License on an Existing Windows Server
Uninstalling FLEXlm
Additional Documentation
26 MSC Licensing User’s Guide
Introduction to FLEXlm/FlexNet
Introduction to FLEXlm/FlexNet
FLEXlm is a network license manager which is used to control the use of software products. FLEXlm allows
software licenses to be available (float) anywhere on a network, instead of being tied to specific machines.
Floating licensing benefits both users and system administrators. Users can make more efficient use of fewer
licenses by sharing them on the network. You can control who uses the licensed application and the node or
nodes where the licenses are available.
MSC Licensing Lithium is based on FlexNet, details of which are as follows:
Version: 11.16.3.0
Build: 246884_x64_n6
Types of Licenses
MSC Software provides you with two license options:
Concurrent License
Node-locked License
Concurrent License
A concurrent license limits the maximum number of simultaneous users of a given set of license features
within a given site. A token based (eg. MasterKey Plus and MSC One) license is essentially the same, but
allows access to all included license features, which is limited only by a maximum token count that can be
used at any one time. Both of these licenses are referred to as floating. Please contact your MSC Software sales
representative for more details on licensing options.
Typically, an MSC License Server (a separate program from the product installer) is installed on a network
server to administer the licenses. The program files are then either loaded on individual computers or on the
network server.
Node-locked License
A node-locked license is used to run a product on a given computer. The number of product applications
running at any given moment is limited by the number of seats licensed.
Both types of licenses use the license management software, which is designed to prevent tampering with the
system date. If the system date is modified after product has been installed, the product license will be
invalidated. Furthermore, a new license will not fix this problem. See the troubleshooting section in the
Release Guide for further information.
Caution: Do NOT reset the system date after the installation. This can invalidate the license. Re-
validation can be a difficult and cumbersome process.
FLEXlm Components
The four main components of FLEXlm are:
CHAPTER 2 27
General Information - MSC Licensing
License File
Licensing data is stored in a text file named license.dat. The license file is created by the MSC Software
licensing staff and sent via email to the system administrator. It contains information about the server nodes
and vendor daemons, and one line of data (called a FEATURE line) for each licensed feature. A feature line
contains an encryption code based on the data in that line, the hostids (“host-id”, or a unique
identifier for a computer) specified in the server lines, and other vendor-specific data.
Multiple License Servers: Set the MSC_LICENSE_FILE variable to reference multiple servers using a
separator character between file names; on Linux this character is a colon (“:”) and on Windows it is a
semicolon (“;”). The order of the license servers in the MSC_LICENSE_FILE variable is the order that license
servers will be checked for a license request.
Application Program
The application that employs FLEXlm licensing is linked with the program module that provides the
communication with the license daemons. During execution, the application program communicates with
the vendor daemon to request a license.
License Server
An MSC License Server is installed on a network server to administer the floating licenses within a local area
network. Then, the program files are either loaded on individual computers or on the network server. For a
single or standalone installation, the server and the application are installed on the same machine. The server
manages the License Manager and Vendor daemons.
Note: The FLEXlm version of the MSC License Server must be greater than or equal to the
FLEXlm version linked into the application programs.
Vendor Daemon
In FLEXlm, licenses are handled by running processes. Vendor daemon is the process, for each vendor that
has a FLEXlm-licensed product on the network. The MSC Software vendor daemon is called MSC. The MSC
28 MSC Licensing User’s Guide
Determining Hostid of License Server
daemon keeps track of how many licenses are checked out and who has them. Note that the MSC daemon
serves many other MSC Software products, including MSC Nastran, Patran, and Adams, among others. All
users would lose their licenses, if the MSC daemon terminates for any reason. Users regain their license when
the daemon restarts.
Client programs communicate with the vendor daemon through TCP/IP sockets. This enables client
programs and daemon processes to be on separate nodes in a network. The traffic between the client and the
daemon is machine independent, which means that any process can run on any machine type or operating
system, allowing a heterogeneous network.
6. The license module in the client returns to its caller with the grant or denial, and the application takes
the appropriate action.
On the LMTOOLS dialog, by clicking the Edit Advanced settings button Start/Stop/Reread tab, you can:
Restrict lmdown: So that it only works logged into the system hosting the license server. This
prevents the license server from being shutdown from a remote machine.
Disable lmdown utility: Use of task manager prevents the lmdown utility from running on the
machine hosting the license server. The license server can only be shutdown using the task manager.
Disable lmremove of license file: By selecting this, licenses checked out by users cannot be removed
from the license server.
Start Server: This starts the license server on the host machine.
Stop Server: This asks the license server to stop on the host machine.
32 MSC Licensing User’s Guide
Using a Renewed/Changed License on an Existing Windows Server
• Force Server Shutdown: By selecting this button, the license server will be forced to stop
regardless of what the server is doing.
ReRead License File: Forces the license server to reread the license file. This can be used when you
get a new license file and do not want to stop and restart the license server.
Note: MSC does not support re-reads involving change of license type (for example, seat based to
GROUP).
3. Change the SERVER and DAEMON lines in the new license file to include the same port number, server
name, and paths as the existing file. For example:
SERVER server1 123465 27500
DAEMON MSC “c:\Program Files\MSC.Software\MSC
Licensing\Lithium\msc.exe”
b. Select appropriate license server in box below (if you have more than one).
34 MSC Licensing User’s Guide
Using a Renewed/Changed License on an Existing Windows Server
Uninstalling FLEXlm
To uninstall FLEXlm on Windows, follow either one of the following procedures.
Execute same MSC Licensing installer (which was used to install it) and then select Remove.
Go to Control Panel Programs and Features MSC Licensing Lithium and then click
Uninstall.
Click one of the option Modify/Repair/Remove.
Reinstalling FLEXlm
If you do not wish to remove the FLEXlm, you can instead reinstall the FLEXlm server.
In order to override the previous installation, execute same MSC Licensing installer (which was used to install
it). This program allows the user to Modify/Repair/Remove.
Additional Documentation
To obtain additional information on the FLEXlm license manager, visit the Flexera Software website at
http://www.flexerasoftware.com/
36 MSC Licensing User’s Guide
Additional Documentation
Section 2: Linux Operating System
Section 2
Installation Prerequisites
Operating System Requirements
Installation on Linux
Upgrade/Uninstall the Existing Linux Installation
40 MSC Licensing User’s Guide
Installation Prerequisites
Installation Prerequisites
Verify that a Java runtime environment is installed on the system. Java can be downloaded from
www.java.com.
Download the MSC Licensing installation package for your platform from MSC’s Software
Download Center.
The installer package for Linux platform supports both GUI and terminal-mode installations. MSC
recommends that the installer be run in a GUI environment.
Run the installer to begin the installation. Use of a root account or sudo is not required. However,
running the installation as root allows the installer to use system resources that require root
privileges.
Note: Older versions of MSC Nastran can have problems with AUTHINFO settings greater than 6.
CHAPTER 3 41
Installing MSC Licensing
Installation on Linux
This section demonstrates the procedure to install the MSC License Server on your Linux system.
The installation video demonstrates the licensing installation procedure with the available license.
3. If your system already has the older version of the MSC Licensing Server then it will show the
following message:
Note: You must have a valid, unexpired MSC license file before the MSC License Server
can be installed.
If you do not have an MSC license file, contact your MSC representative before
continuing with the installation.
This screen provides the HostID that MSC uses to generate the license file. It also provides a list of
HostIDs identified by the ipconfig/all command and labels them in the Installer screen. The preferred
HostID is displayed for you on this screen.
5. Review the installer requirements and click Next to continue.
CHAPTER 3 43
Installing MSC Licensing
8. Click Browse and select the license file that was provided by MSC Software.
44 MSC Licensing User’s Guide
Installation on Linux
The following error message appears if one or more feature entries in the license file expired.
9. Click OK to continue.
10. Click Next.
The Details of the License File Selected window appears.
Fields Details
License File Reference ID Unique Reference Number for the specified
license file. This number may be helpful for
support requests.
Product Type MSC One
MasterKey Plus
Seat Based License
License Type Lease
Perpetual
Usage Reporting Requirement Automatic
Manual
No Reporting Required
CHAPTER 3 45
Installing MSC Licensing
Note: The data reporting scheme is different for different types of licenses. Contact
customer support for more details.
The MSC Licensing program includes a Usage Reporting Tool that provides valuable usage summary
information to MSC to improve our products. A full description if the usage data sent to MSC is
provided in Chapter 4: FLEXlm/FlexNet and Licensing Management of this User Guide in the Linux section.
No personal data is collected as part of this program. To disagree, uncheck the I agree to the
automatic reporting of usage data option.
12. Click Next to continue the installation
In cases where the customer is required to report usage and deactivates the Automatic Usage
Reporting option, to inform the user of the Manual Reporting Requirement, the following screen
will appear.
46 MSC Licensing User’s Guide
Installation on Linux
13. Read the Information and click Next to continue with the installation.
The License Server Setting options appears.
15. Review the installation settings and click Next to complete the installation.
An MSC Licensing Installation Program prompt appears.
The installer creates a sample script that can be used to start the license server after a system reboot.
This script and a README file with important details are written to a directory named
startup_script under the installation directory you selected.
16. Click OK
This finishes the installation of MSC License Server.
48 MSC Licensing User’s Guide
Upgrade/Uninstall the Existing Linux Installation
Terminal/Console Mode
If you do not have access to a GUI environment, you can run the installer in a standard terminal window by
adding the arguments –-mode console to the installer command line.
Console mode is similar to GUI mode, with these important differences:
In console mode, file and directory browsing is not available. You must manually enter these items.
To select an option from a list, enter the text found between the brackets for that option.
3. Click one of the option as shown below and click Next to continue.
4. Repeat the procedure same as installation.
50 MSC Licensing User’s Guide
Upgrade/Uninstall the Existing Linux Installation
Chapter 4: FLEXlm/FlexNet and Licensing Management
4 FLEXlm/FlexNet and
Licensing Management
Introduction to FLEXlm/FlexNet
License Request Process
Manual Configuration of License Server
Getting Started Checklist
Determining Hostid of License Server
Testing Your TCP/IP Connection
Internet Domain Name Server (DNS)
Manual Installation of MSC License Server Using a New LINUX Server
Using a Renewed/Changed License on an Existing LINUX Server
Restarting MSC Licensing Server on Linux
Uninstalling FLEXlm
Additional Documentation
52 MSC Licensing User’s Guide
Introduction to FLEXlm/FlexNet
Introduction to FLEXlm/FlexNet
FLEXlm is a network license manager which is used to control the use of software products. FLEXlm allows
software licenses to be available (float) anywhere on a network, instead of being tied to specific machines.
Floating licensing benefits both users and system administrators. Users can make more efficient use of fewer
licenses by sharing them on the network. You can control who uses the licensed application and the node or
nodes where the licenses are available.
MSC Licensing Lithium is based on FlexNet, details of which are as follows:
Version: 11.16.3.0
Build: 246844 x64_lsb
Types of Licenses
MSC Software provides you with two license options:
Concurrent license
Node-locked license
Concurrent License
A concurrent license limits the maximum number of simultaneous users of a given set of license features
within a given site. A token based (eg. MasterKey Plus and MSC One) license is essentially the same, but
allows access to all included license features, which is limited only by a maximum token count that can be
used at any one time. Both of these licenses are referred to as floating. For details on licensing options, contact
your MSC Software sales representative.
Typically, an MSC License Server (a separate program from the product installer) is installed on a network
server to administer the licenses. The program files are then either loaded on individual computers or on the
network server.
Node-locked License
A node-locked license is used to run a product on a given computer. The number of product applications
running at any given moment is limited by the number of seats licensed.
Both types of licenses use the license management software, which is designed to prevent tampering with the
system date. If the system date is modified after product has been installed, the product license will be
invalidated. Furthermore, a new license will not fix this problem. See the troubleshooting section in the
Release Guide for further information.
Caution: Do NOT reset the system date after the installation. This can invalidate the license. Re-
validation can be a difficult and cumbersome process.
FLEXlm Components
The four main components of FLEXlm are:
CHAPTER 4 53
General Information - MSC Licensing
License File
Licensing data is stored in a text file called the license file. The name of the license file is license.dat. The
license file is created by the MSC Software licensing staff and sent via email to the system administrator. It
contains information about the server nodes and vendor daemons, and one line of data (called a FEATURE
line) for each licensed feature. A feature line contains an encryption code based on the data in that line, the
hostids (“host-id”, or a unique identifier for a computer) specified in the server lines,
and other vendor-specific data.
Multiple License Servers: Set the MSC_LICENSE_FILE variable to reference multiple servers using a
separator character between file names. On Linux this character is a colon (“:”).The order of the license
servers in the MSC_LICENSE_FILE variable is the order that license servers will be checked for a license
request.
Application Program
The application that employs FLEXlm licensing is linked with the program module that provides the
communication with the license daemons. During execution, the application program communicates with
the vendor daemon to request a license.
License Server
An MSC License Server is installed on a network server to administer the floating licenses within a local area
network. Then, the program files are either loaded on individual computers or on the network server. For a
single or standalone installation, the server and the application are installed on the same machine. The server
manages the License Manager and Vendor daemons.
Note: The FLEXlm version of the MSC License Server must be greater than or equal to the
FLEXlm version linked into the application programs.
Vendor Daemon
In FLEXlm, licenses are handled by running processes. Vendor daemon is the process, for each vendor that
has a FLEXlm-licensed product on the network. The MSC Software vendor daemon is called MSC. The MSC
daemon keeps track of how many licenses are checked out and who has them. Note that the MSC daemon
serves many other MSC Software products, including MSC Nastran, Patran, and Adams, among others. All
users would lose their licenses, if the MSC daemon terminates for any reason. Users regain their license when
the daemon restarts.
Client programs communicate with the vendor daemon through TCP/IP sockets. This enables client
programs and daemon processes to be on separate nodes in a network. Any process can run on any machine
type or operating system, allowing a heterogeneous network. The traffic between the client and the daemon
is machine independent.
5. The vendor daemon checks to see if any licenses are available and sends a grant or denial back to the
client.
6. The license module in the client returns to its caller with the grant or denial, and the application takes
the appropriate action.
6. Clients with network-licensed MSC software installations are encouraged to employ the most recent
versions of the FLEXlm and MSC licensing daemons (lmgrd,lmutil,msc). These binaries
maintain downward compatibility, and regular upgrades are recommended, regardless of whether or
not the current software application level requires the upgrade. Updates are available at:
https://mscsoftware.subscribenet.com/control/mnsc/product?child_plneID=593623
Here is an example of the changes needed to be made for the above file. In the example, the server
name is ind-Ashu and the default installation directory was used.
SERVER ind-Ashu 12345678 27500
DAEMON MSC C:\MSC.Software\MSC Licensing\Lithium\msc.exe
#
# MSC License Reference ID: 59TG
#
#-#
#-# This license file is restricted to use by clients in the same location as the
license server
#-#
#
# MSC Nastran
#
FEATURE NASTRAN MSC 2017.0628 28-jun-2017 1 ED97453C93A6 \
VENDOR_STRING=PID:10652 ISSUED=29-jun-2016 ck=141 \
SN=1203862-a6382ca550b364f60e0f-2c2f
FEATURE NA_Thermal MSC 2017.0628 28-jun-2017 1 BB8A3B089AF1 \
VENDOR_STRING=PID:3002,3003 ISSUED=29-jun-2016 ck=189 \
SN=1138845-f6205ec4fbe7329339be-3b30
FEATURE NA_DMAP MSC 2017.0628 28-jun-2017 1 FD652933FAC7 \
ISSUED=29-jun-2016 ck=139 SN=1164504-093d6d6ae7ef8dd13594-a859
FEATURE NA_Dynamics MSC 2017.0628 28-jun-2017 1 CC25C4107563 \
ISSUED=29-jun-2016 ck=101 SN=915407-253bbea2e116836e48d0-da03
FEATURE NA_Nonlinear MSC 2017.0628 28-jun-2017 1 E16DB1DC662A \
VENDOR_STRING=PID:3003,10464 ISSUED=29-jun-2016 ck=149 \
SN=1110362-157249f70365b7a14431-7704
Restart Daemon
Restart the daemons as follows:
# msc/MSC.Software/MSC Licensing/Lithium/lmutil lmdown -c <path>/license.dat
# MSC.Software/MSC Licensing/Lithium/lmgrd -c <path>/license.dat
a. export MSCLIC_INI=msclic.ini
b. ./lmgrd -c license.dat -l lmgrd.log
Uninstalling FLEXlm
To uninstall FLEXlm on Linux, follow the procedure as follows.
Reinstalling FLEXlm
You can reinstall the FLEXlm server, if you do not want to remove the FLEXlm files manually. In order to
override the previous installation you must install FLEXlm in the same location with the same options as your
previous installation. This program allows the user to Modify/Repair/Remove.
Additional Documentation
To obtain additional information on the FLEXlm license manager, visit the Flexera Software website at
http://www.flexerasoftware.com/
Section 3: General
Section 3
General
Chapter 5: Usage Reporting Tool
Usage Reporting Overview
Usage Reporting Details
Manual Usage Reporting
Usage Reporting Overview
The MSC Licensing installer includes a Usage Reporting Tool.
Where applicable, the Usage Reporting Tool logs information about each check-in in a Daily Detailed
Usage (DDU) log file on the license server. Each day after midnight (local time), the DDU log file is
converted to a Daily Summary Usage (DSU) file. If the automatic reporting option is enabled, the DSU file
is automatically transmitted via the internet to an MSC-designated data repository. If you choose the manual
reporting option, you should follow the instructions in this guide to manually upload the DSU files to the
MSC-designated data repository.
The DDU and DSU files are ASCII text files that you can view. The format of the files and descriptions of
the contents are described in more detail below.
For customers using the Burst token pools for on-demand capacity, additional data will be included in the
usage reporting to record the number of burst tokens used for the reporting period. See the BURST POOL
Reporting section for more details.
U,171129,112515,73,0026b98609df,2CCOD_1UI95_24ENF8WV_1I6ARTD,13,3520808a,MSC
ONE:FFT_Actran_VA,14,57,1,80:30,8,78,4,56,c8bcf0ee,85e84001,H
P,171129,112637,,0026b98609df,2CCOD_1UI95_24ENF8WV_1I6ARTD,2,3520808a,MSCONE
:FFT_Actran_Acoustics,28,43,1,80,8,78,1,28,df997ff8d4f7b30ca3af939c07ac499a,
,H
U,171129,112637,155,0026b98609df,2CCOD_1UI95_24ENF8WV_1I6ARTD,14,3520808a,MS
CONE:FFT_Actran_VA,14,43,1,80:30,8,78,4,56,997d7014,a7ab7335,H
P,171129,112807,,0026b98609df,2CCOD_1UI95_24ENF8WV_1I6ARTD,3,3520808a,MSCONE
:FFT_Actran_Acoustics,28,29,1,80,8,78,1,28,df997ff8d4f7b30ca3af939c07ac499a,
,H
U,171129,112807,245,0026b98609df,2CCOD_1UI95_24ENF8WV_1I6ARTD,15,3520808a,MS
CONE:FFT_Actran_VA,14,29,1,80:30,8,78,4,56,bfebe11b,920eb039,H
66 MSC Licensing User’s Guide
Usage Reporting Details
The format of the DDU file, excluding the header, is described in the following table:
The first field of each line will commonly be either H (Header Entry), D (Date Stamp), T (Time Stamp), U
(Usage Record), Q (Queue Record), P (Processed Queue Record), G (GROUP features) and R (REREAD
event).
The fields for the Date Stamp entry are:
The field entries for the Usage Record, Queue Record, and Processed Queue Record are:
Note: For P and Q records that the duration field is empty, the sequence number is incremented
differently than Q records, check field sum 1 field uses longer format, and check field sum
2 field is empty.
When the DDU file is processed by the summarizer routine, the filename extension will be changed
to DDP. The P stands for processed.
The fields for the G line entry are:
G,gfeature,max_users,base,dataver
where
Fields Description
gfeature = Group feature [ MSC One / CAMPUS }
max_users = Total token pool size
base = Base token size
dataver = Version of Usage Reporting Tool
Note: 1. Burst and/or growth token values are not included on G lines;
2. If a license file contains more than one GROUP target feature, such as both MSCONE
and CAMPUS, then one G line is written for each GROUP target. (This can occur if
an end-user manually combines an MSC One license file with a MasterKey+ license
file; this combination is not officially supported by MSC Software, but there's no
technical way to prevent it from occurring.)
3. GROUP targets that are referenced less than two times do not result in G lines. Seat-
based licenses that include Nastran and/or Adams features contain MD-based features
that use a GROUP entry targeting the non-MD feature; this is done so that use of
either the MD or non-MD feature pulls from the same seat pool. (For example, the
NASTRAN feature has a companion 1-seat MD_NASTRAN feature definition that uses a
GROUP:NASTRAN,1 entry; when MD_NASTRAN is checked out, it pulls from the
NASTRAN feature's license pool.
4. The summarizer uses G lines only for NODATA situations. G lines in the DDU are used
to construct the U NODATA lines for each GROUP when a NODATA reporting period
is processed.
5. G lines are written only for GROUPs that are referenced by two or more FEATUREs
which include IDENT lines.
CHAPTER 5 69
Usage Reporting Tool
Fields Description
ts YYMMDD - see the section "Fields common to multiple entries” for complete details
ur HHMMSS - see the section "Fields common to multiple entries" for complete details.
The format of the DSU file, excluding the header, is described in the following table:
The first field of each line will be either an H (Header Entry), S (Usage Summary), or T (Time Stamp).
CHAPTER 5 71
Usage Reporting Tool
When the DSU file is processed by the uploading routine, the filename extension will be changed to DSP.
The P stands for processed.
Automatic Upload
If the Usage Reporting Tool is enabled for automatic usage reporting, the DSU log file will be transmitted
daily to the MSC-designated data repository. Standard HTTPS web encryption technology is used for the
transmission of the data.
72 MSC Licensing User’s Guide
Usage Reporting Details
The DDP and DSP files will be retained on your license server after the transmission and may be used by the
customer to understand usage.
For manual uploading, please see the Manual Usage Reporting section of this document.
NODATA Reporting
In some cases, for a given reporting period such as on a weekend or holiday period, there will be no usage
data to report. In such cases, the license server will still report, but the usage will be a ‘NODATA’ report. An
example of the “NODATA” report is shown below.
H,yymmdd,mscid,osid,feature,count,smins,uniqusers,usermaxcnt,usermaxs
min,liccnt,glic,hwm,chwm,bhwm,bchwm,blv,ck1,ck2,vers
S,190528,a44cc86fa245,38N55_2TIGX_1S19BJJF45_17OK433-641N-
MAN,MSCONE:NODATA,0,0,0,0,0,0,80,0,0,30,50,0,0,0,He
T,190528,200030,d41d8cd98f00b204e9800998ecf8427e
It is important to still report during a period of no usage so that the non-usage period will not be mistaken
for failure to report.
Triad Servers
The Usage Reporting Tool supports the triad server environment. In a triad server, all three servers will report
the usage. In some cases, there will be no usage to report from one or more servers in the triad. For triad
servers that do not have any usage data, the NODATA report discussed in the previous section will be sent.
Note that in the GUI mode of the installer, the SERVER lines in the license.dat file will be incorrect when
a TRIAD license file is provided. The host names for all three servers will be set to the fqdn of the installation
system. These must be manually corrected for the case of a TRIAD license file. For Linux, the console mode
will set the three license SERVER lines correctly.
Windows
1. To run the Uploader, enter these commands:
cd C:\MSC.Software\MSC Licensing\Lithium
uploader -p %LOGDIR%
where %LOGDIR% is the folder that contains the DSU files to be uploaded.
Note: Write permissions to the %LOGDIR% folder are required. The mscusage.mpl file contains the
Uploader execution status.
Linux
1. To run the Uploader, enter these commands:
cd /msc/MSC.Software/MSC Licensing/Lithium
./uploader –p %LOGDIR%
where,
%LOGDIR% is the directory that contains the DSU files to be uploaded.
Platform Notes
SuSE Linux
On SuSE Linux systems, the Uploader works in IPv4 and dual-stack IPv4/IPv6 network environments.
However, the Uploader cannot be used on systems running in an IPv6-only network configuration.