Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 32 Next »

Support for floating licenses with the Flexera License Server was added starting with Version 18.9.1 of the CadEnhance Tool Suite.


User Inputs

The user will be required to provide cadEnhance with the hostid  (MAC Address) and hostName of the server they intend to host the flexera license.

In the simplest case, this could be the user's own laptop or desktop machine. In most corporate environments, there will be an existing set of servers dedicated to hosting flexera licenses.

With those inputs, CadEnhance will be able to generate a license file containing keys to access the purchased features, and provide that to the user.

The CadEnhance License Files:

When a Flexera License is purchased, CadEnhance will provide a license file to enable inter-operability with the Flexera Licensing Tools.

You will also be required to download the CENHANCE daemon file which is the executable that the license server runs to exchange information with the CadEnhance tools

CadEnhance License File

You can expand this block below to view a typical license file after it has been updated. 

The License file contains many commented lines starting with '#' The comments are intended to help the user with the changes they need to make.

Sample License File After User Edits
########################################################################
#     TERMS AND CONDITIONS
########################################################################
#
# Please read these terms carefully prior to downloading or using the
# products. You must protect the product(s) from unauthorized
# reproduction, publication, use or distribution.  If any product or
# portion thereof is copied to or used on a computer connected to a
# network, you must ensure that the product may not be used or copied
# by unlicensed persons.
#
# To help ensure that you are only using authorized copies of the
# product(s), CadEnhance may utilize monitoring technologies to obtain and
# transmit non-proprietary data on unauthorized modifications to the
# product(s).  No such data will be collected or transmitted unless
# unauthorized modifications to a product or unauthorized hosting of the
# license server or product(s) are suspected.
# By downloading the product(s), you confirm that you have the authority
# to act on behalf of your employer.  By downloading or using the
# product(s) you hereby agree to the use of such technology and
# transmission of such non-proprietary data by CadEnhance.
#
# IF YOU DO NOT AGREE TO THESE TERMS AND CONDITIONS, YOU MUST
# IMMEDIATELY DELETE THIS  CORRESPONDENCE AND YOU MAY NOT USE THE
# LICENSE FILE OR ANY PRODUCTS INCLUDED THEREIN
#
#
#######################################################################
#     CADENHANCE CUSTOMER SUPPORT
#######################################################################
#
# If you have questions regarding this license file, please contact
# CadEnhance customer support info@cadEnhance.com.
# Support information pertinent to the Flexera Licensing is available at:
# https://cadenhance.atlassian.net/wiki/spaces/PD/pages/539721731/Working+with+Flexera+License+Server
#
# Customers may also use the online helpdesk at
# https://cadenhance.atlassian.net/servicedesk/customer/portal/1
#
#

# CadEnhance Flexera License Info:
#
#  License Issued: Nov 01 16:50:42 2018
#  Company: cadEnhance
#  Customer Contact: bill Oleary
#
###SERVER INFO ###
###You can replace the SERVER_NAME, PORT, and OPTIONS,  but not the HOSTID...
###Features are locked to the HOSTID
### The PORT setting is optional
### But you can use it to lock the port that LMGRD will use
###     It should be different from the Daemon port
###     if you do not specify it, then it will be randomly picked
###     It might be necessary to open this port for UDP and TCP traffic
###     in the windows firewall on your windows flexera server
###SERVER SERVER_NAME HOSTID PORT [OPTIONS]
SERVER bills-flex5-i7 xxxxxxxxxxxx 27000
#
# The VENDOR Line can be edited to add the Path to the CENHANCE daemon file for the License server
# The CENHANCE daemon file is provided with the TOOLS distribution in the
# root:CadEnhance/license/flex{platform} directory.
# the VENDOR line can also start with DAEMON
# example: VENDOR CENHANCE C:\flexnet\CENHANCE\CENHANCE.exe
# or: DAEMON CENHANCE C:\flexnet\CENHANCE\CENHANCE.exe
#
# to Lock the port you are using for the daemon, you can add the PORT=XXXXX option
# VENDOR CENHANCE  C:\flexnet\CENHANCE\CENHANCE.exe PORT=27000
#            Note that this port should be different than the SERVER port
#            and you may need to open this port for UDP and TCP traffic in the windows firewall as well

VENDOR CENHANCE C:\cadEnhance\license\flex64\CENHANCE.exe PORT=27001
USE_SERVER


#
#SYM_VIEW_ALL FEATURE is Free, uncounted and permanent
#
FEATURE SYM_VIEW_ALL CENHANCE 1.0 permanent uncounted SIGN="0012 45E3 \
	9181 AEFD D6D6 262B 5160 AD00 B7C0 6621 8116 786D 7D35 ADF3 \
	DE72"
#
#CE_HDL_FREE FEATURE is Free, uncounted and permanent
#
FEATURE CE_HDL_FREE CENHANCE 1.0 permanent uncounted SIGN="0046 580E \
	3F2A 0A33 379C 0876 E0D5 AE00 69F7 F3F1 44D5 0DBA C918 AF94 \
	F2E4"
#
#CE_CAP_UTILS_FREE FEATURE is Free, uncounted and permanent
#
FEATURE CE_CAP_UTILS_FREE CENHANCE 1.0 permanent uncounted SIGN="00EF \
	59B7 A572 B747 1CD9 6743 ED7B CA00 1759 F634 7ECD 9AC1 9D94 \
	106B EB26"
#
# Paid FEATURES
#

FEATURE PART_BUILDER_ALL CENHANCE 1.0 30-jun-2023 4 SIGN="000A 96F0 \
	967A 9642 1681 1430 C2CB 2500 119F E9EC D45C 7C71 8D97 A6A0 \
	2682"

FEATURE PB_COMPARE_UTILS CENHANCE 1.0 30-jun-2023 4 SIGN="0031 7ED1 \
	8EC4 A199 BC8A 85F8 1532 FC00 96AC AE96 BDEB F802 A915 20FC \
	8941"

There are 2 very important lines in the license file that you will be responsible to update:

SERVER Line:

The SERVER line (line 58 in the example) is very important. It contains the hostname and hostid and port Numbers that you provided to cadEnhance.

#SERVER hostName hostID Port Options

SERVER bills-flex5-i7 010203040506 27000

You can replace the hostName, Port, and Options, but not the hostId, because your features are locked to the that.

VENDOR Line: 

The VENDOR line (line 72 in the example) provides the Flexera software the path to the daemon executable you get from cadEnhance resides on the host. 

#VENDOR daemon path_to_daemon_on_host PORT=XXXXX

VENDOR CENHANCE C:\cadEnhance\license\flex64\CENHANCE.exe PORT=27001 

The host must have read access to the directory where the executable resides.

Port Settings

The Port settings are optional, but it is best practice to provide them.
The Port on the SERVER line locks the port that LMGRD will use,

The Port=XXXX option on the VENDOR line locks the port that the daemon will use.

The Server Port must be different from the daemon port (and these ports must be unique for the cadEnhance license server)

The chosen ports must also be opened to allow UDP and TCP traffic in the firewall on your flexera server.

Feature Lines:

The Feature lines change based on the Tools you have licensed from CadEnhance, they cannot be edited by the user, but you can read them to verify the features and expiration dates. There are Paid Features and Free Features.

If you change these lines, the license file will not work.

Paid Features

Paid Features have a count and expiration date

FEATURE PART_BUILDER_ALL CENHANCE 1.0 30-jun-2023 4 SIGN="000A 96F0 \ 967A 9642 1681 1430 C2CB 2500 119F E9EC D45C 7C71 8D97 A6A0 \ 2682"

Free Features 

Free Features show up as permanent uncounted

FEATURE CE_HDL_FREE CENHANCE 1.0 permanent uncounted SIGN="0046 580E \ 3F2A 0A33 379C 0876 E0D5 AE00 69F7 F3F1 44D5 0DBA C918 AF94 \ F2E4"

CEHANCE Daemon 

The Daemon is the special executable provided by CadEnhance that the Flexera license manager hosts to exchange licenses with our tools. The daemon is stored on the Flexera server, and the License File needs to be modified to tell the server where the daemon is located.

CadEnhance provides a 32-bit (x32)  and 64-bit (x64) executable for Linux and Windows. You need to use one that match the type of server that will be hosting the license.

The 32-bit  Daemons will typically work with the x64 servers, but the reverse is not true.

CadEnhance provides the CENHANCE license daemons for Windows and Linux Platforms in 
InstallationDir/CadEnhance/License/flexWin32

and

InstallationDir/CadEnhance/license/flexLinux folders.


The Daemon files can also be downloaded from this link: Flexera Downloads — CadEnhance


Starting the Flexera License server

There are 2 tools used to start the Flexera License server... Most companies have a person responsible for license administration who are very familiar with these tools

  1. lmgrd

  2. lmadmin

Attached is the reference guide from Flexera. FNP_11.16.0_doclib.pdf

lmgrd

the old way of starting the License server was using

lmgrd -c{license_file}

you need to start it in a directory where the CENHANCE license daemon resides or the DAEMON line in the license file can be modified to point to the CENHANCE  daemon file

lmadmin

lmadmin is the new recommended way to run the license server. Once started, there is a web based control interface available at http://<server>:8090

With the control interface, you can select the location of the CENHANCE daemon and the location of the actual cadEnhance.lic file which was provided to you by cadEnhance. I

Lmamdin caches the license file

Its important to understand that lmadmin caches copies of the license files, so you need to stop the Daemon and re-import the new license file or you may not get the results you were looking for.


Configuring the location of the  Flex server for CadEnhance tools 

CadEnhance tools will look for the flex server in one of several places,

  1. first choice is the CENHANCE_LICENSE_FILE environment variable 

  2. the CE_LIC_FILE environment variable is checked next

  3. otherwise the  CE_LICENSE_DIR CSET is used to find the license.

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.