As of release 2024 R2, the license manager installation has been removed from the Ansys Product Installation package. To get the license manager installation, log on to the Ansys Customer Portal and download the Ansys License Manager Installation package from Downloads>Current Release>Tools>Ansys License Manager.
You must install the license manager software on your server machine(s) at this release in order to be able to run Ansys, Inc. products. If you do not install the license manager at this release, your Ansys, Inc. products may not run. You will find detailed instructions for installing the license manager on your server machines later in this chapter.
Note: If you want to run multiple releases of Ansys, Inc. software, you MUST install them chronologically (that is, Release 2024 R1 followed by Release 2024 R2). If you install an earlier release after installing Release 2024 R2, you will encounter licensing issues that may prevent you from running any products/releases. If you need to install an earlier release after you have already installed Release 2024 R2, you must uninstall Release 2024 R2, then re-install the releases in order.
When you run the license manager installation on the license servers, the licensing installation process will install all necessary files, as well as set the ANSYSLIC_DIR environment variable in the product-run scripts. If there is an existing license manager, the installation process will shut it down, so you should verify that no users will be affected while you run the installation.
Note that the FLEXlm for Ansoft (ansoftd) license manager will also be shut down and uninstalled if it’s running; all associated license files will be migrated over to the Ansys License Manager. Once migrated, you will no longer be able to run the Ansys License Manager and the FLEXlm for Ansoft License Manager on the same system.
To support the Ansys License Management Center, a Tomcat web server and Java will be installed within the license manager directory during the Ansys License Manager installation. To view the latest Tomcat and Java versions installed, access the View Licensing Configuration Details option described in Accessing the Help Options.
Run the license manager installation on all machines that will act as license servers.
Linux Server Installation Notes: — If you are installing the License Manager on the same machine where the product will be run, use the same top level directory path for both the product installation and the License Manager installation. We strongly recommend that you install the licensing files relative to the product installation directory to avoid manually editing the product run scripts.
A typical product installation on a Linux machine allows you to install the product anywhere on the system and then creates a symbolic link from the installation directory to /ansys_inc. If you did not set the symbolic link during the product installation, or if you installed the licensing files somewhere other than relative to the installation directory, replace all references to /ansys_inc in this guide with the name of the installation directory you used. Any reference throughout this manual to the licensing directory on Linux platforms means /ansys_inc/shared_files/licensing.
On Linux systems, you can install without administrative privileges but you may encounter permission problems during the installation.
Windows License Server Installation Notes: — The licensing installation on a Windows machine installs all necessary licensing files into the \Program Files\ANSYS Inc\Shared Files directory by default, located on the same drive as the operating system or the directory where you installed a previous license manager release, regardless of where your product installation resides. You must have administrative privileges on your machine to install the license manager.
Any reference throughout this manual to the licensing directory on Windows platforms means \Program Files\ANSYS Inc\Shared Files\Licensing, located on the same drive as the operating system. If you choose to install the Ansys License Manager to a different location, you must replace any references to \Program Files\ANSYS Inc\Shared Files\Licensing with the directory where you installed the license manager.
We recommend that you have the following information available before you begin this installation:
Your license file from Ansys, Inc., saved to a temporary directory. Existing customers may not be supplied with new licenses for the current release. They will be supplied when the current licenses expire or when TECS expires. For more information, see Adding Licenses.
Open port numbers for FlexNet and Ansys Common Licensing.
The default port for FlexNet is 1055. Ansyslmd daemon uses any free available port for communication with the Ansys common Licensing layer. If you want the daemon to use specific port then you may need to add, for example, PORT=1056 (or which ever available port you choose) in the license file and restart ansyslmd/lmgrd. For more information on the licensing file vendor lines, see VENDOR Lines.
To verify that a port is available, open a command line and enter the following command:
netstat -a -p tcp
A list of active ports is displayed. Make sure the lmgrd and ansyslmd ports are open for communications.
Verify that you are running on a supported platform.
Verify that you have sufficient disk space to download, uncompress, and install the license manager.
When installing Ansys License Manager on Linux platforms, verify that you have installed all required libraries. For a complete list of required libraries, see "Common libraries that may be required for all products" and "Ansys License Manager" in the Required Linux Libraries by Product section of the Ansys Linux Installation Guide.
Follow the instructions below to install the Ansys License Manager on Windows systems that will act as license servers.
Right-click the setup.exe file and select Run as administrator. If you downloaded the license manager installation package, this file will reside in the directory where you unzipped the files. If you are running from media, this file will reside in the top level of the media.
The installation launcher appears. Choose a language from the dropdown.
Select
.You will be notified that the license manager (Ansys or FLEXlm for Ansoft (ansoftd)), if running, will be shut down. Click
.The License Agreement screen appears. Read the license agreement, and if you agree, click
to accept the terms and click , located on the right side of the screen. You must select to continue with the installation.Specify the installation directory. You can accept the default or specify an alternate path and the directory name where the license manager is to be installed. The installation directory is set to <
OS_Drive
>\Program Files\ANSYS Inc by default. You must have administrative privileges for the directory you specify. In addition, the directory:Must be a local directory
Must be a local, fixed-media drive
Cannot be a UNC or relative path
Cannot be a short (8.3) file name format path
Cannot be a symbolic link or junction
Cannot use wide character names/paths
Note: You are not permitted to change the installation directory for a computer that currently contains an instance of the Ansys License Manager. To change the installation directory location, you must first uninstall any previous versions of the product.
The Ansys License Manager is the only component available and is selected to be installed. The amount of disk space required and the disk space available appear at the bottom of the window. If the disk space required exceeds the disk space available, be sure that you have sufficient space before continuing. The disk space required as calculated by the installation program may be greater than the actual amount needed. However, if you choose to continue the installation, you should carefully review any log and error files at the end of the installation to ensure that the installation completed successfully.
Click
to continue.A summary of the selected installation data appears. Information shown includes platform, installation directory, and product. Review the information carefully, and if correct, click
to continue the installation.Once the license manager is installed, the installation program performs a "silent" licensing configuration which includes merging your custom changes to the product order. Click
to continue the installation.The Launch License Management Center upon exiting option is included on the screen. The Ansys License Management Center is a browser-based application that centralizes many of the Ansys licensing administrative functions. For more information, see License Server Administration Using Ansys License Management Center.
Launch the Ansys License Management Center at this time to add a new license file.
If you do not want to launch the Ansys License Management Center, clear the Launch License Management Center upon exiting option.
Note: If the installation did not complete or completed with errors, review the progress log by clicking the button.
When the license manager installation is complete, click License Management Center, the Ansys Licensing Guide, the FlexNet License Administration Guide and the server ANSLIC_ADMIN utility.
. A new Start Menu item named will be created automatically. It will include selections for the
On Windows, if you encounter a problem during the licensing installation process that results in a failure or abort, or if you are concerned that the licensing installation did not complete correctly, we recommend that you re-run the License Manager installation.
Follow the instructions below to install the Ansys License Manager on Linux systems that will act as license servers. This installation expects you to be logged in as root.
Run INSTALL -LM to launch the license manager installation. If you downloaded the license manager installation package, this file will reside in the directory where you untarred the files. If you are running from media, this file will reside in the top level of the media.
Select a language.
You will be notified that the license manager (ansyslmd and/or ansoftd), if running, will be shut down. Click
.The License Agreement screen appears. Read the license agreement, and if you agree, click
to accept the terms and click . You must select to continue with the installation.The mount directory (location where the installation is located) is specified. You should accept the default. You can also accept the default installation directory or specify an alternate path and directory name where the license manager is to be installed. You cannot use wide character names/paths in the installation directory.
Note: You are not permitted to change the installation directory for a computer that currently contains an instance of the Ansys License Manager. To change the installation directory location, you must first uninstall any previous versions.
We recommend that you also set the symbolic link /ansys_inc to the directory where the Ansys, Inc. product is installed. The /ansys_inc symbolic link is set by default. The symbolic link option is available only if you are installing as root. If you chose to set the symbolic link during the product installation, you should set it here as well.
Click
to continue.The Ansys License Manager is the only component available and is selected to be installed by default. The amount of disk space required and the disk space available appear at the bottom of the window. If the disk space required exceeds the disk space available, be sure that you have sufficient space before continuing. The disk space required as calculated by the installation program may be greater than the actual amount needed. However, if you choose to continue the installation, you should carefully review any log and error files at the end of the installation to ensure that the installation completed successfully.
Click
to continue.A summary of the selected installation data appears. Information shown includes platform, installation directory, and product. Review the information carefully, and if correct, click
to continue the installation.Once the license manager is installed, the installation program performs a "silent" licensing configuration which includes merging your custom changes to the product order. Click
to continue the installation.The Launch License Management Center upon exiting option is included on the screen. The Ansys License Management Center is a browser-based application that centralizes many of the Ansys licensing administrative functions. For more information, see License Server Administration Using Ansys License Management Center.
Launch the Ansys License Management Center at this time to add a new license file.
If you do not want to launch the Ansys License Management Center, clear the Launch License Management Center upon exiting option.
Note: If the installation did not complete or completed with errors, review the progress log by clicking the button.
When the license manager installation is complete, click
.
On Linux, if you encounter a problem during the licensing installation process that results in a failure or abort, or if you are concerned that the licensing installation did not complete correctly, we recommend that you re-run the License Manager installation.
You can deploy an Ansys License Manager installation in silent mode on both Windows and Linux systems.
To silently install the Ansys License Manager on Windows systems that will act
as license servers, you must run the setup.exe with the
-silent
and -LM
options:
setup.exe -silent -LM
To install the Ansys License Manager on Linux systems that will act as license
servers, you must run the INSTALL with the
-silent
and -LM
options:
INSTALL -silent -LM -install_dir path
The silent license manager installation is valid only for the default Licensing Configuration option Run the Ansys Licensing Interconnect with FlexNet.
If you are installing the license manager to a non-default installation directory, you can use the silent installation method, but only for the initial installation.
Note: You are unable to change the installation directory for a computer that currently contains an instance of the Ansys License Manager. To change the installation directory location, you must first uninstall any previous versions of the Ansys License Manager.
You can use the following arguments when running a silent license manager installation:
-silent
| Initiates a silent installation. |
-install_dir
path
| Specifies the directory to which the license manager is to be
installed. If you want to install to the default location, you can
omit the -install_dir argument. The default
location on Linux is /ansys_inc if the symbolic
link is set; otherwise, it will default to
/usr/ansys_inc. |
-licfilepath
path
| Specifies the location of the license file to install. If the path is not specified or if the path is the same as the existing license file, the license file will not be installed. For the license file path on Windows, you must enclose the path in quotes if you have spaces in the pathname. |
During a silent installation, any licensing configuration messages will be written to the licensing installation configuration log file, install_licconfig.log, located in the installation directory.
Caution: A silent license manager installation could shut down the Ansys License Manager, affecting other users who are using that license server machine.
If you are running a silent client installation, you can specify license server information as well.
-licserverinfo
|
Specifies information to be used by the client for the license server. Valid only in conjunction with a silent product installation (setup.exe or INSTALL). See the Ansys Installation Guide for your platform for details on running a silent product installation, including client licensing. |