Find us on Google+ FlexNET Publisher - A License to Network (Part 3) - Setting Up the License ~ Inventor Tales

Sunday, February 06, 2011

FlexNET Publisher - A License to Network (Part 3) - Setting Up the License

“There is only one satisfying way to boot a computer.”
 J. H. Goldfuss

Welcome to Part 3 of my network licensing series, continued from Part 2, last week. 

So we've got the license from Autodesk, now we need to set it up.  The steps aren't that difficult, once you know them.

We'll need to set up the network license manager on the server, configure the license, and finally get the service started.

So let's get the license server.  You'll find it on any network enabled Autodesk product, in my case, I'm using Autodesk Inventor.  The other network enabled products will be similar.

First, start your installer setup.  Choose Install Tools and Utilities.

Choose "Install Tools & Utilities

Select Autodesk Network License Manager.  The other utilities are optional, and not required to setup a license.

Choose Autodesk Network License Manager
Continue to click through the screens.  You'll have to accept the End User License Agreement (Eula), and have the option to change the install directory, but that's really all there is to the actual installation of the License manager.

Now we've got the license manager installed, now we need to configure it.  I like to place my license file in the install directory in the installation directory, in a sub directory called "License", but the license can be placed anywhere.  While we're in here, I'm going to use Notepad to create a file named debug.log.  We'll need this file later.

The location of the license files

Now, start the license manager.   You can find it from Start>Programs>Autodesk Network License Manager, or by clicking LMTOOLS.EXE from the installation directory.

We'll start with the Service/License File tab, and make sure it's set to "Configuration Using Services".

Configure using Services
With that confirmed, we'll jump all the way to the Config Services tab.

The Config Services tab.  Where the magic happens.
We'll perform the following steps:
  1. Name the Service by typing a name over FlexLM Service 1.  This isn't necessary, but it's probably a good practice to.
  2. Browse to the LMGRD.EXE file (this is the service that waits for the license request)
  3. Browse to your license file (in the directory you've placed it in).
  4. Browse to the debug.log file (also in the directory you've placed it in)
  5. Check the Use Services, and Start Service at Power Up check boxes.
  6. Save the Service when it's all done.
The service configuration completed
You might think we're done, but there is still one more step we have to do, and it's an important one!

Go to the Start/Stop/Reread tab and hit Start Server.  It should say, "Server Start Successful".  Just like the name implies, this starts the service.

It's Ahhlive!
 Things should be running fine at this point, but it's a good idea to verify everything.

I usually double check on the Server Status tab (hit 'Perform Status Enquiry").  Scrolling through the screen should show you the service is started, as well as the number of licenses available, and how many are in use, if any.

Server up!  2 Licenses of Vault Professional available in this case.
Next, I jump to the Config Service tab, and hit the 'View Log' Button, and check the log file.  It should indicate the service is started, and that license are running.  If users started the appropriate programs, they may already be grabbing licenses!

The key lines will look similar to this:

15:02:07 (lmgrd) License file(s): C:\Program Files (x86)\Autodesk Network License Manager\License\Autodesk 2011 NW Licenses.lic

15:02:07 (lmgrd) lmgrd tcp-port 27000
15:02:07 (lmgrd) Starting vendor daemons ...
15:02:07 (lmgrd) Starting vendor daemon at port 2080
15:02:07 (lmgrd) Using vendor daemon port 2080 specified in license file
15:02:07 (lmgrd) Started adskflex (pid 2460)
15:02:07 (adskflex) Unable to initialize access to trusted storage: 1
15:02:07 (adskflex) FLEXnet Licensing version v11.7.0.1 build 79971 x64_n6
15:02:07 (adskflex) Server started on LT-DELLM6500-03 for:    85588VLTM_2011_0F
15:02:07 (adskflex) EXTERNAL FILTERS are OFF
15:02:07 (lmgrd) adskflex using TCP-port 2080

Checking the log
Click the Close Log button, and close LMTOOLS down.  The service is up and running, and we're ready to talk about creating deployments next week!

No comments:

Post a Comment