- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Knowledge Base
- :
- Register InstallAnywhere With A License Server On The Command Line And Configure License Timeout Per...
- Mark as New
- Mark as Read
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Register InstallAnywhere With A License Server On The Command Line And Configure License Timeout Period
Register InstallAnywhere With A License Server On The Command Line And Configure License Timeout Period
Summary
When you purchase a concurrent license for InstallAnywhere, you need to identify the location of the FlexNet License Server each time you install InstallAnywhere. You can enter the license server information in the InstallAnywhere user interface when registering the product. However, there may be situations where you want to configure InstallAnywhere to use a license server by calling the build.exe tool from the command line. This article explains how to configure InstallAnywhere to use a license server using the command line as well as how to configure a concurrent license timeout period.Synopsis
When you purchase a concurrent license for InstallAnywhere, you need to identify the location of the FlexNet License Server each time you install InstallAnywhere. You can enter the license server information in the InstallAnywhere user interface when registering the product. However, there may be situations where you want to configure InstallAnywhere to use a license server by calling the build.exe tool from the command line. This article explains how to configure InstallAnywhere to use a license server using the command line as well as how to configure a concurrent license time-out period.Discussion
Registering InstallAnywhere with the License Server Using the Command Line
where host is the server host and port is the port number.
Note: If the server is configured to use the default port, there is no need to specify the server port number.
To configure InstallAnywhere with a license server located at host 192.168.0.1 and using the default port number, you would enter the following:
Configuring the License Time-Out Period
To avoid licenses from being held by instances of InstallAnywhere that are not in use for long periods, the license can be configured to be automatically freed after a specified idle period.
By default, there is no license time out period set. This means that if a user launches InstallAnywhere and checks out a license, the license will remain checked out until that user closes InstallAnywhere, even if they are not using it. To enable a license time-out period, which would enable the license server to take back the license after a specified period of idle time, create a file named ?mvsn.opt? in the same directory as the license file used to start the FlexNet License Server. The file should contain one or more lines with the following format:
TIMEOUT license_type seconds
where license_type is the type of license to be configured and seconds is the number of seconds after which the server should revoke an idle license. Below is the list of valid license types:
License Type |
Description |
IAEB |
InstallAnywhere Enterprise Build Only |
IAEE |
InstallAnywhere Enterprise English |
IAEJ |
InstallAnywhere Enterprise Japanese |
IACE | InstallAnywhere Enterprise with Cloud Pack |
For example, to configure the server to revoke the InstallAnywhere Enterprise English licenses after 1 hour of inactivity, add the following line to the mvsn.opt file:
TIMEOUT IAEE 3600
To configure the server to revoke the InstallAnywhere Enterprise English licenses and the InstallAnywhere Enterprise Build Only licenses after 45 minutes, add the following lines to the mvsn.opt file:
If a license time out period is set, when an instance of InstallAnywhere is idle for more than the specified period, the license is revoked by the server and the following message dialog is displayed when a user attempts to use that instance of InstallAnywhere:
The License Timeout dialog box provides the following options:
- Edit Settings: Click to change the license server configuration. You could point to a different license server or use a serial number to register the product.
- Save and Quit: Click to save the current project and close InstallAnywhere.
- Continue: Click to request a new license from the server if one is available (assuming that someone has recently checked one in).
For more details about the license idle configuration see the FLEXnet License Administration Guide.