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.
Hello,
I have a problem with floating licences (Floating 3 User Pack (F03) ) with 3 servers configuration.
I followed the procedure described in your wiki (http://processors.wiki.ti.com/index.php/License_Server_Administration_for_CCS) and I generated a license file from the primary hostID. So I get a file with only one server line (only one hostid is requested by the activation webpage http://www.ti.com/activatesoftware). This file works fine with a configuration with only one server.
I have modified the file in order to have the three SERVER lines as described in your wiki and added the keywork PRIMARY_IS_MASTER on the master server line but this modified file didn't work. First master server is started without any error, then when the second server is started the error message "Invalid license key ..." is printed for each INCREMENT lines...
We use other products thanks to FlexLM and we always give the three hostIDs for the license generation so I would like to be sure that the procedure is correct? Is there another way to generate the license file with 3 hostIDs? I had a look on flexLM documentation and INCREMENT keys are generated from hostIDs...
Thank you for your help.
Hi Mike,
It would be better if you mail the license dept. for quick response:
Regards,
Gautam
Hi Mickael,
unfortunately we are not flexnet experts here. I also am not really able to test this type of setup either. From the documentation it looks like you have to be sure to be in redundant server mode, however as mentioned we have never done this here.
One this to check is ... how have you added the redundant servers? Have you tried adding them with a fully resolved IP address?
I am not sure what further we can suggest.
Best Regards,
Lisa
Hi Gautam,
Thank you for the mailing list, I contacted the support, let's see...
Hi Lisa,
Unfortunately I'm not a flexLM expert either but we have here a team dedicated to the installation of licences and we have other software tools using redundants servers configuration thankd to flexLM so the configuration should be good.
We use servers names, not fully resolved IP address. The communication between servers is OK, the error message is clearly about the licence key (Invalid licence key on each INCREMENT lines on redundant servers), it is why I would like to clarify the licence file generation and modification procedure.
Thank you for your help.
Best regards,
Hi Mickael,
ok, hopefully the license team will be able to add some insight. It is odd because the one server case is working so your license file itself seems fine.
Please keep us updated.
Best Regards,
Lisa
Mickael,
I have been working with Sharon on this one. Did either one of the license files we generated work? If not I will send you an email and see if we can't get you going. We typically only do 1 of these a year as with the way CCS licensing works the 3 server system is not required. When the license server goes down CCS still lets you use it, it just lets you know there is a problem. Thus people don't bother with the 3 server configuration.
Regards,
John
Hi Lisa, Hi John,
Yes I confirm that the original licence file works fine with one server. The issue is only observed with the modified licence file with 3 servers configuration and errors are raised only on "slaves servers".
John, we tested both licences files you provided and we got the same status : message "Invalid licence key (inconsistent authetification code)" on each INCREMENT lines when the second server is started. And at the end the following message is printed:
No feature to serve, exiting
EXITING DUE TO SIGNAL 36 Exit reason 4.
John, about you comment in your last post, I understand that if we use one server and it becomes down we should be able to be able to use CCS but what about the debugger and compiler? What would happen if CCS is started after the server became down?
As I wrote in the email I sent to the ilcence file support team:
My concern is about the generation of keys in INCREMENT lines. In my understanding the 3 hostIDs are needed but only one is requested in the activation website. Errors "invalid licence key" are only raised on servers with a MAC address different than the PRIMARY_MASTER server used for the generation of the file, that could confirm our assumption.
Thank you for your help, it is very appreciated.
The licensing module in CCS is shared by the IDE/Debugger/Compiler so the behavior should be the same if the server goes down. The reality is that our license enforcement is meant to help people stick to the terms of their license but it is not designed to block development. i.e. we want to inform people that there is an issue vs impact their development. Thus if the server goes down whether it be at CCS start time, or build or debugger launch then you should just get an unlicensed message.
I will take another shot at the license file today. There is a way for me to stick all 3 MAC addresses in the INCREMENT sections. I haven't had to do that with previous 3 server setups but I can give it a try.
Regards,
John
I just sent a friend request. Please accept that and I can start a private conversation and send you a license file to try. It wouldn't let me put multiple server names in the vendor string but it would let me put in multiple hostids. However for floating licenses the feature increments don't typically include a host ID but it doesn't hurt to try.
Hi John,
I just accepted you invitation, you can send me the licence file. I think the most important is to generated the key according to hostids so I it should work in my opinion.
Concerning your comment in your previous post I'll make a try to use debugger/compiler without local network connection. If CCS remind that we have a licence even if the server is not available it could be a solution.
Thank you for your help.
Best regards,