Setting Up & Configuring a Distributed License Server

by Donnie Gladfelter on August 26, 2008

in AutoCAD

imageThe task of configuring a license server can be a daunting task.  Just the name itself implies cancel all of my afternoon meetings, get me some coffee, I’m going to be here a while.  Thankfully that’s just the stigma surrounding the configuration of license files.  Knowing that some of the other documentation out there can be a little confusing, I have attempted to summarize (with screen shots) the process as concisely as possible.

Before we get started, you should first begin by installing FlexLM onto your desired license server.  The install for FlexLM can be found on the same CD/DVD as your Autodesk product (ie. AutoCAD install disk)


Obtaining a License File

There are a number of ways to acquire a license file.  These include by:

Whichever method you choose, you’ll need three pieces of information.

  1. Your subscription/serial number (generally formatted ###-########)
  2. Name of your license server
  3. MAC ID or Ethernet Address of your primary NIC.

You can generally find your subscription/serial number on the back of the CD/DVD case of your Autodesk product.  As for the name and MAC id of your NIC; both of those can be obtained inside LMTOOLS.

  1. Launch LMTOOLS
    image
  2. Go to the System Settings tab
    image
  3. Record each the Computer name and Ethernet address
    image

Configuring the License Manager

Once you recieve your license file (however you choose to obtain it), you can then proceed to configuring your license server. 

Placing your License File

I store my license file in the aptly named “License” directory (C:\Program Files\Autodesk Network License Manager\License).  My personal preference is to name the LIC file the same thing as my server. 
image

Config Services

With our license file in place, we can now go about configuring the license server itself.  To do this we’ll…

  1. Launch LMTOOLS (if it isn’t already), and go to the “Config Services” tab.
    image
  2. As a general rule you can simply accept the default service name “Flexlm Service 1”, although you are certainly free to specify some other name.
    image
  3. Next we need to specify the path to lmgrd.exe.  You can use the [Browse] button to browse to it’s location: C:\Program Files\Autodesk Network License Manager\lmgrd.exe.
    image
  4. At this point we’ll specify the location of our LIC file.  If you followed the above instructions on “Placing your License File” than you’ll find your license file: C:\Program Files\Autodesk Network License Manager\License\servername.lic
    image
  5. A debug.log file is not necessary for the server to work, but can prove invaluable when troubleshooting licensing issues.  To configure this, simply create a file named debug.log, and save it in your “Autodesk Network License Manager” directory.  Once created, simply browse to the file from LMTOOLS.
    image
  6. I really wish this was enabled by default, but it’s not.  Be sure to check the “Use Services” option, and then the “Start Server at Power Up” options so your license server will automatically run when ever your machine is running.
    image
  7. The final step to configuring the server is to press the [Save Service] button, and accept the prompt to save your settings.
    image
    image

Starting the Server

With gas in the tank, and the key in the ignition, we’re ready to start our license server.  To do that:

  1. Launch LMTOOLS (it it isn’t already), and navigate to the “Start/Stop/Reread tab.
    image
  2. Click the [Start Server] button, and look for confirmation saying “Server Start Successful
    image

Confirmation

Although LMTOOLS has said the license server started correctly, we’ll want to confirm the server is in fact serving up licenses.  To do this:

  1. Go to the “Server Status” tab from within LMTOOLS
    image
  2. Click the [Perform Status Enquiry] button and verify licenses are being issued.  You’ll probably have to scroll down to find the text (Total of # licenses issued; Total of # licenses in use)
    image

And that’s a wrap; you now have an operational license server.  While this post does document how to configure a license server, know this post should not be considered official Autodesk documentation.

  • Neil.

    Sorry, this is an old post, but your page heading is “Setting Up & Configuring a Distributed License Server”. You’ve made no mention of how to set up a Distributed License Server? What you’ve done is explain how to set up a Single License Server, a distributed server is when you split the licenses across multiple servers and provide a certain level of fault tolerance. That might sound like me being a needless whinge, but I’m actually currently searching for some documentation on how to implement this in practice and came across this… I’m not having a go, just think you shouldn’t have titled this ‘Distributed’ as that means something totally different.

  • Pingback: All Around the World News

  • Pingback: CAD Geek Poll - What are your 2010 upgrade plans? | All About CAD

  • Nick

    I have the license server running and I have deployed civil design to a work station, but when I fire up civil design it still asks for the authorization code?

    • http://www.thecadgeek.com Donnie Gladfelter

      @ nick – A network install shouldn’t ask you for an auth code, which makes me think your deployment may have installed as a standalone version. My recommendation would be to verify your deployment, making sure you have entered the correct server name(s) in there. You can also check which license servers your machine is looking to from the “HKCU\Software\FLEXlm License Manager” registry key. Anything beyond that I would recommend contacting your reseller, or submit a ticket through the Autodesk Subscription Center.

  • Nick

    I have the license server running and I have deployed civil design to a work station, but when I fire up civil design it still asks for the authorization code?

    • http://thecadgeek.com/ Donnie Gladfelter

      @ nick – A network install shouldn’t ask you for an auth code, which makes me think your deployment may have installed as a standalone version. My recommendation would be to verify your deployment, making sure you have entered the correct server name(s) in there. You can also check which license servers your machine is looking to from the “HKCUSoftwareFLEXlm License Manager” registry key. Anything beyond that I would recommend contacting your reseller, or submit a ticket through the Autodesk Subscription Center.

  • Pingback: Revit Architecture India » Obtaining an AutoCAD license through a VPN connection

  • Andrew Bustraan

    My issue in regards to license distribution is, our local office has 11 Revit Arch 2009/2008 licenses. Those are obtained just fine. We have a remote office in another city, connected by a fulltime VPN. Revit 2008 obtains a license just fine, when installing Revit 2009 on the same remote network, it will not obtain a license. Even when no other Revit Licenses aren’t being used.

    Steps for troubleshooting:

    Uninstall/reinstall
    Specified in the Environment Variables to look for a specific ADeskFlex Server.
    Specified in the Windows Registry to utilize a specific ADeskFlex License Server.
    Configured a Firewall Service and Rule to insure that Port 2080 was open and unrestricted.
    Can Ping the AdeskFlex License server by name and IP.
    Can resolve the server via NSLookup to insure there’s no DNS issue.

    Any Ideas?

  • Andrew Bustraan

    My issue in regards to license distribution is, our local office has 11 Revit Arch 2009/2008 licenses. Those are obtained just fine. We have a remote office in another city, connected by a fulltime VPN. Revit 2008 obtains a license just fine, when installing Revit 2009 on the same remote network, it will not obtain a license. Even when no other Revit Licenses aren’t being used.

    Steps for troubleshooting:

    Uninstall/reinstall
    Specified in the Environment Variables to look for a specific ADeskFlex Server.
    Specified in the Windows Registry to utilize a specific ADeskFlex License Server.
    Configured a Firewall Service and Rule to insure that Port 2080 was open and unrestricted.
    Can Ping the AdeskFlex License server by name and IP.
    Can resolve the server via NSLookup to insure there’s no DNS issue.

    Any Ideas?

  • Andrew Bustraan

    In response to the Post from Donne Gladfelter. The “new” license files generated for the Autodesk 2009 products, provided you’re on subscription will allow the use of any Autodesk version of products that you’re licensed for. For example if you have (5) licenses of Revit 2009, it will also allow you to run Revit 2008, Revit, 9.1. However it only allows a combination of instances up to (5) licenses. AutoCAD licenses go all the way back to AutoCAD 2004. But the same rule applies: While you can run 2004, 2005, 2006, 2007, 2008, & 2009, you can only run the number of instances you have licenses to run concurrently.

  • Andrew Bustraan

    In response to the Post from Donne Gladfelter. The “new” license files generated for the Autodesk 2009 products, provided you’re on subscription will allow the use of any Autodesk version of products that you’re licensed for. For example if you have (5) licenses of Revit 2009, it will also allow you to run Revit 2008, Revit, 9.1. However it only allows a combination of instances up to (5) licenses. AutoCAD licenses go all the way back to AutoCAD 2004. But the same rule applies: While you can run 2004, 2005, 2006, 2007, 2008, & 2009, you can only run the number of instances you have licenses to run concurrently.

Previous post:

Next post: