BETA CAE License Manager
BETA CAE License Manager
v6.4.0
License Manager
Installation and maintenance
Table of Contents
Section 0.
Quick Installation Guide
0.1. Quick installation guide
Users familiar with license management software can quickly browse through the following steps in order
to download & install beta_lm_tools. Numbers in the third column indicate the corresponding paragraphs
where detailed information on each specific step is given.
Action Paragraph
1. Decide on the machine that will be used as license server. If a server redundancy scheme is to be used, 1.2
decide on its type and on the machines that will be used as license servers. & 2.2.1
2. Log on to BETA CAE Systems server and download beta_lm_tools for each machine and platform that will 2.2.2
be used as a server.
3. On each of these servers, unpack beta_lm_tools and execute the command: 2.2.5
beta_lm -host_key
Store the outcome of the above command, which consists of the machine's ethernet card MAC address
and a string of forty (40) characters, like:
MAC = 00:0f:b0:43:34:9a
BETA LM Host Key = 200a025ec00b5f5e0f1b2e1b3d5e020bd04e5144
On WINDOWS systems only, the administrator has the option to derive the above key based on another
network interface, namely USB or WiFi. To produce such a key, use the command:
beta_lm -host_key -ni [network interface, e.g. USB | WiFi]
4. Provide the above to BETA CAE Systems, including the hostname(s) of the server(s). Using these data, 2.2.6
BETA CAE Systems will generate the corresponding license file, usually called license.dat & 4.1
5. Copy the license.dat file on each server and install the beta_lm license daemon using the commands: 2.2.7
Linux Systems:
beta_lm -f [full_path_to]license.dat -L <[full_path_to]log_file>
Windows Systems:
beta_lm -install -f [full_path_to]license.dat -L <[full_path_to]log_file>
If the administrator used a USB or a WiFi network interface to derive the server host key, then this
interface should also be declared during installation:
beta_lm -install -ni [USB | WiFi] -f [full_path_to]license.dat -L <[full_path_to]log_file>
Start the "BETA LM Service" from Control Panel>Administrative Tools>Services
6. Verify that beta_lm is up and running on each server, using the command: 2.2.7
beta_lm_stat -h server_name
The outcome of the above command will display the features available within the license.dat file.
Note that in the "hardware failover" redundant server scheme, only the server that is currently the
"master" will respond.
7. Modify the ANSA_SRV environment variable to match the server settings. For example, in the three 5.2
server "hardware failover" scheme, use
Linux Systems:
setenv ANSA_SRV port@server1,port@server2,port@server3
Windows Systems:
set ANSA_SRV = port@server1,port@server2,port@server3
Action Paragraph
8. Launch a licensed application (eg. ANSA, μETA) using the provided execution scripts. 5.1
For troubleshooting actions please refer to section 8
Section 1.
Introduction to beta_lm_tools
1.1. Basic components
beta_lm_tools is the license manager package for use with all products licensed by BETA CAE Systems
and should be downloaded and installed on all machines that are designated as license servers. The
package contains the following:
beta_lm: license daemon that handles the initial contact and communication with the licensed
application through a TCP/IP network protocol. The communication itself is machine independent,
so the licensed application and the license daemon can be running on different platforms and
different operating systems.
beta_lm_stat: a reporting tool that provides information on license usage
beta_lm_kill_user: tool to terminate process of specific users
an optional administration options file (usually called license.opt) that can be used by the
license administrator to control various operating parameters of beta_lm. All configurable
parameters that appear in the administration options file remain within the license rights granted
by BETA CAE Systems.
related documentation on the installation and maintenance of beta_lm_tools
Upon installation, the beta_lm license daemon searches for and reads the license file, usually called
license.dat. This is a standard ASCII file storing all licensing information necessary for the proper and
uninterrupted use of the licensed application. This information is related to the license servers and the
respective communication ports, the licensed software packages and features that the customer can use
etc. The license file is created by BETA CAE Systems in accordance to the requirements set by the
customer and is installed by the license administrator.
Section 2.
Installing beta_lm_tools
2.1. Overview of actions
The license administrator should take the following actions prior to installing the license management
package:
Select a suitable license server scheme and decide on the platforms to be used as servers
Download beta_lm_tools package for the above platforms
Provide to BETA CAE Systems all information needed to generate a valid license file
Receive a valid license file
Once the license file is received, then
beta_lm license daemon must be launched on all license servers
Details on these actions are given below.
For example,
- to install beta_lm_tools v6.4 on a Linux 32bit machine, you need to download the
beta_lm_tools_v6.4_linux.tar.gz file
2.2.3. Verification of the download using Message Digest-5 (MD5) hash function
For example, imagine that you need to verify the correctness of beta_lm_tools_v6.4_linux.tar.gz. To
do so, download the beta_lm_tools_v6.4_linux.tar.gz_md5sum file and place in the same location as
beta_lm_tools_v6.4_linux.tar.gz:
PlatformFiles
Linux, 32bitbeta_lm_tools_v6.4_linux.tar.gz
beta_lm_tools_v6.4_linux.tar.gz_md5sum
Then open a command shell, switch into this location where these files reside and type the command:
md5sum -c beta_lm_tools_v6.4_linux.tar.gz_md5sum
If the outcome of the above command is OK, then the compressed file was downloaded correctly; if
not, you need to download it again.
B. WINDOWS Platforms
If the Windows version of the beta_lm_tools package is downloaded on a LINUX machine, then its
correctness can be verified as above, by downloading the respective md5sum file and using the built-
in md5sum command. For example:
PlatformFiles
WindowsXP,
32bitbeta_lm_tools_v6.4_win32.zip
beta_lm_tools_v6.4_win32.zip_md5sum
Then open a command shell, switch into the location where the above files reside and type the
command:
md5sum -c beta_lm_tools_v6.4_win32.zip_md5sum
If the outcome of the above command is OK, then the compressed file was downloaded correctly; if
not, you need to download it again.
Optionally, if you have downloaded the license administration options file license.opt, copy this
file to the location of the beta_lm_tools files, so the contents of the beta_lm_tools package now
become:
directory structure notes
/beta_lm_tools root-folder of beta_lm_tools
package
/linux sub-folder indicating the
current platform
beta_lm
beta_lm_stat contents of beta_lm_tools
beta_lm_kill_user package
license.opt
B. WINDOWS Platforms
open a file explorer and double click on the beta_lm_tools compressed zip file. A currently
installed archive package (like WinZIP, WinRAR) or the Windows built-in tool will be launched
Select a suitable location to unpack beta_lm_tools
when unpacked, the following directory structure will be created:
directory structure notes
\beta_lm_tools root-folder of
beta_lm_tools package
\win32 sub-folder indicating the
current platform
beta_lm.exe
beta_lm_stat.exe contents of
beta_lm_kill_user.exe beta_lm_tools package
Optionally, if you have downloaded the license administration options file license.opt, copy this
file to the location of the beta_lm_tools files. So, the contents of the beta_lm_tools package now
become:
directory structure notes
\beta_lm_tools root-folder of
beta_lm_tools
package
\win32 sub-folder indicating
the current platform
beta_lm.exe
beta_lm_stat.exe contents of
beta_lm_kill_user.exe beta_lm_tools
license.opt package
Important in WINDOWS platforms only: By default, beta_lm targets the ethernet card in order to
generate the required host key. However, in Windows platforms only, the user can explicitly ask to
generate a host key based on an existing USB or WiFi installed network adapter. To do so, the -ni
(standing for network interface) flag should be used, followed by an argument pointing to the desired
network interface:
Item description command (WINDOWS only)
name by which this machine is identified within the hostname
1 hostname
customer's network
2 MAC address media access control address
beta_lm -host_key -ni
3a host key from USB beta_lm alphanumeric string based on a USB USB
network interface
3b host key from WiFi beta_lm alphanumeric string based on a wireless beta_lm -host_key -ni
interface WiFi
The process above should be followed on all machines that are designated as license servers. For
example, for a three server hardware failover scheme the customer should provide three sets of
information, one for each server:
server1 command response
1 hostname hostname Gauss
2 MAC 00-11-D8-AA-5C-3C
beta_lm -host_key
3 host key 200a025ec00b5f5e0f1b2e1b3d5e020bd04e5144
server2 command response
1 hostname hostname Riemann
2 MAC 00-11-D8-AA-5B-FD
beta_lm -host_key
3 host key 200a025ec00be1b3d5e020bd04e51445f5e0f1b2
server3 command response
1 hostname hostname Hilbert
2 MAC 00-14-22-DC-C6-EC
beta_lm -host_key
3 host key 200a025ab5f5e0f1b2e1bec003d5ebd04e510203
Details on the contents of the license file are given in a dedicated paragraph later.
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT first section
PRE_POST | Wed Sep 10 2015 | Mon Oct 25 2016 | 5000
NEW_ANSA_CATIA_V5 | Wed Sep 10 2015 | Mon Oct 25 2016 | 300
At the first section we get information on the currently licensed packages along with the duration
and the corresponding credits of each package.
At the second section we get information about the usage of each feature, i.e. of each licensed
application that is currently running, in this case none.
B. WINDOWS Platforms
open a command prompt and switch into the folder containing the beta_lm_tools files, for
example:
cd c:\beta_lm_tools\win32
by default beta_lm considers that the host key used to produce the license.dat file is based on the
ethernet card of the server machine. In this default case, the beta_lm installation command
should be:
beta_lm -install -f C:\beta_lm_tools\win32\license.dat -L
[full_path_to]license.log
However, if a USB or WiFi network interface was used to build the host key, then the same
network interface must be declared at the installation command. For example, in the USB case
the installation command will be:
beta_lm -install -ni USB -f C:\beta_lm_tools\win32\license.dat -L
[full_path_to]license.log
Note: The full path must be given for the license.dat file
The above commands will install a SERVICE for the beta_lm license daemon. At this stage,
licenses are still not available for use, since the SERVICE is not yet "Started".
Go to Start > Control Panel > Administrative Tools and double-click on Services. This action
will display a list with all services installed in the machine.
Locate the BETA LM Service and verify that is has a Stopped status.
Right-click on the BETA LM Service and ask to Start it. During initiation of the BETA LM Service,
the beta_lm license daemon is activated, it reads the license file (license.dat) and writes any
related messages into the log file (license.log).
Right-click again on the BETA LM Service, go to Properties and, under the General tab, change
the Startup Type to Automatic. This will force the beta_lm license daemon to start after each
reboot.
verify that beta_lm is properly installed and that the total number of available licenses is correct
using the command:
beta_lm_stat -h server_name
the result should, for example, look like:
Trying 6007@server_name ....
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT first section
PRE_POST | Wed Sep 10 2015 | Mon Oct 25 2016 | 5000
NEW_ANSA_CATIA_V5 | Wed Sep 10 2015 | Mon Oct 25 2016 | 300
At the first section we get information on the currently licensed packages along with the duration
and the corresponding credits of each package.
At the second section we get information about the usage of each feature, i.e. of each licensed
application that is currently running, in this case none.
Troubleshooting actions for installation problems are given at the end of this document.
FEATURE: It represents any application or procedure that is asking for a license. For example,
ANSA or META constitute FEATURES. In addition, procedures like ANSA_BATCH meshing,
META_POST_BATCH post-processing, ANSA_CATIA_V4 translation etc. are FEATURES as
well. FEATURES can be stand-alone or can belong to a PACKAGE
PACKAGE: This defines a group of FEATURES, i.e. a group of licensed applications or proce-
dures (as defined above). FEATURES that belong to the same PACKAGE draw credits from the
pool of credits that is assigned to this PACKAGE
CREDIT: It is the currency of the transaction between the license server and the licensed
FEATURE. It represents the total amount of credits that become available through the license file
as well as the amount of credits necessary to launch a specific application or procedure
2.4.1. FEATUREs and their important keywords (WEIGHT, CREDIT and OPTIONS)
The stand-alone applications that our licensing system, beta_lm, is called to manage are:
ANSA pre-processor
mETA post-processor
CAD-data to ANSA Translators
…and others…
In addition to the above, there exist features (i.e. aspects of functionality or procedures) embedded in
these applications that are also licensed when used, for example:
FEATURE=ANSA
FEATURE=META_POST
FEATURE=NEW_ANSA_CATIA_V5
FEATURE=ANSA_BATCH
FEATURE=ANSA_TOSCA
... … …
In essence, a FEATURE can represent either a stand-alone application or an aspect of its functionality.
When an instance of a FEATURE is called to run it will need to engage a specific number of credits. This
number is determined by the keyword WEIGHT:
There is also one more important keyword, the CREDIT, which determines the maximum number of
credits that a FEATURE is allowed to engage:
In other words, the CREDIT keyword assigns an individual pool of credits that can be used by this
FEATURE only.
Finally, the OPTIONS keyword determines whether a new instance of the FEATURE will engage
additional credits or not, if launched by the same user on the same machine. The ‘shared’ OPTIONS
implies no extra credits whereas the ‘blank’ OPTIONS implies additional credits:
2.4.2. PACKAGE
The PACKAGE is a collection of FEATURES. The most frequently used PACKAGE is the PRE_POST:
PACKAGE=PRE_POST
Each PACKAGE contains a CREDIT keyword to designate a pool of credits that becomes available to its
members:
PACKAGE=PRE_POST, CREDIT=2300
In essence, each FEATURE within a license file can exist either independently or as a member of a
PACKAGE:
When a FEATURE is standing independently within a license file, then this FEATURE occupies
credits from its own, individual, pool of credits that is defined in the CREDIT= value of the FEA-
TURE
When a FEATURE becomes a member of a PACKAGE, then the number of credits stated in the
CREDIT= value of the FEATURE represent the maximum number of credits that this FEATURE
is allowed to engage from the total number of credits that this PACKAGE can deliver.
FEATURE=ANSA, PACKAGE=PRE_POST
FEATURE=ANSA_BATCH, PACKAGE=PRE_POST
FEATURE=ANSA_CATIA_V4, PACKAGE=PRE_POST
FEATURE=ANSA_OLD, PACKAGE=PRE_POST
FEATURE=ANSA_TOSCA, PACKAGE=PRE_POST
FEATURE=ANSA_UG, PACKAGE=PRE_POST
FEATURE=META_POST, PACKAGE=PRE_POST
FEATURE=META_POST_BATCH, PACKAGE=PRE_POST
FEATURE=META_POST_OLD, PACKAGE=PRE_POST
Again by default, FEATUREs that cannot be included in a PACKAGE (and therefore maintain their own,
individual, pool of credits) are:
FEATURE=NEW_ANSA_CATIA_V5
FEATURE=ANSA_PROE
FEATURE=ANSA_JT
rd
This restriction is imposed by 3 -party Royalty reasons and therefore BETA CAE Systems needs to
Now, let’s try to interpret some sections of the license file in order to gain a better understanding of these
keywords, their interaction and how they control licensing:
21 SN=1,PACKAGE=PRE_POST,CREDIT=2432,ISU=10-oct-2014,EXP=31-jan-2015,SIGNATURE=1e\
24 SN=1,FEATURE=ANSA,PACKAGE=PRE_POST,WEIGHT=100,CREDIT=2300,OPTIONS='shared',SIG\
30 SN=1,FEATURE=ANSA_CATIA_V4,PACKAGE=PRE_POST,WEIGHT=25,CREDIT=2300,OPTIONS=' ',\
will therefore engage credits from the same pool of credits that is made available
to all applications that belong to PRE_POST
WEIGHT=25: When the CATIA_V4 to ANSA conversion procedure is launched, it
will ask for and engage 25 credits
CREDIT=2300: The maximum number of the total PRE_POST credits that can be
engaged by this feature is limited to 2300
OPTION=’ ‘: Unlike ANSA in line 24, this feature is not ‘shared’. This effectively
means that each of the CATIA_V4 to ANSA instances will ask for and will have to
engage 25 credits (regardless if launched by the same user on the same ma-
chine). In other words, 2 instances will need 50 credits, 3 will need 75 and so on.
42 SN=1,FEATURE=META_POST,PACKAGE=PRE_POST,WEIGHT=33,CREDIT=2432,OPTIONS='shared'\
52 SN=1,FEATURE=NEW_ANSA_CATIA_V5,WEIGHT=25,CREDIT=25,ISU=10-oct-2014,EXP=31-jan-\
53 2015,OPTIONS=' ',SIGNATURE=f7f5776ba498a9730fe1ddfdbde52acbde76432ec0ef5809147\
Customers who have already leased the standard pool of 100 credits over 12 months, are eligible for
leasing additional credits for short-term periods in order to cover peak workload (e.g.+200 credits for just
1 month).
Section 3.
Options and usage of
License Administration Tools
3.1. The beta_lm options
As discussed in earlier paragraphs the beta_lm command initiates the license daemon. The
corresponding usage is:
beta_lm -f [full_path_to_the_license_file]
and additional flags are:
-L [ful_path_to_the_log_file] : write report log information to this file (recommended)
-h [hostname or ip_address] : specify the license server machine
-p [portnumber] : specify the communication port
-install : installation option (Windows only)
-debug : run in interactive mode for debugging (Windows only)
-remove : remove the beta_lm service (Windows only)
-host_key : generate a license key based on ethernet adapter
-ni [USB, WiFi] : generate a license key based on USB or WiFi adapter
In its simplest form, the "-f" for Linux and "-install -f" flags for Windows would suffice to initiate the license
daemon. However, it is suggested that the "-L" flag followed by a log filename is also used:
beta_lm -f [full_path_to]/license.dat -L <[full_path_to]license.log>
beta_lm -install -f [full_path_to]\license.dat -L
<[full_path_to]license.log>
In this way the license daemon is able to communicate any messages to the license.log file for installation
debugging or license monitoring reasons.
A. LINUX Platforms
open a command prompt and terminate beta_lm by issuing a "kill" command followed by any
signal - except "-9" - and the PID of the parent beta_lm process. It is recommended to use the
"-3" (QUIT) "-15" (TERMINATE) or signal for this action.
Note: Killing beta_lm using the "-9" signal will cause abnormal termination and the licensing
system will not function correctly, especially in cases where a server redundancy scheme is used.
B. WINDOWS Platforms
In order to terminate beta_lm in WINDOWS systems, the administrator should access the "BETA
LM Service" from Control Panel>Administrative Tools>Services and "stop" the service.
(a) using the -h [server hostname] flag. For example, if we want to see the status of a specific
license server called server1, we type:
beta_lm_stat -h server1
and the result looks like:
Trying server1.localdomain ....
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT first section
PRE_POST | Wed Sep 10 2003 | Mon Oct 25 2004 | 5000
ANSA_CATIA_V5 | Wed Sep 10 2003 | Mon Oct 25 2004 | 300
- At the first section we get information on the currently licensed packages along with the duration
and the corresponding credits of each package.
- At the second section we get information about the usage of each feature, i.e. of each licensed
application that is currently running.
Note: Both the above sections are repeated when using the -a and -u flags.
(b) using the -a flag returns information about all currently active users:
beta_lm_stat -a
and the result looks like:
Trying server1.localdomain ....
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT
PRE_POST | Wed Sep 10 2003 | Mon Oct 25 2004 | 5000 first section (as before)
ANSA_CATIA_V5 | Wed Sep 10 2003 | Mon Oct 25 2004 | 300
(c) using the -u [username] flag returns information about a specific user. For example, if we
type:
beta_lm_stat -u user2
we will get information about user2 on all machines:
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT
PRE_POST | Wed Sep 10 2003 | Mon Oct 25 2004 | 5000
ANSA_CATIA_V5 | Wed Sep 10 2003 | Mon Oct 25 2004 | 300
(d) We can restrict information by indicating the hostname where a user is logged by typing:
beta_lm_stat -u user2@host1
and the result will be:
STATUS REPORT
PACKAGE | ISSUED | EXPIRE | CREDIT
PRE_POST | Wed Sep 10 2003 | Mon Oct 25 2004 | 5000
ANSA_CATIA_V5 | Wed Sep 10 2003 | Mon Oct 25 2004 | 300
All information acquired either from the global log file or through the current licensing status is suitable for
input to standard spreadsheet tools (e.g. EXCEL, OpenOffice etc.) for further statistical processing.
Section 4.
The License.dat File
4.1. The license.dat file
The license file license.dat holds all information that is necessary for the proper and uninterrupted use of
the licensed application. This file is unique and is created for use with the customer's designated license
servers and respective license scheme. Moreover, since it is a file required by the beta_lm to manage all
licensed applications, it should be installed to every server that is running a beta_lm daemon.
(b) point to this file using the corresponding full path into line 10.
If the IDLE_USER_TIMEOUT parameter is missing or is set to zero, then no limitations apply.
Note that the minimum idle time setting is 20 minutes.
- Line 13 holds information about the license server machine and communication port, so the
administrator should fill in the corresponding values. Note that the default communication port is
6007. Normally, a license file has one SERVER line. If more SERVER lines appear it means that a
license scheme with redundant servers is used.
- Whatever follows below line 15 belongs to the not-editable section and any modifications will
result in license termination. This not-editable section contains all licensing specifications (such as
software groups, total number of credits and duration of each group etc) and is created by BETA
CAE Systems based on a unique key that is supplied by the customer.
The licensing specifications are divided into sections which in turn are characterized by a serial
number, an identification, the duration and an encrypted digital signature key. A brief description of
the corresponding flags used in these sections is given below:
Flag Description
SN= This is the serial number of the current section of the license file.
HOSTID= This is the host-id of the License Server. It corresponds to the server_name
given in line 13. See next paragraph on how to obtain a valid host-id.
ISU= & EXP= Line 17: Duration of the license file.
Lines 25, 29 and 33: Duration of the current section of the license file. Can
be different from the total duration that is set for the license file but cannot
exceed the duration set for the license file.
OPTIONS= Line 17: This is the company name for which the license file is prepared for
and installed.
Lines 26, 30 and 34: Additional options related to the current section.
'shared' Note that in line 26, the 'shared' option specifies that the current licensed
application (ANSA) will reserve a single license if it is requested by the
same user for the same machine/console.
Tn= , Tm= , Ts= , Reserved Flags.
WCL= , ACD= ,
FRC= ,
SSC=
SIGNATURE= Encrypted digital key of the current section.
PACKAGE= This flag is used in order to define a licensed application “group”. For
example, in line 22 a group called “PRE_POST” is defined and 3000 credits
are assigned to this group.
CREDIT= Total credits available for this section. If this section belongs to a PACKAGE
or FEATURE, then these are the total credits for this package or feature.
FEATURE= A "feature" can be either a specific licensed application (like ANSA in line
25), or a specific software-feature that consumes a different number of
credits (like the ANSA_CATIA translation in line 29).
Such FEATUREs can either belong to a software PACKAGE or can be
stand-alone.
WEIGHT= This is the "weight" of a FEATURE, i.e. the number of credits that are
reserved by one instance of the FEATURE. The weight of all currently
running FEATUREs cannot exceed the corresponding number of CREDITS
assigned to this FEATURE. For example, in line 29, it is apparent that up to
a total of 8 ANSA_CATIA instances are allowed to run, since the weight of
each one is 25 and the total credits are 200.
Section 5.
Running a Licensed Application
5.1. Searching for a valid license
When the end-user launches an application, this application will search through the network for available
floating licenses. To do so, the licensed application must contact the license server which is indicated at
the SERVER line of the license file. If this fails, then the application will continue to search in an orderly
fashion at the following locations:
#Location Notes
1.BETA_LIC_FILE Environment Setting
2.ANSA_HOME (or META_HOME) Environment Setting
3.current directory
4.BETA_LIC_SRV Environment Setting
5.ANSA_SRV Environment Setting
6.host with alias
BETA_LIC_SRV
7.host with alias ANSA_SRV
8.localhost
If the search fails in all above locations, the application will not start.
The end-user has alternatively the option to declare a specific license server by its name or IP-address,
using the -h flag:
application -h port@server or
for example:
ansa -h port@server
When a redundancy scheme is used, the above command should be like:
ansa -h port@server1,port@server2,port@server3
In its simplest form, a licensed application needs to know where in the network, does the ANSA_SRV
environment variable points to. In turn, ANSA_SRV should point to the server or servers (single server or
redundant servers), as these are listed in the corresponding license.dat file.
In such cases, the licensed application needs to know all alternate servers that may provide the
requested license. There are three alternative ways to achieve this:
(a) Set the environment variable ANSA_SRV to point to all alternate servers:
LINUX Systems: setenv ANSA_SRV 6007@gauss,6007@hilbet,6007@riemann
WINDOWS Systems: set ANSA_SRV=6007@gauss,6007@hilbet,6007@riemann
(b) Keep a copy of the license.dat file into the client machine where the licensed application is
called to run, and run the application using the -f option to point to license.dat e.g.
ansa -f license.dat
(c) Keep a copy of the license.dat file into the client machine where the licensed application is
called to run, and set the environment variable BETA_LIC_FILE to point to license.dat e.g.:
LINUX Systems: setenv BETA_LIC_FILE license.dat
WINDOWS Systems: set BETA_LIC_FILE=license.dat
When more than one servers are declared in the ANSA_SRV variable, the client application will request
for a license by checking these servers in a specific search order: At first, the client will check the first
declared server and then will start checking backwards from the last server to the second.
As an example consider a server scheme consisting of n servers. The respective ANSA_SRV declaration
should be:
LINUX Systems: setenv ANSA_SRV server1,server2,....server(n-1),server(n)
WINDOWS Systems: set ANSA_SRV=server1,server2,....server(n-1),server(n)
In such cases the client will check the servers in the following order:
1. server1 (first declared server)
2. server(n) (last declared server)
3. server(n-1) (second to the last server)
.....
n. server2 (second server)
Section 6.
beta_lm On The Go
6.0. Introduction to beta_lm On The Go
From version 6.1 and on, beta_lm fully supports the usage of a USB Ethernet/WiFi card for the license
server.
For more detailed information regarding the USB Ethernet/WiFi card and the general beta_lm On The Go
features and functionalities, you may refer to the following section.
beta_lm On The Go is supported ONLY for Single server scheme and ONLY on Windows platform.
Windows
Single server YES YES
(32bit/64bit OS Version)
Redundant NO LINUX/MacOS NO
(32bit/64bit OS Version)
In case someone needs to go on a trip with a laptop and needs ANSA, then he can take the USB server
and connect it on the laptop. This way he will have an active ANSA license at his laptop that he can
"return" upon his return.
The advantage of this scheme is that you have one license that can be taken and used by any computer
with no interaction from our side, and you can include this license cost on the total year budget.
Of course, the disadvantage is that when the USB is away you will have one license less.
Single Server scheme: e.g. server_1 and one USB license on server_2, then your client machines will
have ANSA_SRV = server_1, server_2
Important on WINDOWS platforms only: By default, beta_lm targets the ethernet card in order to
generate the required host key. However, on Windows platforms only, the user can explicitly ask to
generate a host key based on an existing USB or WiFi installed network adapter. To do so, the -ni
(standing for network interface) flag should be used, followed by an argument pointing to the desired
network interface:
Section 7.
Regarding Virtual Machines
7.1. beta_lm_tools on Virtual Machine
Installation of beta_lm_tools in any type of Virtual Machine is prohibited. Server license keys produced by
Virtual Machines are invalid and cannot be used to launch any application licensed by BETA CAE
Systems.
Section 8.
Troubleshooting beta_lm
8.1. Troubleshooting beta_lm
Troubleshooting actions for problems encountered during installation or operation of the beta_lm license
management tools are given in this paragraph. Since most of these problems are reported in the "license
log" file, it is recommended to use the -L flag during the installation of the beta_lm license daemon (see
paragraph 2.2.7).
The following table presents a list of common errors along with the corresponding description and
recovery action.
platform: WINDOWS
description: The beta_lm service could not be started.
recovery: Open a command prompt, switch to the beta_lm_tools folder
and remove the current beta_lm service using the "beta_lm -remove"
command. Then, follow the steps below:
1- Make sure that the network interface is active, even though there is no
physical connection to any network.
2- Make sure that the server NAME specified in the SERVER= line of the
license.dat file is correct and it corresponds to the machine that will be
used as license server. It might also be necessary to edit this line and
change from:
SERVER=hostname,PORT=6007 to
SERVER=hostname.localdomain,PORT=6007 or
SERVER=localhost,PORT=6007 or
SERVER=IP_ADRESS,PORT=6007
3- Verify that beta_lm is installed on the same machine that was
ERROR 1067: The process terminated
declared to BETA CAE Systems as license server; the HOSTID within
unexpectedly
license.dat should be identical to the key reported by running the
"beta_lm -host_key" command
4- Make sure that the PORT number specified in the SERVER= line of
the license.dat file is not already used by another application or is
blocked by a firewall.
5- Make sure that there are no "blank spaces" in the full path leading to
the license.dat file. Replace the location of the file to avoid blank
spaces.
6- Make sure that all complete lines in the non-editable section of the
license.dat file are not wrapped and they end with a back-slash "\".
7- In rare occasions, it might be necessary to login as "Administrator"
and not as a user with administrative privileges.
8- Confirm that the date & time settings on the workstation are correct.
Finally, reinstall beta_lm as described in paragraph 2.2.7. If the problem
persists, contact BETA CAE Systems for assistance.
platform: WINDOWS
ERROR 1063: StartServieCtrlDispatcher description: The beta_lm servive could not be started.
failed recovery: Use the full path of the license file during the installation
procedure
platform: ALL
description: The machine where beta_lm is launched and will be used
as license server is different from the machine that is declared as server
ABORTING SERVER: COULD NOT INSTALL within the license.dat file. As a result, the installation process is aborted.
SERVER recovery: Verify that beta_lm is installed on the same machine that was
declared to BETA CAE Systems as license server; the HOSTID within
license.dat should be identical to the key reported by running the
"beta_lm -host_key" command.
platform: ALL
description: The license.dat file does not contain comprehensive
SERVER UNDEFINED MODE
instructions to the server. beta_lm cannot serve any licenses.
recovery: Contact BETA CAE Systems for assistance.
platform: ALL
SERVER APPLICATION ERROR description: beta_lm has encountered a serious system error
recovery: Contact BETA CAE Systems for support.
platform: ALL
SERVER Invalid License File description: The license.dat file has an invalid SERVER= line.
recovery: Contact BETA CAE Systems for assistance.
platform: ALL
description: beta_lm cannot resolve the server name or IP address.
recovery: Verify that the SERVER= line of the license.dat file has the
correct server hostname. If the error persists, replace the hostname with
Failed FILE address resolution
the corresponding IP-address or with "localhost". To obtain the IP
address, open a command prompt window and use the “ping” command:
ping server_hostname. Check also if the port is used from used by
any other application.
platform: ALL
ERROR Option -L, file name TOO BIG description: the file name specified for the log file is too big.
recovery: Specify a smaller file name for the log file.
platform: ALL
description: There is no license file specified or the path leading to the
ERROR License File not found license.dat file is wrong.
No License File found recovery: Verify that the license.dat file exists and reinstall beta_lm
using the full path to the license.dat file. See paragraph 2.2.7 for details.
platform: ALL
description: There is no license file specified or the path leading to the
license.dat file is wrong, or the user has no “read” privileges for the
ERROR License File could not be opened for license file.
read recovery: Verify that the license.dat file exists, has the proper privileges,
and reinstall beta_lm using the full path to the license.dat file. See
paragraph 2.2.7 for details.
platform: ALL
description: The HOSTID string within the license.dat file does not
match the one created by the current beta_lm_tools version.
ERROR in License File: Could not locate recovery: Verify that the HOSTID string inside the license.dat file is
HOSTID match identical to the one produced by the currently installed version of
beta_lm_tools. If not, install the latest beta_lm_tools and create a new
host key.
platform: ALL
description: The specified license.dat file is invalid.
NOT A VALID LICENSE FILE FOUND recovery: Verify that the HOSTID within license.dat is identical to the
key reported by running the "beta_lm -host_key" command. Contact
BETA CAE Systems for assistance.
platform: ALL
ERROR in License File : Signatures did not description: The alphanumeric strings at the SIGNATUE= lines are not
verify valid.
recovery: Contact BETA CAE Systems for assistance.
platform: ALL
description: The alphanumeric strings at the SIGNATUE= lines are not
valid.
Signatures don't verify with hostid line recovery: Follow the steps below:
Signatures don't verify with feature line 1- Make sure that all complete lines in the non-editable section of the
license.dat file are not wrapped and end with a back-slash "\".
2- Verify that the HOSTID within license.dat is identical to the key
reported by running the "beta_lm -host_key" command.
platform: ALL
License Error at Line : #
description: There is an error in this particular line of the license.dat file.