8 Replies Latest reply on Jun 7, 2012 9:51 AM by andrew_audova

    Are Jenkins master slave connections allowed with nodelocked uncounted licenses?

    Florin

      I was wonderring how MGC application with node locked liceses interfere with Jenkins master slave connections

      Does applications fail to get license due to licensing limitations (No terminal server allowed or remote desktop sessions)?

        • 1. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
          andrew_audova

          Hello,

           

          Correct; this is a FlexNet restriction with remote desktop/terminal services and mobile compute (a.k.a nodelocked "uncounted"/quantity 0) licenses. Floating or nodelocked counted licenses can work since they have a quantity that is greater than 0.

           

          For more details, refer to the following TechNote:

           

          http://supportnet.mentor.com/reference/technotes/public/technote.cfm?id=MG60844

           

          Cheers,

          Andrew

          • 2. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
            Florin

            Thanks for the answer Andrew.

            No doubt here,Terminal server or remote dektop sessions are not allowed with node-locked uncounted licenses.

            What about Jenkins master slave connections - http://jenkins-ci.org/  - are they allowed to control applications with Mobile Compute licenses?  How does the Flexnet treat them?

             

            Thanks in advance,

            Florin

            • 3. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
              andrew_audova

              Hi Florin,

               

              A good way to find out the exact error for a license - in your case whether node-locked uncounted licenses are being restricted by FlexNet due to the Jenkins master slave connections - is to generate a diagnostic report for licensing (link below), and check the "lmdiag -n" section. If you see that licenses cannot be checked out within a "Windows Terminal Services guest session", then you will need to move to a counted license (floating or nodelocked counted with quantity > 0).

               

              Generating a Run-time Diagnostic Report with the Mentor License Utility (video)

               

              Cheers,

              Andrew

               

              ************************************************************************************************************

              1. MGLS_LICENSE_FILE SYSTEM ENV -> "C:\MentorGraphics\License_Files\license.txt" -> "lmdiag -n" output

              ************************************************************************************************************

              lmutil - Copyright (c) 1989-2008 Acresso Software Inc. All Rights Reserved.

              FLEXnet diagnostics on Tue 5/15/2012 08:27

               

               

              -----------------------------------------------------

              License file: C:\MentorGraphics\License_Files\license.txt

              -----------------------------------------------------

              "pwrshell" v2012.050, vendor: mgcld

                uncounted nodelocked license, locked to ethernet address "00546639ed21"  starts: 15-may-2012,   expires: 25-may-2012

               

               

              This license cannot be checked out because:

              Cannot checkout an uncounted license within a Windows Terminal Services guest session.

              Feature:       pwrshell

              License path:  C:\MentorGraphics\License_Files\license.txt;

              FLEXnet Licensing error:-103,577

              For further information, refer to the FLEXnet Licensing documentation,

              available at "www.acresso.com".

              -----------------------------------------------------

              • 4. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
                ben_painter

                Hi Florin,

                 

                Jenkins slaves running on a single node are Java instances which allow concurrent use of a node locked uncounted license. As long as the slaves are set to us the license, it should work fine.

                 

                Regards,

                 

                Ben

                • 5. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
                  Florin

                  Thanks for the answers.

                  A have the following circumstances:

                   

                  1. if I'm not logged in at the virtual machine and the jenkins service is running, the HDL Designer doesn't start properly. .

                  Note: Loading Preferences...
                  Note: Setting HDS_USER_HOME to : C:\...\HDL Designer Series\hds_user
                  Note: Setting HDS_USER_VER to : C:\...\HDL Designer Series\hds_user\v2010.3
                  Note: Cannot find any Preferences file to load
                  Note: Setting HDS_TEAM_HOME to : C:\...\HDL Designer Series\hds_team
                  Note: Setting HDS_TEAM_VER to : C:\...\HDL Designer Series\hds_team\v2010.3
                  Note: Loading user Task files from 'C:\...\HDL Designer Series\hds_user\v2010.3\tasks'.
                  Note: Loading team Task files from 'C:\...\HDL Designer Series\hds_team\v2010.3\tasks'.
                  Note: Can't find Task file directory C:\...\HDL Designer Series\hds_team\v2010.3\tasks

                  Warning: Team Task files not loaded from directory 'C:\...HDL Designer Series\hds_team\v2010.3\tasks'.
                  Note: Cannot find any Team Preferences file to load


                  Note: Loading HDS Project file from Installation directory $HDS_HOME\examples\examples.hdp
                  Note: HDS_PROJECT_DIR is set to : C:\...\HDS2010.3\examples
                  Note: The timezone environment variable is set : TZ=GMT-2:0DST
                  Note: To disable the setting of the timezone environment variable uncheck the option in the 'Version Management Settings' dialog

                   

                  The log shows the messages above in an endless loop. No licensing messages occur. However, HDL Designer doesn't start.

                   

                  2. If I'm logged in with my username at the virtual machine and the jenkins slave service is running, the HDL Designer starts properly, and I get this console output:

                  Setting HDS_HOME to : C:\...\HDS2010.3
                  Note: Loading Preferences...
                  Note: Setting HDS_USER_HOME to : C:\...\HDL Designer Series\hds_user
                  Note: Setting HDS_USER_VER to : C:\...\HDL Designer Series\hds_user\v2010.3
                  Note: Cannot find any Preferences file to load
                  Note: Setting HDS_TEAM_HOME to : C:\...\HDL Designer Series\hds_team
                  Note: Setting HDS_TEAM_VER to : C:\...\HDL Designer Series\hds_team\v2010.3
                  Note: Loading user Task files from 'C:\...\HDL Designer Series\hds_user\v2010.3\tasks'.
                  Note: Loading team Task files from 'C:\...\HDL Designer Series\hds_team\v2010.3\tasks'.
                  Note: Can't find Task file directory C:\...\HDL Designer Series\hds_team\v2010.3\tasks

                  Warning: Team Task files not loaded from directory 'C:\...\HDL Designer Series\hds_team\v2010.3\tasks'.
                  Note: Cannot find any Team Preferences file to load

                  Note: Loading HDS Project file from Installation directory $HDS_HOME\examples\examples.hdp
                  Note: HDS_PROJECT_DIR is set to : C:\...\HDS2010.3\examples
                  Note: The timezone environment variable is set : TZ=GMT-2:0DST
                  Note: To disable the setting of the timezone environment variable uncheck the option in the 'Version Management Settings' dialog
                  HDL Designer
                  HDL Designer Series
                  Version: 2010.3 (Build 21)
                  Built on Wed Aug 3 2011 at 22:39
                  Verilog parser dynamic library version: 5.1.33.c (2011/08/01 13:24:11)
                  Running on Microsoft Windows XP Professional Service Pack 3 (Build 2600)

                  Copyright Mentor Graphics Corporation, 1996-2011.
                  All Rights Reserved.
                  UNPUBLISHED, LICENSED SOFTWARE.
                  CONFIDENTIAL AND PROPRIETARY INFORMATION WHICH IS THE
                  PROPERTY OF MENTOR GRAPHICS CORPORATION OR ITS LICENSORS.

                  ILOG Inside
                  FLEXnet Licensing checkout error: Cannot checkout an uncounted license within a Windows Terminal Services guest session

                   

                  I have a nodelocked uncounted license on a virtual machine and i wonder if for item #1 is a licensing issue and for item #2 who is causing the licensing checkout error - the Jenkins slave or the vmware-vmware view connection.

                   

                   

                  Thanks in advance,

                  Florin


                   


                  • 6. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
                    andrew_audova

                    Hi Florin,

                     

                    It's difficult to say what is happening in #1. Perhaps the Jenkins service is causing the application confusion regarding where to send the display to. On #2 I recommend you run a run-time diagnostic report to see if the HDS licenses are reporting the terminal services error.

                     

                    Cheers,

                    Andrew

                    • 7. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
                      Florin

                      Hi Andrew,

                       

                      We figured out what was happening on item#1:

                      - we were surprised to find out that HDS requires a printer if no printer is installed . HDS is awaiting a response to the dialog prompting for printer  installation.  Since HDS is running in batch mode this dialog is not  displayed and so the user is not aware of why the batch mode has stopped.

                      -installing the printer solved the issue.

                       

                       

                      Thanks for your help,

                      Florin

                      • 8. Re: Are Jenkins master slave connections allowed with nodelocked uncounted licenses?
                        andrew_audova

                        Hi Florin,

                         

                        Thanks for the follow-up on this problem, it is much appreciated. I'm pleased to hear you were able to get it working. We'll look to see if this is something we need to add to our knowledge base.

                         

                        Cheers,

                        Andrew