How to create a Three Node Redundant FLEXlm Server for Statistica?
1.
Install the Statistica License ManagerIn this procedure only the Statistica License Manager will be installed. During the process of running the installation package many options will have to be unselected to do this procedure. Because of the many types of installations, some of your dialogues may be slightly different or you may encounter dialogues that are not present in this help. Please work through those dialogues using the on-screen instructions. This procedure needs to be carried out on the
3 machines that will act as the 3-node license server.
a. Select "Custom" instead of "Typical" during the installation.
b. Select all features except the Statistica License Manager service and select the "X This feature will not be installed."
Note: If 1 of these 3 machines is intended to be the
Statistica file server, used for Statistica workstation installations, then a full installation is required on that machine. This article assumes that the end-user will install the Statistica file server to a 4
th machine.
2.
Verify the installation of the Statistica License ManagerUse the control panel to load the services applet. This applet can be found in the administrative tools sub-section. The licensing service is named ‘Statistica License Manager’. Verify that this service exists and is started with a startup type of "Automatic."
3.
Stop the Statistica License Manager serviceYou must now stop the ‘Statistica
License Manager’ service. Right-click and select "Stop." Stop this on all 3 servers.
4.
VerificationVerify the installation of the
Statistica License Manager on the 3 machines that will act as the 3 node license server. Verify that the Statistica License Manager Service is stopped on all the machines. Both of these criteria must be met to proceed.
5.
Modify the license filesIn the next set of steps each of the license files will be modified. The modification involves combining the SERVER lines of the license file into each of the license files.
a. Identify the location of the license files on the respective license servers. The license file is, by default, located at C:\Program Files\Statistica\stat.lic. Open each license file in Notepad. Identify the SERVER line. For each license file, add in the SERVER lines of the other two license files and add the port which will negotiate the connection with the Statistica clients. For clarification the VENDOR line will also be displayed. The example below shows the important parts of the 3 licenses before and then after.
Ex: (before)
License file on Machine1:
SERVER Machine1 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
VENDOR sta_flxm
License file on Machine2:
SERVER Machine2 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
VENDOR sta_flxm
License file on Machine3:
SERVER Machine3 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
VENDOR sta_flxm
Ex: (after)
License files on Machine1, Machine2, and Machine3 all contain the combined SERVER lines.
SERVER Machine1 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 26999
SERVER Machine2 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 26999
SERVER Machine3 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 26999
VENDOR sta_flxm
6.
Save the license filesSave the license file. Read only protection may have to be removed. This can be accomplished using Windows Explorer or via the command prompt window. In the Windows explorer select the file and right click for the properties. Uncheck the read only box, then click OK. In the command prompt window the command ‘attr –r’ is used to remove the read only bit. Ex: attr –r stat.lic.
Note: All 3 license files will be identical at the end of the process.
7.
Resign the license filesCreate a support case with TIBCO support. Attach the combined license file to TIBCO Software Inc. TIBCO must resigned the license file in order for you to continue. Once the license is resigned, it will be sent back to you. Apply the validated license files. Make a backup of your original before proceeding (rename it .bak).
8.
Create a pointer license fileA pointer license file must be created for each client that uses Statistica and for each additional Statistica server that may be installed. This file is made up of the 3 SERVER lines plus an additional line with the text ‘USE_SERVER’. This file must be named “ClientSTAT.tmp”. During the
Statistica file server installation, you will be prompted specify the path to this file.
Ex: (pointer file)
SERVER Machine1 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx26999
SERVER Machine2 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 26999
SERVER Machine3 STATID=xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx 26999
USE_SERVER
9.
Restart the license serversUsing the services applet again, start the Statistica License Manager service on each machine. The license servers are now running as the 3 node license server.
To verify this, view the Statistica License Manager log file on Machine1. Viewing the lmgrd.log file on any of the license servers should show the similar results. The log file will be found in the license server installation path. By default this is C:\Program Files\StatisticaFLEXlm\lmgrd.log. Notice the bold items. These indicate that the 3 node license server is being used.
The log file will be similar to the following:
16:24:34 (lmgrd) -----------------------------------------------
16:24:34 (lmgrd) Please Note:
16:24:34 (lmgrd)
16:24:34 (lmgrd) This log is intended for debug purposes only.
16:24:34 (lmgrd) There are many details in licensing policies
16:24:34 (lmgrd) that are not reported in the information logged
16:24:34 (lmgrd) here, so if you use this log file for any kind
16:24:34 (lmgrd) of usage reporting you will generally produce
16:24:34 (lmgrd) incorrect results.
16:24:34 (lmgrd)
16:24:34 (lmgrd) -----------------------------------------------
16:24:34 (lmgrd)
16:24:34 (lmgrd)
16:24:34 (lmgrd) Done rereading
16:24:34 (lmgrd) FlexNet Licensing (v11.17.1.0 build 268393 i86_n3) started on nightlybuildold (IBM PC) (8/25/2020)
16:24:34 (lmgrd) Copyright (c) 1988-2020 Flexera. All Rights Reserved.
16:24:34 (lmgrd) US Patents 5,390,297 and 5,671,412.
16:24:34 (lmgrd) World Wide Web: http://www.flexerasoftware.com
16:24:34 (lmgrd) License file(s): C:\Program Files (x86)\Statistica\FLEXlm\Licensing\stat.lic
16:24:34 (lmgrd) lmgrd tcp-port 2699916:24:36 (lmgrd) Trying connection to Machine216:24:37 (lmgrd) Trying connection to Machine316:24:50 (lmgrd) Connected to Machine216:24:50 (lmgrd) CONNECTED, master is Machine116:24:50 (lmgrd) Starting vendor daemons ... 16:24:50 (lmgrd) Started sta_flxm (pid 3404)16:24:51 (lmgrd) Connected to Machine216:24:51 (lmgrd) sta_flxm using TCP-port 26999 expires 13-jul-202116:24:50 (sta_flxm) Server started on Machine1 for: APPS 16:24:50 (sta_flxm) ASCX ASUP BASX
16:24:50 (sta_flxm) BGAX BTRX CANX
16:24:50 (sta_flxm) CLUX COGX CORX
16:24:50 (sta_flxm) DBTX DDNX DISX
16:24:50 (sta_flxm) DMNX EXPX FACE
16:24:50 (sta_flxm) FACI FACX FNLX
16:24:50 (sta_flxm) FSLX GAMX GCLX
16:24:50 (sta_flxm) GDAX GLMX GLZX
16:24:50 (sta_flxm) GOFX GSRX ITRX
16:24:50 (sta_flxm) LIBS LOGX MANX
16:24:50 (sta_flxm) MARX MNLX MSPC
16:24:50 (sta_flxm) MULX NLNX NOND
16:24:50 (sta_flxm) NONX PLSX POWX
16:24:50 (sta_flxm) PROX QCMX QUAX
16:24:50 (sta_flxm) REGX RELX RFTX
16:24:50 (sta_flxm) RPDX RSPX SEMX
16:24:50 (sta_flxm) SEQX SNCX SNNX
16:24:50 (sta_flxm) SPCN SURX TIMX
16:24:50 (sta_flxm) TREX TXTX VARX
16:24:50 (sta_flxm) VCHX VTRX WSIP
16:24:50 (sta_flxm) WSKP WSNP WUSR
16:24:51 (sta_flxm) Connected to Machine216:24:51 (sta_flxm) Connected to Machine3