GoldSim License Server User Guide May 2023
GoldSim License Server User Guide May 2023
User Guide
26 May 2023
Copyright GoldSim Technology Group LLC, 2023. All rights reserved. GoldSim is a registered trademark
of GoldSim Technology Group LLC.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
Address:
255 S. King Street, Suite 800
Seattle, Washington 98104
USA
Website: goldsim.com
Sales: [email protected]
Tables
Table 1: Recommended OS and Architecture for Physical License Server Machines................................... 3
Table 2 - FNP Toolkit versions ..................................................................................................................... 11
Table 3: Flexera License Server Utilities which work with GoldSim License Server ................................... 81
Table 4: Description of Options Keywords used in example options file ................................................... 86
Table 5: Common Environment Variables .................................................................................................. 87
Figures
Figure 1 - GoldSim License Server Activation Utility ..................................................................................... 5
Figure 2: Microsoft Visual C++ 2015 Redistributable Installer...................................................................... 6
Figure 3: GLSActUtil Installer - Welcome screen .......................................................................................... 7
Figure 4: GLSActUtil Installer - License agreement ....................................................................................... 7
Figure 5: GLSActUtil Installer - Ready to install............................................................................................. 8
Figure 6: GLSActUtil Installer - Install complete ........................................................................................... 8
Figure 7: GLSActUtil on the Start Menu ........................................................................................................ 9
Figure 8: GLSActUtil with no Fulfillments ..................................................................................................... 9
Figure 9: Network License Activation dialog................................................................................................. 9
Figure 10: License activation successful ..................................................................................................... 10
Figure 11: GLSActUtil - Details... options .................................................................................................... 10
GoldSim License Server
ii
Figure 12: GLSActUtil installation directory ................................................................................................ 10
Figure 13 - IBM JRE Downloads................................................................................................................... 13
Figure 14 - Oracle JRE Downloads............................................................................................................... 14
Figure 15: FNPLS Installation Package - Introduction ................................................................................. 14
Figure 16: FNPLS Installation Package - Choose Install Folder.................................................................... 15
Figure 17: FNPLS Installation Package - Choose Data Folder...................................................................... 15
Figure 18: FNPLS Installation Package - DO NOT Import files from Previous ............................................. 16
Figure 19: FNPLS Installation Package - Pre-Installation Summary ............................................................ 16
Figure 20: FNPLS Installation Package - Installing....................................................................................... 17
Figure 21: FNPLS Installation Package - Important Information................................................................. 17
Figure 22: C++ 2008 Redistributable, select "Repair" ................................................................................. 18
Figure 23: FNPLS Installation Package - Launch Configuration, set FNPLS ports........................................ 18
Figure 24: FNPLS Installation Package - Launch Configuration, timeout intervals ..................................... 19
Figure 25: FNPLS Installation Package - Service Configuration................................................................... 19
Figure 26: FNPLS Installation Package - Install Complete ........................................................................... 20
Figure 27: After FNPLS installation is complete, start the lmadmin service ............................................... 20
Figure 28: License server management interface, or web GUI, Dashboard after clean install .................. 21
Figure 29: Web GUI Administration requires login ..................................................................................... 22
Figure 30: A password change is required on first login ............................................................................. 22
Figure 31. HTTP Port is found in Web Server Configuration section of Server Configuration.................... 23
Figure 32. lmadmin Port is found in License Server Configuration section of Server Configuration ......... 23
Figure 33. Click Stop to apply changes to the Vendor Daemon Settings.................................................... 24
Figure 34. Configure Vendor Daemon Port Number .................................................................................. 24
Figure 35. System Information for an existing FNPLS installation .............................................................. 26
Figure 36. Vendor daemon version and port number for an existing FNPLS installation .......................... 26
Figure 37. Stop the lmadmin Windows service .......................................................................................... 26
Figure 38. Run the FNPLS installer as administrator................................................................................... 27
Figure 39. Begin the Installation ................................................................................................................. 27
Figure 40. Select an installation folder different than the old FNPLS version ............................................ 28
Figure 41. Select a data folder without spaces and that does not conflict with the old installation ......... 28
Figure 42. Import log files, configuration data, and vendor daemons from old FNPLS installation........... 29
Figure 43. Pre-Installation Summary .......................................................................................................... 29
Figure 44. Installation Process .................................................................................................................... 30
Figure 45. Install Visual C++ Redistributable Package ................................................................................ 30
Figure 46. C++ Redistributable Installation ................................................................................................. 31
Figure 47. Specify a Service name different from that for the old installation .......................................... 31
Figure 48. Service Configuration Import Process........................................................................................ 32
Figure 49. Successful Installation Complete ............................................................................................... 32
Figure 50. Confirm the old Windows service is stopped and start the new service................................... 33
Figure 51. Confirm that the license server management interface shows at least 1 valid license ............ 33
Figure 52. Login to the FNPLS management interface with your existing username and password ......... 34
Figure 53. Stop the FNPLS Windows service before updating the GTG vendor daemon ........................... 35
Figure 54. Run the GLSActUtil installer with administrator privileges ....................................................... 35
Figure 55. Confirm that you want to perform an upgrade to GLSActUtil ................................................... 35
GoldSim License Server
iii
Figure 56. Copy the new GTG vendor daemon files to the new installation folder ................................... 36
Figure 57. Restart the FNPLS service and confirm that the GTG vendor daemon is up ............................. 36
Figure 58. Set the old FNPLS Windows service to manually launch ........................................................... 37
Figure 59. Stop both the old and the new FNPLS Windows services ......................................................... 37
Figure 60. Run the uninstaller for the old FNPLS with administrator privileges ........................................ 38
Figure 61. Starting the Uninstall Process .................................................................................................... 38
Figure 62. Choose to Save Log Files ............................................................................................................ 38
Figure 63. Stop and remove the old FNPLS Windows service .................................................................... 39
Figure 64. Successfully Uninstalled ............................................................................................................. 39
Figure 65. Restart the FNPLS Windows service .......................................................................................... 40
Figure 66. The license server may not be able to restart the GTG vendor daemon................................... 40
Figure 67. In the ‘Vendor Daemon Configuration’ tab, select ‘Choose File’............................................... 40
Figure 68. Select the GTG.lic file in the GTG subfolder of the FNPLS installation folder ............................ 41
Figure 69. Import the GTG.lic file ................................................................................................................ 41
Figure 70. Start the GTG vendor daemon if it does not restart .................................................................. 42
Figure 71. Confirm that the GTG vendor daemon is now running ............................................................. 42
Figure 73: GTG directory contents .............................................................................................................. 43
Figure 74: Use the "Vendor Daemon Configuration" tab at the left to install a vendor daemon .............. 45
Figure 75: Use the "Overwrite License File on License Server" option....................................................... 45
Figure 76: Successful vendor daemon import ............................................................................................ 46
Figure 77: Newly imported vendor daemon running ................................................................................. 46
Figure 78: Vendor daemon administration................................................................................................. 47
Figure 79: GoldSim Licensing splash screen................................................................................................ 48
Figure 80: Network License Configuration dialog ....................................................................................... 48
Figure 81: "GoldSim Licensing" dialog showing the successful check-out of a network license ................ 49
Figure 82: lmadmin web GUI Administration | System Information .......................................................... 52
Figure 83: lmadmin web GUI Administration | Server Configuration ........................................................ 52
Figure 84: Example of built-in lmadmin web GUI Help Library................................................................... 53
Figure 85: "Network License Configuration" dialog.................................................................................... 54
Figure 86: Web GUI "Activatable" Licenses Dashboard view ..................................................................... 55
Figure 87: Hosts dialog from "Activatable" Licenses .................................................................................. 55
Figure 88: Host Details, accessed from Hosts Dialog, Figure 87 ................................................................. 55
Figure 89: Fulfillments Dialog from "Activatable" Licenses ........................................................................ 56
Figure 90: Web GUI "Concurrent" Licenses Dashboard view ..................................................................... 57
Figure 91: Hosts dialog accessed via link on "Concurrent" Licenses Dashboard view ............................... 57
Figure 92: lmstat output for looking at license server status ..................................................................... 58
Figure 93: GLSActUtil - Main Network License Management dialog .......................................................... 59
Figure 94: GLSActUtil - Network License Activation dialog ........................................................................ 60
Figure 95: Activation Successful.................................................................................................................. 60
Figure 96: GLSActUtil - Main Network License Management dialog with new Activation ID and Expiration
.................................................................................................................................................................... 60
Figure 97: GLSActUtil - Return confirmation/warning dialog ..................................................................... 62
Figure 98: GLSActUtil - Main Network License Management dialog, empty after successful return ........ 62
Figure 99: Initiate Borrowing from client computer using "GoldSim Licensing" dialog (Help | Licensing) 64
GoldSim License Server
iv
Figure 100: "Borrow from License Server" dialog....................................................................................... 65
Figure 101: Successful borrow .................................................................................................................... 65
Figure 102: GoldSim Licensing showing successful borrow ........................................................................ 66
Figure 103: Trusted storage on the client which shows the successful borrow ......................................... 67
Figure 104: Trusted Storage excerpt from License Server showing a borrowed license (i.e. a deduction) 68
Figure 105: GoldSim Licensing dialog showing a borrowed license ........................................................... 69
Figure 106: Return of borrowed license confirmation dialog..................................................................... 70
Figure 107: Return Borrowed License dialog .............................................................................................. 70
Figure 108: Return of the borrowed license was successful ...................................................................... 70
Figure 109: Install lmadmin as a Windows Service ..................................................................................... 72
Figure 110: lmadmin added as a local Windows Service ............................................................................ 72
Figure 111: New lmadmin Windows Service properties............................................................................. 72
Figure 112: lmadmin command line options .............................................................................................. 73
Figure 113: Explanation of the new "conf" folder command line switch ................................................... 74
Figure 114: lmadmin web GUI Administration dashboard, User Configuration, Locally Managed Users.. 75
Figure 115: lmadmin web GUI Administration dashboard, User Configuration, Domain Users / Groups . 75
Figure 116: Standard FNPLS logs from FlexNet Publisher: License Administration Guide ......................... 76
Figure 117: Complete listing of Flexera license server utilities .................................................................. 80
Figure 118: Example of lmutil.exe lmdiag usage ........................................................................................ 82
Figure 119: Example of lmutil.exe lmdown usage ...................................................................................... 82
Figure 120: Example of lmutil.exe lmhostid usage ..................................................................................... 82
Figure 121: Example of lmutil.exe lmreread usage .................................................................................... 83
Figure 122: Example of lmutil.exe lmstat usage with port@FQDN syntax ................................................. 83
Figure 123: Example of lmutil.exe lmstat usage, referencing license file................................................... 83
Figure 124: Example of lmutil.exe lmver usage .......................................................................................... 84
Figure 125: Example of lmutil.exe lmvminfo usage .................................................................................... 84
Figure 126: An example options file ........................................................................................................... 85
Figure 127: License file with options file path in fourth entry on VENDOR line ......................................... 86
Figure 128: GLSActUtil - Example of "Details...", "Copy to Clipboard" output ........................................... 91
1 Introduction
GoldSim uses Flexera’s FlexNet Publisher (FNP) trusted storage licensing system. One feature of this
licensing system is the ability to provide concurrent, counted licenses on a network using a license
server. This functionality is sometimes referred to as “floating licenses” because the individual licenses
(or seats) can move or float between different computers on the network. The network license we
provide is called the GoldSim Concurrent Network license. For comparisons of all of our license options,
please refer to our licensing web page.
Installation and configuration of a GoldSim Concurrent Network license is a three-part process which
involves the installation and configuration of three software components to set up a GoldSim License
Server:
1. FlexNet Publisher License Server (FNPLS) is the license server and is the main component.
GoldSim software uses the FNPLS to serve GoldSim Concurrent Network licenses. The
installation package is available from the GoldSim website Network License Downloads section.
This installation package was created and is provided by Flexera. This server is produced and
maintained by Flexera, independent of GoldSim Technology Group (GTG). FNPLS can serve
licenses for multiple software products produced by different companies.
2. GoldSim vendor daemon, GTG.exe, provides the interface between FNPLS and a GoldSim
software license fulfilled on the license server computer. It mediates between FNPLS and
GoldSim software licenses to serve licenses to GoldSim software products installed on client
machines. Client machines are computers attached via local TCP/IP network which obtain
GoldSim software licenses from the FNPLS. GTG.exe is transferred to the license server
computer as part of the GoldSim License Server Activation Utility (GLSActUtil) installation
package.
3. GoldSim License Server Activation Utility (GLSActUtil) provides a convenience tool for license
management and provides the means for installing or activating a license on the license server
computer. GLSActUtil also provides some basic license management functionality. The
installation package for GLSActUtil is available from the GoldSim website Network License
Downloads section.
When you purchased a GoldSim Concurrent Network license an Entitlement Certificate is also emailed to
the designated license contact for the license. Please contact GoldSim Support to change the designated
license contact. This Entitlement Certificate contains a unique Entitlement ID and an Activation ID. The
Activation ID is required to install your license on your license server computer. The valid Activation ID
for your license will change each time the license is renewed, which is typically every year from the
month of purchase. The Entitlement ID is constant and uniquely identifies your license. You can look up
a license in the License Portal using either the Entitlement ID or the Activation ID.
Before starting the installation process, you need to purchase a GoldSim Concurrent Network license and
have the Activation ID provided in the Entitlement Certificate. This guide assumes that you are installing
a new FlexNet Publisher License Server and thus a new GoldSim License Server and that there are no
existing license servers already installed on this machine. If you are upgrading an existing installation of
FNPLS, please see Section 0.
1. Designate a License Administrator with administrative privileges on the server machine. This
person is responsible for:
a. Installation, configuration, and maintenance of the GoldSim License Server.
b. Communicating configuration details to client users
c. Ensuring that the License Administrator’s contact information is up to date.
2. Select a computer on which to install the GoldSim license server.
a. Review the system requirements for the FNPLS in FlexNet Publisher License
Administration Guide, which can be downloaded from our Network Downloads web
page under the Other Resources section.
b. Ensure that the License Server computer and the TCP/IP network topology meet the
minimum requirements and recommendations specified in Section 1.3.
3. Install the GoldSim License Server Activation Utility (GLSActUtil). This also places a copy of the
vendor daemon, GTG.exe, on the license server machine. Follow the instructions in Section 0.
4. Install (or upgrade) the FlexNet Publisher License Server (FNPLS): follow the instructions in
Section 3.
5. Install the GoldSim vendor daemon, GTG.exe. Follow the instructions in Section 4.1.
6. Examine the advanced configuration information in Section 7. Many of these configuration steps
are strongly recommended.
In addition, Table 1 only applies to physical license server machines. It may be possible to install,
configure, and use a GoldSim License Server on other OSes, architectures, and in virtual environments
but GTG only provides support for systems that meet the recommendations in Table 1. Note that
Installing FNPLS requires C++ redistributable package. If you don't have this C++ redistributable package
installed, you will need to install it and a restart may be required thereafter. It is recommended to
restart after installing C++ redistributables. You should plan for this possible restart before starting the
installation process.
Client machines running GoldSim need to be connected to the license server across a TCP/IP network.
This connection needs to be persistent and robust as the license server and the clients will check in with
each other on regular time intervals. Failure of this communication will lead to the client machine losing
the license. Additionally, the TCP/IP network is not the “internet”. The GoldSim License Server, at least
at this point, is not a Cloud License Server so that a regular ISP internet connection is not necessarily
sufficient for a TCP/IP network connection. Given the connection requirements, always test client
connectivity to the license server by doing the following:
1. Connect a client to the license server using a client running on the same machine as the license
server.
2. Connect a client running on the same subnet of the local area network (LAN) as the license
server machine after disabling all firewalls in between the client and server (i.e. disable the
Windows Firewall on both before testing).
The GoldSim License Server is NOT guaranteed to seamlessly serve licenses across the world (i.e. from
Canada to clients in Australia). This may work seamlessly in particular situations; however, GTG cannot
configure or manage your wide area network (WAN) so NO support, paid or otherwise, is provided for
this type of connection issue.
The GoldSim License Server is also NOT guaranteed to work across your Virtual Private Network (VPN).
In testing, the GoldSim License Server has worked flawlessly across several VPN configurations.
However, GTG cannot configure or manage your VPN and so NO support, paid or otherwise, is provided
for VPN-related, GoldSim License Server connection issues.
For network connectivity scenarios/concerns outside of the two supported scenarios listed in #1 and #2
above, GTG will provide a 1 month, trial deployment license for your use in testing your proposed
installation and configuration prior to license purchase. But NO license server support is available from
GTG for the trial deployment and NO license server support will be available for VPN or continent-
spanning connection issues after purchase.
GoldSim Concurrent Network licenses use FlexNet Publisher Trusted Storage-based licensing. Trusted
Storage is a secure storage area where license rights are stored on a computer. Trusted Storage is
analogous to a license file, except trusted storage is more hidden on the hard disk and protected from
unauthorized access than an actual license file would be. For GoldSim Concurrent Network licenses, a
client computer can check out licenses from Trusted Storage on the server.
The GLSActUtil allows you to create and modify server Trusted Storage for GoldSim Concurrent Network
licenses. One of the primary functions of GLSActUtil is the installation of entitled license rights into
server Trusted Storage. This installation process is called activation and it results in the creation of a
fulfillment record in Trusted Storage which provides the entitled rights to use GoldSim software.
The activation process involves communication between the license server machine and GoldSim’s
FlexNet Operations Cloud (FNOC) portal. An Activation ID provides a unique key that enables and
facilitates this communication. For internet connected computers, the communication with FNOC will be
transparent and will result in the creation of a fulfillment record on the GoldSim License Server.
1. Obtain the Activation ID for your Network License Entitlement. You can find it in the Entitlement
Certificate that was sent to the license contact after purchasing the license or you can look it up
in the GoldSim License Portal.
2. Download the latest version of the GoldSim License Server Activation Utility (GLSActUtil)
installation package from the GoldSim website Network License Downloads section.
3. Save this installation package to the license server computer local hard drive on which you plan
to install the license server.
4. Run the installation package “As Administrator”.
5. You may be prompted to install the Microsoft Visual C++ 2015 Redistributable as shown in
Figure 2. This is required so use the “Install” button to install it.
6. After the redistributable is installed, the Installation Welcome screen will come up as shown in
Figure 3.
7. Accept the license agreement and click “Next” to continue as depicted in Figure 4.
8. After accepting the license agreement, click the “Install” button on the “Ready to Install” dialog
shown in Figure 5 to install.
9. Upon successful install completion, you will get the Successful Install notification dialog shown
in Figure 6.
Now that GLSActUtil is installed, you are ready to activate a network license.
1. Go to the Start Menu and find “GoldSim License Server Activation Utility” in the list of programs.
Select/start this program as shown in
2. Figure 7.
3. You should see the GLSActUtil program interface appear with no fulfillments. Click the
“Activate…” button shown in Figure 8 to start the activation process.
4. Enter the Activation ID from your Entitlement Certificate in the “Activation Key” field shown in
Figure 9.
5. If the license activation is successful, you will see the “License activation successful!” dialog
shown in Figure 10. The GLSActUtil is now successfully installed and a software entitlement for a
Concurrent Network license has been successfully fulfilled to Trusted Storage.
6. The result of a successful activation is that fulfillment records for this license have been written
to Trusted Storage. To see license related details about your computer and all available
fulfillment records, use the “Details…” button and select “License System Details” as shown in
Figure 11.
7. Close GLSActUtil
Note that the GLSActUtil installer also places some files in an installation directory (see Figure 12)
that will be used to install, configure, and maintain the vendor daemon, GTG.exe. These files are
mostly in the “GTG” directory, and the list of files to note includes the “lmutil.exe” file.
With the program successfully installed, you are ready to continue to the next section.
The complete documentation, installation, and configuration guide for FNPLS is found in the FlexNet
Publisher License Administration Guide, which can be obtained from the GoldSim website Network
License Downloads section. This guide provides the authoritative reference for all things pertaining to
the FNPLS.
Flexera maintains FNPLS and issues multiple updates each year. The FNPLS works by providing licenses
across a network (intranet or internet). Because it is designed to work within a network, security
vulnerabilities are occasionally discovered and subsequently fixed/patched. This is one reason for the
software update schedule with multiple updates per year; it is also a good reason to keep FNPLS up to
date.
GoldSim products implement software licensing technology from Flexera Software LLC (FlexNet
Publisher Toolkit). Table 2 lists available GoldSim products and their associated FlexNet Publisher (FNP)
Toolkit version. When configuring a Flexera FlexNet Publisher License Server, the license server version
must be the same version or greater than the vendor daemon's FNP version and the vendor daemon's
FNP version must be the same or greater than the GoldSim client's FNP version. It is recommended that
you keep the FNPLS as up to date as possible.
Table 2 - FNP Toolkit versions
Note that in version 11.14.1.1 (released in March 2017), several outstanding security and operational
issues were resolved. These resolutions resulted in a significantly modified application and functionality.
Importantly, the installation procedures and protocols starting with version 11.14.1.1 completely
changed relative to previous versions.
Previous to version 11.14.1.1, the lmadmin installer for Windows installed the folders and subfolders by
default in the Program Files (x86) directory and created the lmadmin service of the type “Local Service”,
with start-up type “Automatic”. As a result, the lmadmin service could fail to start, because it had
insufficient privileges to create subfolders in the Program Files (x86) directory. Starting with FlexNet
Publisher 11.14.1.1, the folders that are updated at run time (conf, logs, cache, licenses) are installed by
default under the ProgramData directory. The files, folders, executables, and DLLs that are not modified
at run time are installed under Program Files. To perform any operation related to lmadmin, where the
conf directory is not a subdirectory of the lmadmin installation directory, the conf directory must be
indicated using the -configDir switch, for example:
lmadmin.exe ‐import counted.lic ‐configDir "C:\ProgramData\FLEXlm\lmadmin\conf"
Starting with FlexNet Publisher 11.14.1, the lmadmin InstallAnywhere installer no longer bundles the
Jave Runtime Environment (JRE), which therefore must be installed separately (if not already present on
the machine). The lmadmin installer requires that JRE 1.6 or later be installed.
Note: Do not run the 32-bit lmadmin and the 64-bit lmadmin on the same system. If you are upgrading
from the 32-bit lmadmin to the 64-bit lmadmin, you must stop and uninstall the 32-bit lmadmin first.
There are three possible FNPLS and vendor daemon scenarios on a license server computer:
1. A single instance of FNPLS that serves only GoldSim licenses (i.e. one vendor daemon).
2. A single instance of FNPLS that serves licenses from multiple software vendors, including
GoldSim, by managing multiple vendor daemons.
3. Multiple instances of FNPLS installed on a single computer will each serve licenses from at least
one vendor daemon.
Additional discussion of dealing with the many license server and vendor daemon scenarios is provided
in Managing Licenses from Multiple Software Publishers of the FlexNet Publisher License
Administration Guide, which can be downloaded from our Network License Downloads web page.
GoldSim recommends that you employ approach #1 or #2 above so that there is only one instance of
FNPLS to maintain. Each vendor daemon uses a particular version of Flexera’s licensing tools which have
a corresponding FNPLS version with the same version number. The Flexera licensing tool’s version for a
particular vendor daemon needs to be less than or equal to the installed FNPLS version for that vendor
daemon and client software to work with that version of FNPLS (see Table 2 - FNP Toolkit versions).
Typically, FNPLS can be updated without having to update the vendor daemons. If the vendor daemon is
upgraded (for GoldSim, GLSActUtil is upgraded) then it is likely that FNPLS will also need to be upgraded
so that the FNPLS version number >= the FNP toolkit version number.
There are two main options for FNPLS installation: New Installation and Upgrade. Typically, you will use
the upgrade method if you already have an existing instance of FNPLS (i.e. lmadmin.exe) installed on the
target system. Refer to the respective next sections to continue with either option.
b. Oracle Java Runtime Environment (license required for commercial use): Java Archive
Downloads - Java SE
2. Download the latest Flexera’s FlexNet Publisher License Server (FNPLS) installation package from
the GoldSim website Network License Downloads section. Note that only the lmadmin version
of FNPLS is supported for a GoldSim License Server. There is a legacy, FlexNet server executable
called lmgrd. lmgrd is NOT supported for GoldSim licenses.
3. Run the installation package using “Run as Administrator”. This is the clean/new install route.
The first screen in the installation package will be the Introduction dialog shown in Figure 15.
4. If possible, use the default location for the installation as shown in Figure 16.
5. FNPLS now installs some files in C:\ProgramData. Please use the default installation directory as
shown in Figure 17.
Figure 18: FNPLS Installation Package - DO NOT Import files from Previous
7. The pre-installation summary (see Figure 19) is shown before starting the installation with the
“Install” button.
8. The installation progress bar (see Figure 20) provides progress status on the actual server install.
9. Check the box for “Install Visual C++ Redistributable Package” as shown in Figure 21 and then
use the “Repair” option if this package was installed previously, as shown in Figure 22.
10. After the installation is complete, the launch configuration screens (see Figure 23 and Figure 24)
provide the first shot at customizing the various ports and settings used by FNPLS.
a. These settings can be modified later in a variety of ways (i.e. see Section 5.1.1 and
Section 7.2).
b. The license server port number is distinct from the vendor daemon port which will be
configured later. The license server port can be used to acquire licenses if there is only
one vendor daemon. If there is more than one vendor daemon, then the vendor
daemon port will be required to be assured that the correct vendor is queried for a
license.
Figure 23: FNPLS Installation Package - Launch Configuration, set FNPLS ports
11. The final step in the installation package is to configure lmadmin to start as a Windows
operating system service 1as shown in Figure 25.
12. A successful install will end with the installation complete dialog shown in Figure 26.
1
In installation package versions prior to 11.14.0.1, there was a bug in the install package which kept the “Run as a
service” check box from working. For the installation of lmadmin as a service in these earlier versions, the service
had to be manually installed using a function in lmadmin.exe from the command line.
13. Start the newly installed/created lmadmin service. Go to Control Panel | Administrative Tools |
Services and look for an “lmadmin” service (as shown in Figure 27). If the service is currently
stopped, there will be a “Start” link in the upper left.
Figure 27: After FNPLS installation is complete, start the lmadmin service
14. After you have successfully started lmadmin (in this case, by starting the service), access the
license server management interface (aka “web GUI”). The web GUI is accessed using internet
browser (Not Internet Explorer). Depending on where you are accessing the site from, use 1 of
the two following URLs to access the web GUI:
a. Accessing the site from the same machine: http://localhost:8090
b. Accessing the site from a different machine: http://<server-name>:8090, where <server-
name> is the system name where the license server is running may only work if you
have enabled firewall access.
c. Additionally, you can specify a custom port number (see Figure 23); 8090 is the default.
If you specified a custom port number, then use this port in place of 8090 in the
preceding bullets.
15. At this point, the web GUI Dashboard screen should not show any seats or licenses available
(see Figure 28) because the vendor daemon has not been installed into FNPLS at this time.
Figure 28: License server management interface, or web GUI, Dashboard after clean install
16. Use the “Administration” link in the top right of Figure 28 to access the Administration portion
of the license server management interface. You will be required to login to the Administration
portion of the web GUI (see Figure 29). On your initial access, you can use the default username
and password of “admin” (but without the quotes).
17. You will be required to change this immediately (see Figure 30). You have now configured the
“admin” account by adding a new password2.
18. At this point, you can see the System Information page for the license server.
2
GoldSim will NOT know what the “Password” is for your license server. Only people who will administer the
license server need to be able to login to the “Administration” portion of the license server management interface.
GoldSim users who acquire seats from the license server do not need to access the license server management
interface in general and the “Administration” portion. If you need to reset or modify existing user credentials, open
a command prompt, change the current directory to EXISTING_INSTALL_DIR, and use lmadmin.exe -help to see the
listing of available user modification commands. Use one of the listed commands for your modifications
19. When you click on the Server Configuration tab, you will see the configuration items that you set
during the install. Figure 31 and Figure 32 show where to find this information.
Figure 31. HTTP Port is found in Web Server Configuration section of Server Configuration
Figure 32. lmadmin Port is found in License Server Configuration section of Server Configuration
20. Finally, when you are done with the “Administration” portion of the license server management
interface, use the “Stop Server” button, shown in Figure 31, to stop lmadmin. Close the web
browser and continue with installing the vendor daemon in Section 4.1.
Figure 33. Click Stop to apply changes to the Vendor Daemon Settings
21. Select the option to "Use this Port" then type in a 5-digit port number (typically a number
between 50000 and 60000). Do not use the default port. (NOTE: If you are upgrading an existing
network license server, you might have copied down the vendor daemon port number you were
using. It is recommended that you now enter this daemon port number so that users can still
use the same license server address.)
Please make sure to always check for the latest versions on our Downloads Page. The upgrade
procedures consist of the following steps:
1. Install a new version of FlexNet Publisher License Server (FNPLS) in parallel with the old version
2. Import settings from the old version:
vendor daemon port number
username and password for the FNPLS management interface
log files
3. Uninstall the old version
The following key configurations are needed for successful upgrade but will be described in more detail
in the upgrade procedures:
New Folders: New FNPLS installation and data folders must be created with unique names. Do
not install into the same folder(s) of the old FNPLS installation.
New Service Name: A new and unique Windows service name must be used for the upgraded
lmadmin service.
The new FNPLS version is 11.18.3 and it will be installed with the following configuration:
Installation folder: “C:\Program Files (x86)\FlexNet Publisher License Server Manager 11.18.3”
Data folder: “C:\ProgramData\FLEXlm_11.18.3\lmadmin”
Windows service name: “lmadmin 11.18.3”
3
If you are using this license server for other software vendors, then you need to figure out what is required to re-
install the vendor daemons and license files for these other vendors. The upgrade procedures are expected to
import vendor daemon files automatically from the old installation. However, additional configuration may be
required for other vendor daemons.
Figure 36. Vendor daemon version and port number for an existing FNPLS installation
To upgrade an existing FNPLS installation such as this, carry out the following instructions.
1. Stop the Windows service, by going to Services, right-clicking the service name, and selecting
Stop.
2. Note that if you do not have the latest version of GLSActUtil installed, you should first install it
before proceeding with the following steps. The installer can be obtained from the GoldSim
website Network License Downloads section. If needed, instructions on upgrading GLSActUtil
can be found in the document GoldSim License Server Activation Utility: Installation and Basic
Use which is also available from the same webpage.
3. Assuming you have obtained the new FNPLS installer (in this example, it is version 11.18.3) from
the GoldSim website Network License Downloads section, right-click the installer file and select
the option to ‘Run as administrator’.
On the Installation Window, verify you are installing the correct version.
When asked where you would like to install the new FNPLS version, be sure to select a folder
that is NOT the same as or a subfolder of the old (i.e. current) FNPLS version. For this example,
the installation folder is: “C:\Program Files (x86)\FlexNet Publisher License Server Manager
11.18.3”. After you specify the new directory name, click ‘Next’.
Figure 40. Select an installation folder different than the old FNPLS version
When asked where you would like the new data folder to be installed, be sure to select a folder
that (a) does NOT have any spaces, and (b) is NOT inside “C:\ProgramData\FLEXlm” (for the
current example). Item (a) is necessary to avoid any issues importing data files from the old
installation into the new. Item (b) is necessary if you plan to uninstall the old FNPLS version after
the new FNP License Server is running. Note: The reason item (b) is necessary is that
uninstallation of the old FNPLS version may remove the “C:\ProgramData\FLEXlm” folder and
all its contents. For this example, use Data folder: “C:\ProgramData\FLEXlm_11.18.3\lmadmin”
Figure 41. Select a data folder without spaces and that does not conflict with the old installation
4. When asked if you would like to import files from a previous installation, check the ‘Import’
checkbox and then specify (by clicking ‘Choose…’) the installation path and the data folder path
of the old FNPLS installation.
Figure 42. Import log files, configuration data, and vendor daemons from old FNPLS installation
Ensure that the installation folder is correct before pressing the Install button.
5. When prompted to install the Visual C++ redistributable package, check the checkbox, click
‘Next’, and wait for the redistributable package to be installed.
6. When prompted to provide information about running the FNPLS Manager as a service, check
the ‘Run as a service’ checkbox and enter a name for the Windows service that is different from
that of the old FNPLS Manager.
Figure 47. Specify a Service name different from that for the old installation
After successful installation and service configuration import, you should see confirmation with
the correct installation folder shown.
7. After the installation process has finished, you can restart the computer if you were asked to do
so after installing the MS Visual C++ Redistributable.
8. Start the Services manager and refresh your list of services and see both the old service and the
new service in the list. Confirm that the old service is stopped (this should have stopped in step
1). Then, go ahead and start the new service. The new service should start without problems.
Figure 50. Confirm the old Windows service is stopped and start the new service
9. In a browser window, enter localhost:8090, assuming you used the default FNPLS management
interface port number (otherwise, use the port number specified when the old license server
was configured). Because settings and vendor daemon files were imported from the old license
server, you should see the list of your licenses.
Figure 51. Confirm that the license server management interface shows at least 1 valid license
10. Click ‘Administration’ and confirm that you can log in with your existing username and password
(specified for the old license server). Your existing username and password should automatically
have been imported from the old license server configuration.
Figure 52. Login to the FNPLS management interface with your existing username and password
On the System Information sub-tab, make note of the release version, which should be the
latest version of lmadmin.
If you need to use a version of GoldSim that requires an updated GTG vendor daemon, follow these
instructions:
Figure 53. Stop the FNPLS Windows service before updating the GTG vendor daemon
2. You already should have installed the latest version of GLSActUtil (GoldSim License Server
Activation Utility) before upgrading FNPLS (see Section 3.3.1.2). If not, you must do so now,
before proceeding with the following steps, since the latest GTG vendor daemon files are
distributed with GLSActUtil. Obtain the installer from the GoldSim website Network License
Downloads section and run it with administrator privileges.
3. Confirm that you want to perform an upgrade to GLSActUtil and click through any subsequent
dialogs to complete the installation process.
4. Assuming that the FNPLS Windows service is already stopped (as instructed in step 1), copy the
GTG folder from “C:\Program Files (x86)\GTG\GoldSim License Server Activation Utility” into the
installation folder of the new FNPLS version (“C:\Program Files (x86)\FlexNet Publisher License
Server Manager 11.18.3” in the current example), confirming that you would like to overwrite
the existing files.
Figure 56. Copy the new GTG vendor daemon files to the new installation folder
5. Restart the Windows service (it should start up without issue), open the FNPLS management
interface (localhost:8090, in the current example), click ‘Administration’, and log in. Confirm that
the vendor daemon is up and that it shows the updated FlexNet Publisher Version.
Figure 57. Restart the FNPLS service and confirm that the GTG vendor daemon is up
You should now be able to open the latest version (as well as earlier versions) of GoldSim.
Having successfully upgraded to a new FNPLS version, you may now decide to uninstall the old
FNPLS version. If you decide not to uninstall the old FNPLS version, it is recommended that you set
the Windows service for the old version to manually (rather than automatically) launch. This
ensures that there are no conflicts between the old and new FNP license servers.
To set the old Windows service to manually launch, go to your list of services, double-click the old
Windows service in the list, and then select ‘Manual’ from the ‘Startup type’ drop-list. Click ‘Apply’
and then ‘OK’.
Figure 58. Set the old FNPLS Windows service to manually launch
1. Go to your list of Services and make sure that both the old and the new Windows services are
stopped.
Figure 59. Stop both the old and the new FNPLS Windows services
2. Navigate to the installation folder of the old FNPLS installation (in this case, this is “C:\Program
Files (x86)\FlexNet Publisher License Server Manager”), enter the ‘uninstall’ folder, right-click the
file “Uninstall FlexNet Publisher License Server Manager.exe”, and select the option to ‘Run as
administrator’.
Figure 60. Run the uninstaller for the old FNPLS with administrator privileges
Specify whether you want to save the log files (it is not necessary)
3. When asked if you would like to stop and remove the old Windows service (in this case,
“lmadmin 11.16.2.1”), select ‘Yes’, and click ‘Uninstall’.
Figure 63. Stop and remove the old FNPLS Windows service
4. You will now see that the old Windows service (“lmadmin 11.16.2.1” in this example) no longer
appears in the list of Windows services and that the old data folder (in this case,
“C:\ProgramData\FLEXlm”) has been completely removed. The old installation folder (in this
case, “C:\Program Files (x86)\FlexNet Publisher License Server Manager”) still exists, because it
contains the old GTG folder (with the old vendor daemon files). You can go ahead and manually
delete the old installation folder.
5. Once again, go to your list of Windows services and restart the new Windows service (in this
case, “lmadmin 11.18.3”). You might observe that the service restarts, but that the progress bar
proceeds relatively quickly to about half way and subsequently proceeds slowly. This is because
it is not able to start the GTG vendor daemon. To restart the vendor daemon, follow steps 6
through 10, below.
Figure 66. The license server may not be able to restart the GTG vendor daemon
6. Open the license server management interface (localhost:8090, in the current example), click
‘Administration’, log in, and click the ‘Vendor Daemon Configuration’ tab. The ‘Status’ will
indicate ‘Stopped’. Click the ‘Import License’ button, check the option to ‘Overwrite License File
on License Server’, and click ‘Choose File’.
Figure 67. In the ‘Vendor Daemon Configuration’ tab, select ‘Choose File’
7. Navigate to the GTG subfolder in the FNPLS installation folder (“C:\Program Files (x86)\FlexNet
Publisher License Server Manager 11.18.3\GTG”), select the GTG.lic file, and click ‘Open’.
Figure 68. Select the GTG.lic file in the GTG subfolder of the FNPLS installation folder
9. If the vendor daemon does not automatically start, click on the ‘Vendor Daemon Configuration’
tab, click ‘Administer’, and then click ‘Start’.
Figure 70. Start the GTG vendor daemon if it does not restart
10. Finally, return to the Dashboard and you should see your licenses.
Figure 71. Confirm that the GTG vendor daemon is now running
Everything that is needed to implement the vendor daemon has then been installed on the license
server computer. Follow the instructions in Section 4.1 to move the vendor daemon-related files to the
correct locations for FNPLS and to complete the initial, basic configuration of the license server.
1. In File Explorer, copy the folder C:\Program Files (x86)\GTG\GoldSim License Server
Activation Utility\GTG to the clipboard
2. Paste the folder to this location: C:\Program Files (x86)\FlexNet Publisher License Server
Manager
3. This GTG directory should contain four (4) files as shown in Figure 72.
4. Start the lmadmin service; this starts the license server. Go to Control Panel | Administrative
Tools | Services and look for an “lmadmin” service (as shown in Figure 27). If the service is
currently stopped, there will be a “Start” link in the upper left.
5. Access the license server management interface. This is also referred to in the GoldSim
documentation as the web GUI. The license server management interface, or web GUI, is
accessed using a web browser and using the address http://<server>:8090 where <server> is the
system name where the license server is running.
1. localhost:8090 may also work when you are working on the server computer and are
not using Internet Explorer as your web browser.
3. Additionally, you can specify a custom port number (see Figure 23); 8090 is the default.
If you specified a custom port number, then use this port in place of 8090 in the
preceding discussion.
4. At this point, the web GUI Dashboard screen should not show any seats or licenses
available (see Figure 28) because the vendor daemon has not been installed into FNPLS
at this time.
5. Use the “Administration” link in the top right of the screen (see Figure 28) to access the
Administration portion of the license server management interface. You will be required
to login to the Administration portion of the web GUI (see Figure 29).
6. If you need to reset or modify existing user credentials, open a command prompt,
change the current directory to EXISTING_INSTALL_DIR, and use lmadmin.exe -
help to see the listing of available user modification commands. Use one of the listed
commands for your modifications.
2. Select the file “GTG.lic” in the GTG folder which was just copied to FNPLS install
directory (see Figure 72). Make sure that the option “Overwrite License File on License
Server” is selected as shown in Figure 74.
4. The newly imported vendor daemon status should be “Up” as shown in Figure 76.
Figure 73: Use the "Vendor Daemon Configuration" tab at the left to install a vendor daemon
Figure 74: Use the "Overwrite License File on License Server" option
7. At this point, you will want to fix the “Port” value shown in Figure 76, if you will be using port-
based firewall rules.
1. Use the “Administer” link shown in Figure 76 and then specify a port value using the
“Use this port” option under “Vendor Daemon Port” as shown in Figure 77. You must
specify a specific port number if you are communicating across an Internet firewall.
2. Remember to use the “Save” button at the bottom to update and save the configuration
for the vendor daemon.
8. Use the “Stop” button shown at the top of Figure 77 to stop the vendor daemon. Then navigate
to the “System Information” tab, shown on the left side. Next, navigate back to the “Vendor
Daemon Configuration” tab and the vendor daemon will be shown as “Down”.
9. Select the "Server Configuration" tab. Scroll down to the "License Server Configuration" section.
Under License Server Manager Port select the option to "Use this Port". Enter a 5-digit port
number. For security purposes, best practice is not to use a default port number. Instead, define
a fixed port number that is outside of the 27000 and 27009 range.
10. Use the “Administer” link (see Figure 76) and then the “Start” button to start the vendor
daemon again. Navigate to the “System Information” tab, shown on the left side and then
navigate back to the “Vendor Daemon Configuration” tab and the vendor daemon should be
shown as “Up” and should be using the specified port value.
11. Use the “Dashboard” link at the top right to see the available licenses.
12. Test the license server using a GoldSim client installed on the license server machine.
1. Stop lmadmin and all running license servers on the server machine.
2. Install a GoldSim version on the server machine. This installation can impact lmadmin
which is why it was stopped in the previous step.
3. Make sure to install a version that you are entitled to under your GoldSim Concurrent
Network entitlement which was fulfilled/activated in Section 0.
4. Make sure that there are no “standalone” GoldSim licenses fulfilled on this machine.
5. Start lmadmin.
6. Start GoldSim. You should get the “GoldSim Licensing” splash screen shown in Figure 78.
7. Use the “Connect to Network License” to get the “Network License Configuration”
dialog shown in Figure 79. For the Licenser Server: field, enter the license server using
the port@computer_name.domain format as shown in Figure 79.
8. The machine that was used to develop this example procedure was named isq-v-
win10n.goldsim.local. The vendor daemon port to use was set to 56614 (in the example
shown in Figure 77 the port was set to 51288).
9. The GoldSim software program should now open to a blank model. Go to Help |
Licensing to open the “GoldSim Licensing” dialog and confirm the license check-out as
shown in Figure 80.
Figure 80: "GoldSim Licensing" dialog showing the successful check-out of a network license
13. Test the license server using GoldSim installed on a client computer (i.e. different machine) on
the same local area network (LAN) and in the same subnet as the license server computer.
1. Install a GoldSim version on the client computer.
2. Make sure to install a version that you are entitled to under your GoldSim Concurrent
Network entitlement which was fulfilled/activated in Section 0.
3. Make sure that there are no “standalone” GoldSim licenses fulfilled on this machine.
Standalone (i.e. “Desktop” or “Enterprise” licenses) will always take precedence over
network licenses.
5. If you are unable to check-out a license from the client machine on the same network
turn off the firewalls on both the client machine and the server machine and try again.
Review Section 5 so that you know what to expect in terms of operations and ongoing
maintenance.
See Section 6 for information on borrowing a license from this license server.
It is likely that quite a bit of advanced configuration and customization of the license server will
be desired. For example, the following items are typical advanced configuration considerations.
o There will likely be some firewall configuration necessary on both the client machines and
the license server machine so that the firewalls do not need to be inactivated to serve
licenses. See Section 7.7 for some discussion of this configuration.
o There is only one “user” account configured for the FNPLS web GUI interface which is the
“admin” account. It is likely that you will want to add additional users maybe even
additional users of different types. See Section 7.3 for information on adding users.
o The license server currently has the default configuration for license server capabilities as
well as for access and control. There may be some desire to customize this. See Section 7 for
more information.
o It may be desirable to institute detailed license usage tracking. See Section 7.4.1 for
information on this feature.
client. When the client closes, it will release the checked out license back to the pool on the license
server.
Some of the functionality of the FlexNet Publisher lmadmin license server website (or the lmadmin web
GUI) needs to be enabled via command-line lmadmin commands. These options, and their current
status, are shown at the bottom of the Administration | System Information page as shown in Figure 81.
These options are:
Section 7.2 discusses the lmadmin commands available for enabling these options.
Note: License Reclaim is not available for the GoldSim License Server. As a result, this option and the
associated lmadmin command-line commands will not work for a GoldSim License Server.
Assuming you have enabled, “Local Stop Server” then you can stop the vendor daemons and the FNPLS
using the lmadmin web GUI. The vendor daemon stop functionality is available by going into the
Administration dashboard, selecting the “Vendor Daemon Configuration” tab, selecting the “GTG”
vendor daemon and then using the “Stop” button under “Vendor Daemon Actions” as shown in Figure
77. The license server can be stopped by going into the Administration dashboard, selecting the “Server
Configuration” tab and using the “Stop Server” button under “Server Configuration” as shown in Figure
82. If lmadmin has been configured as a Windows Service (see Section 7.1), then the license server can
be stopped through the Windows Services management console (see Figure 109). Finally, the command
line tools discussed in Sections 7.2 and 7.8 can also be used to stop the server.
The lmadmin web GUI also comes with a built-in Help Library which is accessible via the “?” Help button
in the top right of Figure 82. This built-in Help Library (see Figure 83) should be considered the primary
documentation and help reference for the lmadmin web GUI. Always consult this help information in
detail before contacting GTG with questions related to the lmadmin web GUI.
1. The lmadmin web GUI is accessed with a web browser (i.e. Internet Explorer, Chrome, or
Firefox). The access address is http://FQDN:port (default is http://localhost:8090) where again
FQDN is the fully qualified domain name for the computer and the port is the designated access
port number (see Figure 23).
localhost:port may also work when you are working on the server computer and are not
using Internet Explorer as your web browser.
Web GUI access from other computers in your LAN may not work without some firewall
configuration (see Section 7.7) and definitely will not work unless lmadmin is running.
There are a number of different ways to change the access port number. The License
Administrator should know the current port number setting.
2. The default “Dashboard” view for the web GUI is the “Activatable” Licenses view shown in
Figure 85. This dialog will show the number of “Detached” or “Borrowed” licenses. The GoldSim
Concurrent Network licenses are “Hybrid” licenses which means that they can be activated from
the License Server. This activation process is what allows the “Borrowing” functionality.
This dashboard view provides links to the Hosts Dialog, Figure 86, and the Fulfillments
Dialog, Figure 88.
The Hosts Dialog provides access to the Hosts Details, Figure 87.
3. The Licenses Dashboard also has a “Concurrent” Licenses view as shown in Figure 89. The
“Concurrent” view shows the licenses which are currently checked out from the License Server.
There is also a “Hosts” dialog which can be accessed via the “Hosts” link on the
“Concurrent” Licenses dashboard view. An example is shown in Figure 90, and this
dialog shows the host/computer which has checked out a license and the computer
which has activated a license copy to “Borrow” this license.
The “Borrowed” license is denoted with “ACTIVATED LICENSES” in Figure 90.
Figure 90: Hosts dialog accessed via link on "Concurrent" Licenses Dashboard view
The other way to check the status of a license server is to use the command line utilities which are
discussed in detail in Section 7.8.
1. For checking the status, the pertinent command line command is:
lmutil.exe lmstat –c port@FQDN –a
The port number here is the port that the license server is listening to (not the port for
the web site or the port for the vendor daemon). This means that it will usually be a
number in the range 27000 – 27009 per Figure 23.
FQDN is the fully qualified domain name for the license server.
Section 7.8 provides additional details of lmutil.exe and of the lmstat tool.
2. Figure 91 shows example output from the lmstat command. It shows the status of each
feature. In the lmstat output, “ACTIVATED LICENSES(S)” denote borrowed licenses which are
discussed in more detail in Section 6. In the output provided in Figure 91 there are no currently
borrowed or checked out licenses.
Always stop all running license server instances (i.e. all lmadmin instances) before starting
GLSActUtil.
Always close GLSActUtil before restarting any license server instances.
GoldSim Concurrent Network licenses are perpetual licenses. However, the fulfillments in Trusted
Storage will typically expire after 1 year. This expiration means that the fulfillments need to be renewed
each year. A one-year duration is used for fulfillment expiration because GoldSim does not push out
updates. As a result, it is a good idea to check-in once a year to make sure that your software is up to
date. The fulfillment expiration provides a built-in prompt to check and review your GoldSim software
installation.
License maintenance, then, primarily consists of the annual renewal of the fulfillments in trusted
storage. But, license maintenance does include the rarer scenarios of moving the license server to a
different machine or upgrading the license server hardware. Both of these scenarios are addressed
under Section 5.2.2: Moving the License to a Different Machine.
Use the following steps to renew the Trusted Storage fulfillments each year.
1. Make sure that all license server instances are stopped (i.e. all lmadmin instances are stopped).
4. The main Network License Management dialog for GLSActUtil, like the one in Figure 92, will be
shown.
Note the Expiration and the existing Activation ID.
5. Use the “Activate…” button to get the “Network License Activation” dialog as shown in Figure
93.
Enter the Activation ID from the renewal Entitlement Certificate and use the “Activate”
button.
6. If the computer is connected to the internet you should get a “License activation successful”
notification like Figure 94. Hit OK.
7. You will be returned to the main Network License Management dialog for GLSActUtil as shown
in Figure 95.
Note that the Activation ID from Figure 93 has replaced the original Activation ID and
that the Expiration has been extended.
Figure 95: GLSActUtil - Main Network License Management dialog with new Activation ID and Expiration
8. Close GLSActUtil.
9. The renewal has changed the “Activation ID”, removed the old fulfillment, and created a new
fulfillment based on the renewal “Activation ID”. If you use an Options File (see Section 7.10),
some of the KEYWORDs in the Options File reference the “Activation ID” which is considered the
“Entitlement ID” in server Trusted Storage. This has now changed.
If you use an Options File and you use a KEYWORD which requires an Entitlement ID
(e.g. EXCLUDE_ENTITLEMENT entitlementId), then edit your Options File so that the
new/correct “Activation ID” is used for the Entitlement ID (i.e. entitlementID term) for
all KEYWORDs that specify an Entitlement ID.
Because moving the license to a different machine is expected to be an infrequent process, only two (2)
returns per license are allowed per year. Moving the license is a two-step process. Only the “return”
step is a “new” procedure (i.e. not previously described in this document). For the second-step (i.e. the
activation on the new/different computer), follow the steps for Annual Renewal Activation in Section
5.2.1 or the steps for the initial Entitlement Activation in Section 0.
To return a fulfillment/license so that it is available for activation on a different computer, complete the
following steps.
1. Make sure that all license server instances are stopped (i.e. all lmadmin instances are stopped).
4. The main Network License Management dialog for GLSActUtil, like the one in Figure 92, will be
shown.
5. Select the Activation ID to be returned using the pull-down just to the right of the Activation ID.
If there is only one Activation ID, which is the typical case, then the Activation ID that you want
to return will be shown by default. Use the “Return…” button to start the return process.
6. You will get a return confirmation/warning dialog like the one shown in Figure 96.
7. Hit “Yes” to complete the return. You will receive a success confirmation dialog (or an error
message if it was not successful).
8. You will be returned to the main Network License Management dialog for GLSActUtil, but now
the Activation ID that you returned will be removed. It has also been removed from server
Trusted Storage.
If you only had one Activation ID, the typical case, then the main Network License
Management dialog will be empty as shown in Figure 97.
Figure 97: GLSActUtil - Main Network License Management dialog, empty after successful return
6 Borrowing
A GoldSim Concurrent Network license is a counted license which is hosted on a license server and
which client machines can check out from the license server. This allows this type of license to float from
computer to computer on the local area network as available and as requested by client machines. This
license is also borrowable.
A floating borrowable license is first activated on a license server machine (see Section 2). This license,
or each of the seats or counts included in this license, can then be served as a floating license or
activated on an end-user computer for use when it is no longer connected to a license server. This
process of activating on an end-user machine for use when the computer is no longer connected to the
license server is called borrowing.
The key point with borrowing is that it allows a machine to temporarily, locally install or fulfill a license
from a license server. This machine can then leave the network and the license will stay with the client
computer until the borrowing period is over. At that time, it will be automatically returned to the license
server.
Important: If you are going to use borrowing, the following should be kept in mind.
Activation means that the right/entitlement to that count of the Concurrent Network license
is removed from the license server and placed on the client computer. This is called fulfillment
and activation occurs against the license server and fulfillment occurs on the client computer.
Once there has been a successful activation/fulfillment, the license server cannot get the
borrowed license back until the borrowing period has expired or until returned by/from the
client computer.
This means that if you lose a client computer which has borrowed a license, you cannot get
this license back until the borrowing period is over.
There are two machines involved in borrowing a license: 1) the license server computer and 2) the client
computer. Each machine provides for configuration and control over certain parts of the borrowing
process.
The client computer needs to make the request to borrow using the information from the
license server.
o Only the License Administrator will likely have this information.
o The Activation ID used to fulfill the Concurrent Network license on the license server
needs to be used by the client to complete the borrowing process.
o The client needs to make the borrowing request to the appropriate vendor daemon
using the port@FQDN syntax. In this case, the port value is the vendor daemon port (see
the port value in Figure 76).
Note: GTG will not have nor will GTG be able to determine all of the information that is required to
successfully borrow a license from a license server. Only your License Administrator can do this.
The following steps provide a generic example of the information and process required to successfully
borrow a license from a license server.
1. Open GoldSim, go to Help | Licensing to get the “GoldSim Licensing” dialog shown in Figure 98.
Use the “Borrow…” button to start the process.
Figure 98: Initiate Borrowing from client computer using "GoldSim Licensing" dialog (Help | Licensing)
2. This will bring up the “Borrow from License Server” dialog as shown in Figure 99.
3. Enter the license server address using port@FQDN (see Figure 76 for where to find this port
number).
a. Enter the Activation ID which was used to fulfill the concurrent, network license on the
license server, for example see Figure 9.
b. Enter the “Duration” or borrowing period in days. A counter box is provided for your
convenience. However, the acceptable durations for borrowing are only known by your
License Administrator.
You cannot borrow for a duration which exceeds the time to fulfillment expiration on
the license server.
You cannot borrow for a duration which exceeds or contradicts the configuration
specified for the vendor daemon (see Section 7.10).
c. Use the “Borrow” button in Figure 99 to submit the borrow request to the license
server. If the request is successful, you will get a “success” dialog similar to the one
shown in Figure 100.
If the request is unsuccessful, there is a bug in the Flexera Activation Borrowing API
which causes all errors to be returned empty with 0,0,0 for the error designator. Check
your settings carefully with your License Administrator.
4. After a successful borrow request, the fulfillment will be written to Trusted Storage on the client
computer. The license or fulfillment now resides on the client computer and will only be
returned to the license server when the specified borrowing period (see Duration in Figure 99) is
over or when the borrowed fulfillment is returned from the client using the “Return” button
shown in Figure 101.
Note that Figure 101 shows the status of the fulfillment which was borrowed as being
“borrowed from” the license server machine. The expiration date is also shown which
comes from the specified borrowing period (see Duration in Figure 99).
5. As a final note, it is instructive to examine Trusted Storage on both the client computer (which
now has the borrowed license) and on the license server computer (which has had the
borrowed license deducted from the pool of available licenses).
a. Figure 102 shows an example of Trusted Storage on a client computer after successfully
borrowing a license. A Trusted Storage printout like shown in Figure 102 can be
obtained using the “Details…” button in Figure 101.
Note that the “Fulfillment Type” is “Served Activation”
Also, note that the “Expiration Date” provides the borrowing duration or period
expiration.
b. Figure 103 displays an example of Trusted Storage on the license server machine after
successfully providing a borrowed license to a client. A Trusted storage printout like
shown in Figure 103 can be obtained from the “Details…” button in Figure 11.
Note that you should stop all running instances of lmadmin before running GLSActUtil.
Note that the “Deductions” section at the bottom, which starts with “Deduction count:
1” provides the information on the license which has been given to the client machine
for the borrowing period/duration.
Figure 102: Trusted storage on the client which shows the successful borrow
Figure 103: Trusted Storage excerpt from License Server showing a borrowed license (i.e. a deduction)
If the client computer does not return the license early, then there is no way to get the
borrowed license back to the license server until the borrowing period is over and the
borrowed license expires on the client computer.
Use the following steps to return a borrowed license from the client machine which currently has the
borrowed license in Trusted Storage.
1. Open “GoldSim Licensing” dialog from Help | Licensing. Select the “Activation ID:” for the
borrowed license.
Note that it will say “borrowed from” as in Figure 104.
Use the “Return” button to initiate the return process.
2. Assuming you want to complete the return, say “Yes” to the ‘return the borrowed license’
confirmation dialog shown in Figure 105.
3. In the “Return Borrowed License” dialog enter the “License Server:” address in port@FQDN
format as depicted in Figure 106.
Note that this address needs to be identical to the borrowing address specified when
the license was borrowed (i.e. see Figure 99).
4. If everything was entered correctly, then you will see the return success dialog shown in Figure
107.
To install lmadmin as a Windows Service with the service having the name lmadmin, use the following
lmadmin command from an Administrator command prompt.
lmadmin -configDir "C:\ProgramData\FLEXlm\lmadmin\conf" –installService
lmadmin
Important: it is good idea to stop all running lmadmin processes or services before running the
command above.
All of the command-line arguments used to configure lmadmin as a Windows service require that the
user has administrator privilege. (Vista and later Windows versions enforce administrator privileges for
installation or removal of a service.) Therefore, to use these lmadmin arguments you must do the
following:
Figure 108 shows an example of running this command from the Administrator command prompt. Note
that the command responds with a success message which has some additional hints for usage of the
service. The result of this command is that a Local Windows Service is added called lmadmin as shown in
Figure 109. This service is not yet started but is configured to start automatically when the computer
starts. If you examine the properties of this service, then you will see something similar to Figure 110.
The “Start” button in either Figure 109 or Figure 110 can be used to start lmadmin, manually, as a
Windows Service.
Running lmadmin with non-elevated permissions ensures that any security vulnerabilities exploited by
malicious users with access to the corporate network will have minimal impact beyond the licensing
services. The following is an overview of the process required to run lmadmin with Non-Elevated
Permissions. For complete details see License Server Manager “lmadmin” of FlexNet Publisher: License
Administration Guide.
1. Install the license server as a system service. This step typically requires elevated privileges.
2. Identify or create a user account with non-elevated privileges. You should create a user account
(either a domain account or a local account) that is dedicated to running the license server
system service. In the instructions that follow, this user account is referred to as the Service
User account. Make sure that this Service User account has sufficient permissions to read the
license files and write the log files in the designated folders.
3. Configure the installed license server system service to use the Service User account. This step
requires elevated privileges as well.
Three options that may be of interest which deal with control permissions for the license server are
listed below.
Additionally, the “configDir” command line option is a new option as of FNPLS 11.14.1.1 which is
required to successfully implement many commands. Explanation of this command line option is
provided in License Server Manager “lmadmin” of FlexNet Publisher: License Administration Guide and
is reproduced below in Figure 112.
Figure 112: Explanation of the new "conf" folder command line switch
Users and Administrators only need to be added to the lmadmin web GUI in order to give
these individuals access to the lmadmin web GUI license server configuration settings. In
other words, only those who need to login to the lmadmin web GUI Administration dashboard
need a user or Administrator account.
License Server status can be viewed as shown in Figure 89 without logging into the lmadmin
web GUI Administration dashboard. Consequently, you do not need to be a designated
user/administrator to check License Server status.
Licenses can be checked out from the license server without logging into the lmadmin web
GUI Administration dashboard. Consequently, you do not need to be a designated
user/administrator to check out a license from a license server.
To add users/administrators through the lmadmin web GUI, login to the Administration dashboard as an
existing administrator (license server administrator). Navigate to the “User Configuration” tab and use
either the “Locally Managed Users” view (see Figure 113) or the “Domain Users / Groups” view (see
Figure 114) and the “New” button. Please use the built-in Help Library (via the “? – Help” button) for
additional information on adding users (see Figure 83).
Figure 113: lmadmin web GUI Administration dashboard, User Configuration, Locally Managed Users
Figure 114: lmadmin web GUI Administration dashboard, User Configuration, Domain Users / Groups
“C:\ProgramData\FLEXlm\lmadmin\logs”.
There are three “standard” or default logs which are related to FNPLS function and operation. These log
files and their descriptions are provided in Figure 115. Additionally, there will be a log for each vendor
daemon served by the license server. For GoldSim, the vendor daemon log is called GTG.log. The vendor
daemon log file(s) contains information recorded by the corresponding vendor and this file is sometimes
referred to as the debug log file.
Figure 115: Standard FNPLS logs from FlexNet Publisher: License Administration Guide
An add-on product, “FlexNet Manager for Engineering Applications”, needs to be purchased from
Flexera in order to process or use this “Report Log”. FlexNet Manager for Engineering Applications is a
reporting tool which is designed to enable organizations to efficiently manage high spend technical
applications to reduce licensing costs, improve productivity and more accurately forecast future
software needs. This tool provides the packaged solution for generating and analyzing statistics of
license server usage.
Server Manager “lmadmin”, Extending lmadmin License Server Capability of FlexNet Publisher:
License Administration Guide for additional information.
1. The HTTP Port Number for the lmadmin web GUI. By default, this port number is 8090 but can
be set to custom values.
2. The License Server Port Number, which is the port for the lmadmin service. The default is a Port
Number automatically selected in the range 27000 – 27009. But a custom value can be set for
this as well.
There was a third port setting specified as part of the vendor daemon configuration in Section 4.
3. The Vendor Daemon Port which was set to 51288 in the example installation guide in Figure 77.
A custom value can be set for this port.
It is likely that Inbound firewall rules will need to be created to allow access to all three of these ports.
However, depending on your network configuration and security policies this may or may not be the
case. Furthermore, it may or may not be desired to provide access to the lmadmin web GUI from client
machines or from elsewhere on the LAN. Only if it is desired to permit access to this web site should a
firewall rule be created for the HTTP Port Number. Finally, it is also possible to use the lmadmin web
GUI/web site as an https-only site. This configuration will introduce another port number, and an
Inbound firewall rule will also be required to provide access to the https site.
An Inbound rule (i.e. allow) can be created for TCP and UDP protocol access to lmadmin.exe
executable or Inbound rules (i.e. allow) can be created for TCP and UDP protocol access to the
License Server Port(s) and the Vendor Daemon Port.
An Inbound rule (i.e. allow) can be created for TCP protocol access to the HTTP Port Number and
or the HTTPS Port Number depending on if this option is configured or not.
These utilities are by design generic so that they apply in some cases to only certain flavors of FlexNet
Publisher implementations. Table 3 provides a summary of the utilities that will work with the GoldSim
License Server. Note that all of the utilities are executed as options to the lmutil.exe package using the
following syntax.
lmutil.exe {utility name} {options}
Given the widespread use of VMs and the many advantages that they provide, GTG does not deny or
block their use. In fact, GTG has tested both GoldSim and GoldSim License Servers on several VMs and
uses a few VMs in house for GoldSim License Servers. But GTG does NOT provide support, paid or
otherwise, for GoldSim License Servers on VMs.
There are several use cases of a VM that can invalidate a GoldSim license. These are triggered by built-in
protection measures in the FNP licensing API, which are likely accidental in many cases. However, GTG
may, at our discretion, charge hourly support fees (see Section 8) to repair invalidated licenses, and GTG
reserves the right to charge for new licenses to replace invalidated licenses.
The preceding discussion applies to VMs which are executed and managed within a hypervisor installed
on a single physical computer. A hypervisor, also sometimes called a virtual machine monitor, is a
system that creates and runs virtual machines using an underlying collection of physical hardware. VMs
may also be provided as a service through an Infrastructure as a service (IaaS) or cloud “compute”
environment, like Azure Compute Service or Amazon Elastic Compute Cloud.
An advantage of IaaS is that it provides a service that abstracts the user from the details of
infrastructure like physical computing resources, location, data partitioning, scaling, security, and
backup. For this type of environment, a pool of hypervisors run the virtual machines as guests on the
underlying hardware and provides the ability to scale services up and down according to customers'
varying requirements. As a result, these virtual machines are instantiated and brought down frequently.
Re-instantiation likely includes moving the virtual machine to a different collection of underlying
physical hardware; additionally, the hypervisors may move virtual machines to new physical hardware
on the fly. Consequently, the traditional hardware-based binding elements for software licenses are not
reliable in a cloud “compute” or IaaS environment.
GoldSim Concurrent Network licenses should NOT be activated in cloud “compute” or IaaS
environments because Trusted Storage-based licensing relies on binding the license to the underlying
physical hardware. As a result, Trusted Storage-based licenses will not work reliably in a cloud
“compute” environment. Eventually, the VM on which the license is installed will be moved to different
underlying physical hardware by the hypervisor which will break the hardware bindings and cause the
license to fail. Activation of a Concurrent Network license in a cloud “compute” or IaaS environment is
considered a breach of the license agreement. Please contact GTG if you would like to obtain a special,
certificate-based license for use in cloud “compute” environments.
The details of the options available for each utility as well as complete details of all of the utilities are
available in FlexNet Publisher: License Administration Guide. All of these utilities are distributed and
maintained by Flexera and FlexNet Publisher: License Administration Guide should be considered the
authoritative reference on these utilities.
Note that the lmadmin –adminOnly command-line argument restricts usage of the
lmdown, lmreread, lmremove, lmswitch, lmswitchr, and lmnewlog utilities. If you set -
adminOnly no, command-line access to these utilities is unrestricted. On Windows,
command-line access to these utilities is completely restricted with –adminOnly yes; in
this case, no user on Windows can shut down the license server with lmdown nor can they use
the lmswitch, lmswitchr, and lmnewlog command-line utilities.
Table 3: Flexera License Server Utilities which work with GoldSim License Server
Example
Utility Discussion
Usage
Helpful for diagnosing license check-out issues. In Figure 117, the
lmdiag Figure 117
diagnosis shows no issues.
lmdown Figure 118 Can do equivalent from the lmadmin web GUI interface.
Shows hostids. Numerous options here; the default for a GoldSim
lmhostid Figure 119
License Server is a MAC address.
Moves report log (old report log) to a new file name and start new
lmnewlog (not shown) report log. Only applicable for FlexNet Manager for Engineering
Applications, see Section 7.4.1.
lmreread Figure 120 Can do equivalent from the lmadmin web GUI interface.
Figure 121 Similar information is available from lmadmin web GUI interface
lmstat
Figure 122
lmswitch (not shown) Controls debug log options
lmswitchr (not shown) Can do equivalent from the lmadmin web GUI interface.
The version is important for compatibility between vendor daemons
lmver Figure 123
and FNPLS versions
lmvminfo Figure 124 The example case is running on a virtual platform
Options file syntax is created and maintained by Flexera. As a result, FlexNet Publisher: License
Administration Guide provides the definitive reference on the options file. In the following sub-sections,
some simple options file example implementations are illustrated.
1. The full path to the options file needs to be added to the second line of the license file (i.e. the
VENDOR line in GTG.lic), in the fourth field of the line as shown in Figure 126.
2. The vendor daemon needs to be stopped and restarted so that the options file is read.
The complete list of supported Options File keywords is available in Managing the Options File of
FlexNet Publisher: License Administration Guide. Figure 126 and Table 4 only provide an arbitrarily
selected subset of keywords.
Note: FNP has both certificate-based and trusted storage-based licensing libraries. GoldSim only
uses the trusted storage-based licensing libraries. Consequently, only a subset of the Options
File keywords available in Managing the Options File of FlexNet Publisher: License
Administration Guide will work with the GoldSim License Server.
o Typically, any Options file keyword with “BORROW” in it will NOT work and those with
“ENTITLEMENT” or “ACTIVATION” will work.
A License Administrator should test all of the Options file syntax thoroughly before deployment
in the “wild”.
Figure 126: License file with options file path in fourth entry on VENDOR line
The most commonly employed environment variables related to the GoldSim License Server are listed in
Table 5. The complete reference on FNPLS-related environment variables and suggested settings is
provided in Environment Variables of FlexNet Publisher: License Administration Guide.
8 Troubleshooting
Extensive resources are made available for troubleshooting the GoldSim licensing system you are trying
to install/configure. These resources include the following.
1. Follow the troubleshooting steps below. These steps will lead to problem resolution in many
cases.
2. Review GoldSim’s extensive online support documentation, Knowledge Base, and tips and tricks,
available online.
3. Contact GTG via our Help Center: https://support.goldsim.com. Before contacting GTG via the
Help Center, follow the troubleshooting steps in Section 8 and provide all of the suggested
information and documentation from Section 8 in your initial support request.
The standard troubleshooting approach follows the installation and configuration sequence of Sections
0, 3, and 4.1.
1. Check that lmadmin is running (see Sections 4.1, 5.1.3, and 7.1).
If not, check the lmadmin.log file (see Section 7.4).
2. Check that there is a “fully trusted” and valid fulfillment (i.e. license) in server Trusted Storage
(see Sections 0 and 5.2).
Note that you need to stop lmadmin before running GLSActUtil.
3. Check that the vendor daemon, GTG.exe, is up and running (see Sections 4.1, 5.1.3, and 7.8).
If not, check the GTG.log file (see Sections 4.1 and 7.4).
If nothing else makes sense or seems to be working, you can always:
i. Delete the vendor daemon GTG from the lmadmin web GUI using the “Delete”
button/option shown in Figure 76.
ii. If an Options File exists, check the Options file for syntax issues like an
incorrect/old entitlementID term. Fix any syntax issues.
iii. Redo the GTG vendor daemon install (into lmadmin) as shown in Figure 73,
Figure 74, and Figure 75.
iv. Re-start the vendor daemon as discussed in Section 4.1, Item #10.
If the vendor daemon deletion does not work, it is possible that the lmadmin service
start-up has become corrupt, if and only if, you are starting lmadmin as a Windows
service as discussed in Section 7.1.
i. Delete the vendor daemon GTG from the lmadmin web GUI using the “Delete”
button/option shown in Figure 76.
ii. Then, stop lmadmin.
iii. Remove the lmadmin Windows Service using the lmadmin command line
options discussed in Section 7.2.
iv. Start lmadmin from the command line using the “-foreground” switch.
v. Open the lmadmin web GUI (see Section 5.1.1) to confirm that lmadmin has
started.
vi. Stop lmadmin (use Ctrl+C on the command window or use Task Manager).
vii. Redo the GTG vendor daemon install (into lmadmin) as shown in Figure 73,
Figure 74, and Figure 75.
viii. Start lmadmin using the “-foreground” switch again.
ix. Open the lmadmin web GUI (see Section 5.1.1) to confirm that lmadmin and
the GTG vendor daemon have started.
x. Stop lmadmin (use Ctrl+C on the command window or use Task Manager).
xi. Reinstall the lmadmin Windows Service using the lmadmin command line
options discussed in Section 7.2.
xii. Start the lmadmin Windows Service (see Figure 27).
xiii. Open the lmadmin web GUI (see Section 5.1.1) to confirm that lmadmin and
the GTG vendor daemon have started and that licenses are available.
4. Check out a license from a client running on the same machine as the license server.
5. Check out a license from a client running on the same local area network and a machine that is
part of the same domain as the license server.
If your failure is at this point, then check the firewall settings (see Section 7.7).
If you require assistance from GTG, please submit a support ticket through our Help Center.
Provide a clear description of your issue with copies of all log files (see Section 7.4) and screen
shots of all error messages.
Additionally, please use the “Details…” button in GLSActUtil and the “Copy to Clipboard” option
(see Figure 11) to include a detailed fulfillment/license listing. An example listing is shown below
in Figure 127.
GTG will analyze your submission and assist you to get your GoldSim License Server up and
running again.
o The support restrictions noted in Section 1.3 will apply.
o GTG reserves the right to require the purchase of “Advanced Support” time as a
requirement for advanced assistance.
9 References
Flexera Software. (February 2019). FlexNet Publisher 2018 R4 SP1 (11.18.3): License Administration
Guide. Flexera Software LLC.
Microsoft. (2016). Environment Variables. Retrieved Sep 27, 2016, from Windows Dev Center: Developer
Resources: https://msdn.microsoft.com/en-
us/library/windows/desktop/ms682653(v=vs.85).aspx