This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Redundant license setup

Hello 

I've seen that this question has been asked multiple times but I don't think I have found a satisfactory answer. Please do not give me canned responses. I've already gone through that with the asktexas support. I've setup a lot of engineering licenses in a redundant setup so I am familiar with how flexlm/flexnet works. The operating system is RHEL6 for the three servers in the triad.

Here's the story. I have a license file that I got by activating the code provided in the media I was sent. 

Code Composer Studio IDE - Floating License came from myTI_License@list.ti.com

I followed the instructions I got in http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS. I first tried the CLI setup and then the GUI setup.

I changed the license file to allow for redundant setup. Of course I had to add port numbers since there's more than one license on the triad.

#Please Do not delete this comment line.
SERVER server0 2c600c600334 27030 PRIMARY_IS_MASTER
SERVER server1 2c600c6003c1 27030
SERVER server2 d4ae52d366f0 27030

Errors:

21:26:43 (lmgrd) Server's System Date and Time: Thu Aug 13 2015 21:26:43 BST
21:26:43 (lmgrd) SLOG: Summary LOG statistics is enabled.
21:26:43 (lmgrd) FlexNet Licensing (v11.12.1.1 build 150159 i86_lsb) started on server0 (linux) (8/13/2015)
VENDOR_STRING="Not Used" ISSUER="Texas Instruments Inc." \
BORROW SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
START=8-aug-2015 SIGN="0058 89BA CF97 B031 0B49 C049 E0CC B200 \
EA3F 8EBE 986F 36C6 6894 0B87 3210"
21:29:09 (tidspssw) Invalid license key (inconsistent authentication code)
21:29:09 (tidspssw) ==>INCREMENT CCS_ISA_ALL tidspssw 6.99 permanent 100 VENDOR_STRING="Not \
Used" ISSUER="Texas Instruments Inc." BORROW \
SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
START=8-aug-2015 SIGN="0050 2C28 05AA C33A 0741 2B53 384E ED00 \
0564 3C90 15C8 8CA9 EE5D DE05 B6D1"
21:29:09 (tidspssw) Invalid license key (inconsistent authentication code)
21:29:09 (tidspssw) ==>INCREMENT CCS_DEBUGGER tidspssw 6.99 permanent 100 VENDOR_STRING="Not \
Used" ISSUER="Texas Instruments Inc." BORROW \
SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
START=8-aug-2015 SIGN="0036 DB63 AA24 F973 2171 B544 700B A700 \
861D 19EA 1B6D D4E4 2DAE 16E9 8312"
21:29:09 (tidspssw) License server system started on server0

When I stop the process, I can see it detects the proper ports:

texasinstruments]$ ./lmutil lmdown -c ti-primary-is-master.lic 
lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved.

Port@Host Vendors
1) 27030@server0,27030@server1,27030@server2 tidspssw

I raised an SR 1-1874579901 and attached the original license file and the edited license file. They sent me back the license file where they changed the PRIMARY_IS_MASTER to PRIMARY_MASTER. I have tried this configuration too. This does not work.

#Please Do not delete this comment line.
SERVER server0 2c600c600334 27030 PRIMARY_MASTER
SERVER server1 2c600c6003c1 27030
SERVER server2 d4ae52d366f0 27030

server0 runs fine except it gets the wrong port:

21:26:43 (lmgrd) Server's System Date and Time: Thu Aug 13 2015 21:26:43 BST
21:26:43 (lmgrd) SLOG: Summary LOG statistics is enabled.
21:26:43 (lmgrd) FlexNet Licensing (v11.12.1.1 build 150159 i86_lsb) started on server0 (linux) (8/13/2015)
21:26:43 (lmgrd) Copyright (c) 1988-2014 Flexera Software LLC. All Rights Reserved.
21:26:43 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
21:26:43 (lmgrd) License file(s): ti-primary-no-is-master.lic
21:26:43 (lmgrd) lmgrd tcp-port 27002
21:26:43 (lmgrd) (@lmgrd-SLOG@) ===============================================
21:26:43 (lmgrd) (@lmgrd-SLOG@) === LMGRD ===
21:26:43 (lmgrd) (@lmgrd-SLOG@) Start-Date: Thu Aug 13 2015 21:26:43 BST
21:26:43 (lmgrd) (@lmgrd-SLOG@) PID: 10996
21:26:43 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.12.1.1 build 150159 i86_lsb ( build 150159 (ipv6))
21:26:43 (lmgrd) (@lmgrd-SLOG@) 
21:26:43 (lmgrd) (@lmgrd-SLOG@) === Network Info ===
21:26:43 (lmgrd) (@lmgrd-SLOG@) Socket interface: IPV6
21:26:43 (lmgrd) (@lmgrd-SLOG@) Listening port: 27002
21:26:43 (lmgrd) (@lmgrd-SLOG@) 
21:26:43 (lmgrd) (@lmgrd-SLOG@) === Startup Info ===
21:26:43 (lmgrd) (@lmgrd-SLOG@) Server Configuration: 3-Server Certificate
21:26:43 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -c ti-primary-no-is-master.lic -l ti-log-primary-no-is-master.log 
21:26:43 (lmgrd) (@lmgrd-SLOG@) License file(s) used:  ti-primary-no-is-master.lic
21:26:43 (lmgrd) (@lmgrd-SLOG@) ===============================================
21:26:43 (lmgrd) Redundant server configuration enabled. Attempting to establish quorum... 

server1 and server2 have the same error.

21:26:46 (lmgrd) Server's System Date and Time: Thu Aug 13 2015 21:26:46 BST
21:26:46 (lmgrd) SLOG: Summary LOG statistics is enabled.
21:26:46 (lmgrd) FlexNet Licensing (v11.12.1.1 build 150159 i86_lsb) started on server1 (linux) (8/13/2015)
21:26:46 (lmgrd) Copyright (c) 1988-2014 Flexera Software LLC. All Rights Reserved.
21:26:46 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
21:26:46 (lmgrd) License file(s): ti-primary-no-is-master.lic
21:26:46 (lmgrd) lmgrd tcp-port 27030
21:26:46 (lmgrd) (@lmgrd-SLOG@) ===============================================
21:26:46 (lmgrd) (@lmgrd-SLOG@) === LMGRD ===
21:26:46 (lmgrd) (@lmgrd-SLOG@) Start-Date: Thu Aug 13 2015 21:26:46 BST
21:26:46 (lmgrd) (@lmgrd-SLOG@) PID: 13716
21:26:46 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.12.1.1 build 150159 i86_lsb ( build 150159 (ipv6))
21:26:46 (lmgrd) (@lmgrd-SLOG@) 
21:26:46 (lmgrd) (@lmgrd-SLOG@) === Network Info ===
21:26:46 (lmgrd) (@lmgrd-SLOG@) Socket interface: IPV6
21:26:46 (lmgrd) (@lmgrd-SLOG@) Listening port: -1
21:26:46 (lmgrd) (@lmgrd-SLOG@) 
21:26:46 (lmgrd) (@lmgrd-SLOG@) === Startup Info ===
21:26:46 (lmgrd) (@lmgrd-SLOG@) Server Configuration: 3-Server Certificate
21:26:46 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -c ti-primary-no-is-master.lic -l ti-log-primary-no-is-master.log 
21:26:46 (lmgrd) (@lmgrd-SLOG@) License file(s) used:  ti-primary-no-is-master.lic
21:26:46 (lmgrd) (@lmgrd-SLOG@) ===============================================
21:26:46 (lmgrd) Redundant server configuration enabled. Attempting to establish quorum...
21:26:46 (lmgrd) Missing Port on Server line , exiting.
21:26:46 (lmgrd) Error initializing quorum state, exiting.

I've tried the latest flexlm and vendor daemons and older daemons. They do not work.

Your asktexas support said that:

"Unfortunately, if it does not work I cannot provide you further assistance. You need the help from engineers. To get the engineer support please go to http://e2e.ti.com/support/development_tools/code_composer_studio/"

So here I am hoping an engineer can answer my simple question. Why can we not just add another two boxes in the license generation process so we, the admins, do not have to alter the license file? How do I make this license file work? Please help.

  • What does the line look like under the section where you specify the servers? We don't have many people who setup a 3-server system with CCS as for the way CCS licensing works it really isn't needed. In a typical FlexNet/LM system if you can't connect to the license server it will prevent you from using the product. However the behavior in CCS is different in that we will still let you use the product but let you know that there is an issue with reaching the server. That way you are not blocked from development.

    I will flag this for someone to take a look at if you still want to go ahead with the 3-server setup. There is a little more info at the FAQ below.

    processors.wiki.ti.com/.../FAQ_-_CCSv5

    Regards,
    John
  • Thanks for responding John. I shall await further instructions. I am a lonely minion who must follow my orders. Fingers crossed.

    The full license looks like this:

    #Please Do not delete this comment line.
    SERVER server0 2c600c600334 27030 PRIMARY_MASTER
    SERVER server1 2c600c6003c1 27030
    SERVER server2 d4ae52d366f0 27030
    VENDOR tidspssw USE_SERVER
    INCREMENT CCS_CONNECTION_ALL tidspssw 6.99 permanent 100 \
            VENDOR_STRING="Not Used" ISSUER="Texas Instruments Inc." \
            BORROW SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
            START=8-aug-2015 SIGN="0096 2278 3938 EDB7 0CB9 83F1 A899 4800 \
            355F 93D6 D23C 3C07 C3CA 2092 EBF1"
    INCREMENT CCS_LINKER_FULL tidspssw 6.99 permanent 100 \
            VENDOR_STRING="Not Used" ISSUER="Texas Instruments Inc." \
            BORROW SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
            START=8-aug-2015 SIGN="0058 89BA CF97 B031 0B49 C049 E0CC B200 \
            EA3F 8EBE 986F 36C6 6894 0B87 3210"
    INCREMENT CCS_ISA_ALL tidspssw 6.99 permanent 100 VENDOR_STRING="Not \
            Used" ISSUER="Texas Instruments Inc." BORROW \
            SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
            START=8-aug-2015 SIGN="0050 2C28 05AA C33A 0741 2B53 384E ED00 \
            0564 3C90 15C8 8CA9 EE5D DE05 B6D1"
    INCREMENT CCS_DEBUGGER tidspssw 6.99 permanent 100 VENDOR_STRING="Not \
            Used" ISSUER="Texas Instruments Inc." BORROW \
            SN=CustomFID_172BB580_3EA3_11E5_A6F7_8319A6120157 \
            START=8-aug-2015 SIGN="0036 DB63 AA24 F973 2171 B544 700B A700 \
            861D 19EA 1B6D D4E4 2DAE 16E9 8312"
    
  • I have flagged it for someone to look at but while we are waiting for that I can attempt to help, but I am a bit rusty on this stuff.  It has been a while since I have had some one with a 3 server solution.  I took a look at the last couple I helped with with a couple years ago.

    One had PRIMARY_IS_MASTER and the other PRIMARY_MASTER.  I have seen references to both online but PRIMARY_IS_MASTER is more common.  In reading the flex documentation the keyword is optional.  If it is not there then the first server in the list will be the primary and if it is unreachable then the second one becomes the primary and stays as the primary until it becomes unreachable then it would switch back to the first.

    When looking at the last file I did I see that the VENDOR_STRING field has the name of the primary server.  Yours has "Not Used".  If you like I can start a private conversation and if you send me your license file and the server name I can edit the file, digitally sign it and send it back to you.

    Regards,

    John

  • I'd like a private conversation and I can send you the files I got sent.
  • Just a note for anyone else following the thread.

    We were able to resolve this offline by doing a couple of things.
    1) User PRIMARY_IS_MASTER instead of PRIMARY_MASTER
    2) The name of the primary server needs to be specified in the "VENDOR_STRING" for each feature. If you specify the name of the server in the description box during activation it will end up there.

    The FAQ on the wiki will be updated with these notes.

    Regards,
    John