Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Ansys Training
  • Consulting
  • About
  • Contact Support
  • Home
  • Installation

  • Troubleshooting

  • Errors & Solutions

  • How To's

  • Info

  • Remote Solve Manager

  • Employee Login

Can't find what you're looking for?

Contact Support

Ansys Installation & Licensing Center

Contact Us

If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.

Please fill out the contact form below and we will reply as soon as possible.

  • Home
  • Installation
  • Troubleshooting
  • Errors & Solutions
  • How To's
  • Info
  • Remote Solve Manager
+ More

Specifying a License Server

Authored by Caleb Scharf January 31st, 2022 3365 views 1 likes KB955772

Description

For your client Ansys software to run, it must first connect to and obtain a license from an Ansys license server.  If a license server was not specified during the client software installation or if the license server was moved or it's IP address was changed, you must set this information appropriately on the client machine.  If you already have Ansys installed and are installing a new version, your specified license server(s) will stay the same.

Solution

Delete

License Server Name?

The license server should always be specified by Hostname and not IP Address.  While IP address can work, it does not work in all scenarios and can cause checkout issues.  If specifying by hostname does not work, but doing so by IP Address does - please see HOW TO - Edit Your Windows Host File ‍ 


Structures & Fluids Products - Version 2021 R1 & After 

  1. Windows Search  >  search for ANSYS Client Licensing Settings [latest version installed] > Right click select Run as Administrator 
    1. If you do not perform this step, any changes made will not save or work properly.
  2. Select FlexNet Publisher > In the Server 1 field, enter the hostname of your license server.  
    1. Use the default port of 1055 unless your IT Administrator has told you otherwise.
  3. If necessary, select and delete any license servers that aren't needed.  See note below about multiple servers.
  4. Select Test and insure you receive a green check mark.
    1. This test verifies FlexLM connectivity which is only one of two services required.  Please see HOW TO - Test & Fix License Manager Connectivity Issues‍ to perform a complete test.
  5. Select Save

Structures & Fluids Products - Version 2020 R2 & Before 

  1. Windows Search > search for Client Anslic_Admin Utility > Right click and select Run as Administrator
    1. If you do not perform this step, any changes made will not save and work properly
  2. Select Specify the License Server Machine

  3. Here you can Add/Edit and Delete the license servers this machine attempts to connect to and the order in which it makes the attempts.   Add your license serverhost name.
    1. Default ports are 2325 and 1055
  4. If necessary, select and delete any license servers that aren't needed.  See note below.

Structures & Fluids Products - Via Ansyslmd.ini file - All Versions

As an alterative method to the Ansys Client License Settings GUI, you can manually specify your license server(s) in the ansyslmd.ini file. This achieves the same result as the GUI.

  1. Open the following file in a text editor 
    1. "C:\Program Files\ANSYS Inc\Shared Files\Licensing\ansyslmd.ini"
  2. Edit the file in the following format, using your specific license servername.  The example below shows two servers with "YourServerName1" being the first server that will be contacted.  
Delete

Electronics Products - Via Gui

  1. Windows Search  >  search for and open Control Panel > Select Programs  >  Programs and Features
  2. Locate and right click ANSYS Electromagnetics Suite [your version] > Select Change
  3. Select Modify when the installation wizard appears.
  4. Select the applicable options (defaults are typically fine) and continue to the page called License Information.
  5. Select I want to specify a license server
    1. Note – you can view the current license configuration from this window as well.
  6. Click Next and then input the host name of your license server.
    1. Default port is 1055
  7. Continue through the remainder of the wizard and then click Finish when complete.


Electronics Products - Via Ansyslmd.ini file

As an alterative method to the Ansys Client License Settings GUI, you can manually specify your license server(s) in the ansyslmd.ini file. This achieves the same result as the GUI.

  1. Open the following file in a text editor 
    1. "C:\Program Files\AnsysEM\Shared Files\Licensing\ansyslmd.ini"
  2. Edit the file in the following format, using your specific license servername.  The example below shows two servers with "YourServerName1" being the first server that will be contacted.  
Delete

MotorCAD

  1. Open Ansys MotorCAD
  2. Click on License > Configuration
  3. Modify the text field as necessary with your license server name, then click Update, then click Close
Delete


Delete

Multiple Servers?

  • By default, the server at the top will be contacted first when looking for licenses. If the first server does not have the requested license available or cannot be contacted, it will then move to the next server.
  • If you have multiple, independent, license servers you need to connect to, insure your primary license server is on the top.
  • Remove unreachable or unnecessary servers.  Unreachable servers cause the software to open more slowly while it waits for a ~30-60 second timeout period.
  • Triad server configurations are used to accomplish high availability (HA), however, they are rarely used and generally not recommended due to additional complexity and because HA virtualization solutions are often easier and more cost effective to implement.


set a license serveradd a license server

Related Articles

HOW TO - Test & Fix License Manager Connectivity Issues

HOW TO - Uninstall Ansys Software

Add Firewall Exceptions for Ansys License Manager

HOW TO - Reset Your Ansys Profile Folder

Popular Articles

INFO - Ansys Hardware Recommendations & Supported 3rd Party Software

Ansys Installation Guide (Start Here!)

Ansys Troubleshooting Guide

INFO - Ansys License Manager Overview & Requirements

Accessing the Ansys Customer Portal

HOW TO - Gather License Server Host Info

HOW TO - Change/Move License Servers

ERROR - Hostid in the license file is not a valid hostid

Was this article helpful?

Yes
No
Give feedback about this article

Can't find what you're looking for?

Contact Support

Recently Updated

  • Ansys Troubleshooting Guide
  • HOW TO - Troubleshoot Antivirus Software with Ansys
  • HOW TO - Change/Move License Servers
  • ERROR - Temporary License Stops Working
  • HOW TO - Reset Your Ansys Profile Folder

General Inquiries & Sales:

(800) 566-9190

Info@SimuTechGroup.com

Contact Support

  • Software
  • Services
  • Case Studies
  • Ansys Training
  • Consulting
  • Technical Support
  • About SimuTech
  • Careers
  • Privacy

© 2021 SimuTech Group

Definition by Author

0
0
Expand