Introduction to HyperWorks

Connecting to the Altair License Manager

Connecting to the Altair License Manager

Previous topic Next topic No expanding text in this topic  

Connecting to the Altair License Manager

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

HyperWorks applications recognize either node-locked licenses or floating licenses consuming HyperWorks Units served from a license server.  You must set the appropriate environment variable to point to either the license file or the license server.  The name of the variable is:  “ALTAIR_LICENSE_PATH”.  Use it to point to a file for a node-locked license or to a network license server in the simple form of port@hostname.

Connecting to Multiple License Servers or a HAL Configuration


Your site may have more than one license server or have a High Availability (HAL) setup.  These two cases require different settings for the ALTAIR_LICENSE_PATH variable.  In the case of multiple license servers, each application must obtain all of the features from the same server to succeed.  The servers are searched in the order they are listed.  For multiple servers, use the form port@host;port@host;port@host... on Windows and use the form port@host:port@host:port@host... on Linux/Mac OS X.  The difference being the separator, a semicolon on windows and a colon on Linux/Mac OS X.

For a HAL configuration simply use the multi host format, being sure to specify 3 and only 3 hosts.  For example,
ALTAIR_LICENSE_PATH=6200@host1;6200@host2;6200@host3

 

Examples of Setting ALTAIR_LICENSE_PATH


Windows Vista

1.Go to the Start menu.
2.Right-click My Computer [ Computer].
3.Select Properties.
4.Select the Advanced [Advanced system settings] tab.
5.Click Environment variables.
6.Under User Variables:, select or create ALTAIR_LICENSE_PATH.
7.For Value: enter the port@host of your license server or the complete path and filename to the license file.

 

Windows 7/8/8.1/10

1.Go to Start.
2.Click on Control Panels.
3.Go to System and select Advanced system settings.
4.Select the Advanced tab.
5.Click Environment variables.
6.Under User Variables:, select or create ALTAIR_LICENSE_PATH.
7.For Value: enter the port@host of your license server or the complete path and filename to the license file.

 
Setting Environment Variables On Linux


The following commands can be used to set up environment variables from the current terminal shell.

 
For C shell:

setenv <environment_variable> <value>

 
For Korn shell, Bourne or BASH shell:

export <environment_variable>=<value>
 

 

Setting Environment Variables on Windows


Setting environment variables for a particular session:

1.At the DOS prompt, type
SET <environment_variable>=<value>
2.Setting environment variables for all sessions:
Go to Start and select Settings.
Next, select Control Panel, followed by System, then Environment.

 

 

See Also:

Altair HyperWorks Licensing

Global Licensing

Altair HyperWorks 2017 Product Licensing Unit Draw

Project Tracking