cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to perform reread when "-local" is specified under three server redundancy?

How to perform reread when "-local" is specified under three server redundancy?

Question

lmreread utility sends reread command to three servers automatically. This works well when there is no "-local" parameter specified.
In the case "-local" is specifed when starting license server, lmreread will not be able to update license file on remote servers and returns following error message.
C:\v11.12.1.2>lmutil lmreread -c 3333@win-primary
lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
lmreread failed: lmdown/lmreread must be run on the license server machine. (-119,565)

C:\v11.12.1.2>lmutil lmreread -c counted-3s.lic
lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
lmreread failed: lmdown/lmreread must be run on the license server machine. (-119,565)

How to perform reread in this scenario?

Answer

A workaround is to create a special license file (see reread.lic below) for each leg of three servers and pass it to lmreread.
C:\v11.12.1.2>lmutil.exe lmreread -c reread.lic
lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
lmreread successful

---- for primary server ----
C:\v11.12.1.2>type reread.lic
SERVER WIN-Primary 000c298239b9 3333
vendor demo PORT=4444

C:\v11.12.1.2>type counted-3s.lic
SERVER WIN-Primary 000c298239b9 3333
SERVER WIN-Secondary 000c29a33948 3333
SERVER WIN-Tertiary 000c2917649b 3333
vendor demo PORT=4444
FEATURE f1 demo 1.0 permanent 4 SIGN="0303 E2C7 24CA CBE0 93E5 \
        866D 5982 3CEA 0FF2 A8CC 0203 8A30 8A37 5D96 EAC2 F24B 85AE \
        608C 32E7 E228 B177"


---- for secondary server ----
C:\v11.12.1.2>type reread.lic
SERVER WIN-Secondary 000c29a33948 3333
vendor demo PORT=4444

C:\v11.12.1.2>type counted-3s.lic
SERVER WIN-Primary 000c298239b9 3333
SERVER WIN-Secondary 000c29a33948 3333
SERVER WIN-Tertiary 000c2917649b 3333
vendor demo PORT=4444
FEATURE f1 demo 1.0 permanent 4 SIGN="0303 E2C7 24CA CBE0 93E5 \
        866D 5982 3CEA 0FF2 A8CC 0203 8A30 8A37 5D96 EAC2 F24B 85AE \
        608C 32E7 E228 B177"

To clarify you have to copy the simple 'reread.lic' file (customised for each host, no encryption needed) to each node and then run the lmread command locally (for that is the reason for the -local qualifier) calling the reread.lic file rather than the full license file. For example,
C:\Program Files (x86)\Flexera\FNP\Flexera 11.14.1.1\Triad Test>lmreread -c reread.lic
lmreread - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
[Detecting lmgrd processes...]
lmreread successful
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 14, 2018 11:10 PM
Updated by: