Preview only show first 10 pages with watermark. For full document please download

Network License

   EMBED


Share

Transcript

Network License Quick Start Setup Guide April 2009 ii |   Autodesk Network License Quick Start Setup Guide © 2009 Autodesk, Inc., All rights reserved. Autodesk, the Autodesk logo, and AutoCAD are trademarks of Autodesk, Inc. registered in the U.S. and other countries. Autodesk, Inc. Under the copyright laws, this manual may not be copied, in whole or in part, without the express written consent of Autodesk. Your rights to the software are governed by the accompanying software license agreement. Worldwide Headquarters Autodesk, Inc. 111 McInnis Parkway San Rafael, CA 94903 USA Autodesk San Francisco The Landmark @ One Market, Suite 200 San Francisco, CA 94105 USA Autodesk, AutoCAD, Autodesk Inventor, DWF, Revit, and 3ds Max are either registered trademarks or trademarks of Autodesk, Inc., in the USA and/or other countries. mental ray is a registered trademark of mental images GbmH & Co. KG licensed for use by Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product offerings and specifications at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. TABLE OF CONTENTS  | iii Table of Contents Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Basic Setup Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Installing the Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Create the Server Directories. . . . . . . . . . . . . . . . . . . . . . . . 3 Create the Debug and License Files. . . . . . . . . . . . . . . . . . . . . 4 Installing the License File. . . . . . . . . . . . . . . . . . . . . . . . . 4 Create the License Option File. . . . . . . . . . . . . . . . . . . . . . . 7 Configure the Service. . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Configure the Windows Firewall. . . . . . . . . . . . . . . . . . . . . . 10 Starting and Stopping the Server Service . . . . . . . . . . . . . . . . . . 11 Verifying the Service Status. . . . . . . . . . . . . . . . . . . . . . . . 12 Verifying the License Status . . . . . . . . . . . . . . . . . . . . . . . . 13 Additional Resources. . . . . . . . . . . . . . . . . . . . . . . . . . . 14 This page intentionally left blank.   | Q uick Start Guide This quick guide is intended to get a network license environment up and running as quickly as possible. It contains instructions to install and configure a complete FLEXnet license server. Overview The following methods and options are examples of a typical installation for a standalone or distributed server. You are encouraged to read the Network Administrators Guide provided with the network license capable Autodesk software. This guide is not intended to be a detailed reference manual nor will it cover the concepts behind network licensing. Side Notes Throughout this text, you will find notes like this one, that gives important details about options and other points of interest. This guide will walk you through setting up the server environment, installing the software, configuring the server options, and installing a network license file. In the end, you should have an operational network license server. Basic Setup Overview Network licensing is composed of three components: the server process which listens for license requests, the vendor process which provides the license for matching products, and the client software which makes the request. Using this document you will ♦♦ Install the server software ♦♦ Configure the server ♦♦ Start and stop the server ♦♦ Verify the server operation Styles, Files, and Code As you read theough this document, you will notice certain words or names are in a different typeface. This designates a file name, menu, or an entry you must make. Filenames: AFile.txt Entries: Your Entry Here Menu Items: Control Panel 1 2 |  Installing the Server 32-bit versus 64-bit Beginning with FLEXnet 2.0, there are two versions of the license server software: 32-bit and 64-bit. These bit depths only affect the bit depth of the application that is run on the server host. It has no bearing on the capability of the license server to deliver licenses to both 32-bit and 64-bit platforms. In general, if you have a 64-bit operating system, install the 64-bit version. If you are running a 32-bit operating system, you must install the 32-bit version. Installing the Server To begin, download the server software from the support portal or locate the server software found on any Autodesk product DVD that supports network licensing. Once located, run the installer from the Tools splash screen or select the appropriate installation package entitled NLM.msi. The Network License Manager (NLM) wizard will open. Follow the prompts to install the server software. This guide assumes you accept the default paths and variables. 2010 Autodesk Network License Manager setup wizard If the Network License Manager is already installed, this dialog will appear Create the Server Directories  | Create the Server Directories Open the directory where you installed the NLM software and create two new directories: License and Logs. The licenses are the files obtained from Autodesk that the server will use to authorize clients. The logs pertain to the error logs and the usage report logs you will configure later on. Directory Permissions Do not confuse the error and report logs with the deployment logs created when the software is installed. The users need no permissions to these directories. They are used exclusively by the server process. 3 4 |  Create the Debug and License Files Create the Debug and License Files Why Extensions Matter The NLM tools use the extensions to filter the files we can select in the tools later on. If we fail to create files with the correct extensions, we won’t be able to select them and complete the configuration later. Before continuing, make sure you can see the extensions of the files you are working on. By default, Windows hides the extension of a file when it already knows the type. If you add the extension ‘.log’ to the name, you will see ‘foo.log’, but in fact, the file may be ‘foo. log.txt’. Make sure you can see the file extensions at all times by choosing Control Panel -> Folder Options, then clicking on the View tab and un-checking ‘Hide extensions for known file types’. Create a Debug file Now that your structure is setup, create a blank debug log file that we will reference later. To do so, open the log folder, right click, and choose ‘New -> Text Document’. Rename the new file to adskdebug.log. About the License File License files are bundles of feature codes (product specific identifiers) that contain information relative to a specific machine. The file sent to you may contain entries for multiple feature codes and machines. These entries must be separated for the system they are intended for or the licenses will not work. Installing the License File If the license file was sent to you in a Word document (DOC) format, you must convert it to text before it can be used. To do so, simply open the Word document, copy the entire text, and paste it into a new Notepad document. Next choose ‘File -> Save As...’ and save the file with a name such as adsk_.lic. For example: adsk_nova.lic Installing the License File  | Now that we have a text version of the file, we need to make sure the file is in the proper format. Usually, when the file is generated for multiple products, the contents are simply appended together; however, this is not a legal format for the server. To prevent problems, we want to remove those redundant elements. Here’s an example of a typical file with redundant and extraneous entries: To be legitimate, there should only be one SERVER, USE_SERVER, and VENDOR entry. Make sure they are defined at the top of the file. If you have a servername: at the top of the file (as shown) either comment it out ‘#’ or remove it. 5 6 |  Create the License Option File Using the previous example, you should end up with a clean license file similar to this: Multiple PLIST entries The only entry that may be duplicated is the PLIST entry; however, only one is required. In general, use the PLIST entry from the most current license provided by Autodesk. The PLIST is updated often and affects all products that support cascading licenses. The license count is always 1. Once your file is cleaned up and converted to text, move it to the License folder created earlier. Create the License Option File  | Create the License Option File The option file contains preference settings for the license server. It can be used to configure every facet of the license server. To use an option file, we must create a file and link it to the license we wish to control. To begin, create a new text document in the License folder and rename the file to ‘adskflex.opt’. Open the option file with Notepad and make the following entries: Many Options The options possible for configuring the server are numerous. Refer to the Server Administrators Guide for a full listing of all possible commands. In short you can control borrow limites, timeout valies, IP ranges, and more. # Timeout options # ======================= # Time out all licenses after 1 hour idle # ======================= TIMEOUTALL 3600 # Report Log # ======================= REPORTLOG +”C:\Program Files\Autodesk Network License Manager\Logs\adskflex.rl” Save the option file, close it, and then open the license file with Notepad. We need to tell the server to use the new option file for the Autodesk vendor’s license daemon configuration. The daemon is configured by the unique vendor code found in each license file. In the license file near the top look for the following line: VENDOR adskflex port=2080 Change this line so that the daemon for autodesk (adskflex) references the option file. VENDOR adskflex port=2080 options=”\