network license on a linux cluster

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Hello,

 

I've installed HyperWorks on our Linux-Cluster (SUSE Linux Enterprise Server 11 SP3). But I was not able to configure the license of the program.

We are using a network-license and thus I set the environment variable to our host address (with export ALTAIR_LICENSE_PATH=...). But as I run HyperGraph I get an error (see the attachment). It seems that HyperWork is still trying to use a local license.

Therefore I've also installed the 'licensing12.2' on the cluster but I think it needs something else. Can anyone help me to configure the licensing on linux?

I thank you in advance.

 

Regards

Emad

 

 

<?xml version="1.0" encoding="UTF-8"?>Unbenannt.PNG

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Do you setup a License server? What's exact value of variable  ALTAIR_LICENSE_PATH  ?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi,

     

    Can you place the license file in Licensing12.2 folder?

     

    Open the Altair-serv.cfg file in a textpad and search for the line 'License_File' equals to the path of the license as shown in the image.

     

    At the end restart the license server and try again.

     

     

    <?xml version="1.0" encoding="UTF-8"?>Capture.JPG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Do you setup a License server? What's exact value of variable  ALTAIR_LICENSE_PATH  ?

    The path is 6200@license, where the license is an intern server which is accessible from the cluster (checked with ping)

    I set up the license on another server and now want to call it from the cluster.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi,

     

    Can you place the license file in Licensing12.2 folder?

     

    Open the Altair-serv.cfg file in a textpad and search for the line 'License_File' equals to the path of the license as shown in the image.

     

    At the end restart the license server and try again.

     

     

    <?xml version="1.0" encoding="UTF-8"?>Capture.JPG

     

    I don't have a license file on the cluster. I have to call it from another license-server. But in the 'Altair-serv.cfg' there is no possibility to enter the license-path as a network address.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    I think I should set that I'm using a network-license and not a license file. But don't know where?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi Emad,

     

    Make sure the license file is placed in Licensing folder and not in security folder of HyperWorks installation.

     

    Is the license manager running? can you confirm this?

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi Emad,

     

    Make sure the license file is placed in Licensing folder and not in security folder of HyperWorks installation.

     

    Is the license manager running? can you confirm this?

     

    For a License server setup, the license file could be anywhere on server! Just define the correct fullpath in altair-serv.cfg file.

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    The path is 6200@license, where the license is an intern server which is accessible from the cluster (checked with ping)

    I set up the license on another server and now want to call it from the cluster.

     

    Check if your server is running by using the following command:

     

     # /opt/altair/licensing12.2/bin/lmxendutil -licstat -host yourLicServName

    My server was installed within /opt/altair/licensing12.2

     

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi,

    Sorry that it was a bit confusing. Maybe I should explain it again :)/emoticons/default_smile.png' srcset='/emoticons/smile@2x.png 2x' title=':)' width='20'>

     

    I installed HyperWorks 13.0. If I enter the following command:

     /home/programme/HyperWorks/13.0/altair/security/bin/linux64/lmxendutil -licstat -host MyLicServName -port 6200 -network

    It gives me a list of available licenses (everything ok).

    But If I enter:

    /home/programme/HyperWorks/13.0/altair/security/bin/linux64/lmxendutil -licstat
    It gives me an error that it cannot find any licenses under 6200@master (master is the name of my cluster-machine).

    And when I run the hg from /home/programme/HyperWorks/13.0/altair/scripts/ it gives me an error (see attachment)

     

    I also installed a licensing12.2

    There, if I enter the following command:

    /home/programme/HyperWorks/licensing12.2/bin/lmxendutil -licstat -host MyLicServName -port 6200 -network

    It gives me a list of available licenses (everything ok).

    And If I enter:
    /home/programme/HyperWorks/licensing12.2/bin/lmxendutil -licstat

    It gives me again an error that it cannot find any license under 6200@master (master is the name of my cluster-machine).


    I appreciate your time and effort for helping me. Thanks!

     

    <?xml version="1.0" encoding="UTF-8"?>Unbenannt_2.PNG

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    So the host 'MyLicServName' (within your command line) and 'master' (define with 6200@....) are two different hosts ?

    To use License server, from client side, you have to define :

     export ALTAIR_LICENSE_PATH=6200@YourLicServ

    I don't understant where comme from your '6200@master' ????

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    I've already defined the host with

     export ALTAIR_LICENSE_PATH=6200@YourLicServ

    I tried to find it out (with grep), where does this 6200@master come from. But it is not defined in any configuration file!

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Emad,

     

    Can you check if there are any license files on your (cluster) machine?

     

    also, can you share the altair-serv.cfg file and .bashrc file?

     

    Looks like this is an issue with the environment variable.

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Hi Prakash and Nguyen,

     

    thanks a lot for your helps. I found the problem.

    It was indeed because of the environment variable. It seems that 'export' does not set the environment-variable permanently and it will disappear after a terminal restart! I added the environment variable to /etc/environment and restarted the machine. Now it works.

     

    Thanks again

    Emad

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited February 2016

    Thanks for the update Emad,