Networking Autodesk Products from A2Z - cloudfront.net

92
Networking Autodesk Products from A2Z Jerry Milana Fred Babin

Transcript of Networking Autodesk Products from A2Z - cloudfront.net

Networking Autodesk Products from A2Z

Jerry Milana

Fred Babin

This course walks you through the licensing and software

delivery steps that assure an optimal implementation of Autodesk software across your network. We will focus on the critical decision points in deploying and licensing products with emphasis on recent changes and industry

best practices. We will cover planning, implementation, fault tolerance, day to day administration and troubleshooting techniques.

Class summary

At the end of this class, you will be able to:

� Install and Configure the Autodesk license manager

� Create an options file to optimize the Autodesk license manager

� Write simple scripts to automate administrative tasks

� Create Deployment Images optimized to your requirements

� Avoid common mistakes and traps

� Troubleshoot problems using administrative tools and log files

Key learning objectives

Autodesk Network Licensing – The Basics

� Built on Flexera FLEXnet Publisher (FNP).� FNP is a development kit to provide software application licensing.

� FY 2014 products ship with FNP v11.11.� Licensing is implemented based on the concurrent usage

model.� Allows up to the licensed number of users to start a given product.

� Autodesk Network Licensing uses ‘Certificate’ licenses.� ASCII text files with license and authentication information.

� Autodesk vendor daemon is ADSKFLEX.

� The Network License Manager is provided with all network licensed products.

WANs, LANs, and Protocols

� VPN

� RAW internet� Not supported

� EULA requires a private connection

� Wireless

� Dialup� Not supported

� DSL / Cable

� TCP/IP protocol (required)

FLEXlm Components

� License file

� License servers� Master daemon “lmgrd”

� Vendor daemon “adskflex"

� Client application “AutoCAD”

� Log files� lmgrd debug log file

� Report log file (optional)

� End-user options file (optional)

� LMTools� Point and Click Administrative Interface

� lmutil utilities-lmstat, lmver, lmhostid, lmdiag, etc.� Command line driven Administrative Interface

� SAMreport-Lite / FlexNet Manager for Engineering Applications

License Server

� License Server Consists of 2 Components

� Master daemon (lmgrd):

� Starts vendor daemons from license VENDOR lines

� lmgrd directs client to vendor daemon port

� Restarts vendor daemon if vendor daemon dies

� Available at www.flexerasoftware.com

� Vendor daemon (adskflex):

� Grants, denies client license request

� Contains Autodesk authentication information

License File

� Single product

� Combined license file (Multiple products)� Session specific� Subscription� Package / Suite

� 5 + 2 = 2

Example License File

Autodesk 3ds Max 2014

SERVER PARADISE 00A123B45FCD

USE_SERVER

VENDOR adskflex port=2080

INCREMENT 860803DSMAX_2014_0F adskflex 1.000 03-nov-2013 10 \

VENDOR_STRING=nfr:extendable SUPERSEDE DUP_GROUP=UH \

ISSUED=25-Oct-2012 BORROW=4320 SN=388-00100388 SIGN="0D6A 6A7F \

3BCC F997 AEFC 1314 CD41 3419 B266 3272 5B85 967C A21B D93D \

1934 01A9 4C9B 15E0 F547 4D7B 4451 D8F1 4E6E 3128 0F7F 2B64 \

F6D8 439D D0B8 7442" SIGN2="11DA 5ABD 1D03 E5E7 E75D ACB6 BD2F \

50D6 E67E BA45 030E AEAA A6FD 2482 A4FA 0E32 2D20 96C9 4E90 \

12BF 4E9C 2BE9 AAA2 512A F956 5069 92C9 D466 4EE7 5C5F"

Combined Feature License File

This license file is for 10 seats of AutoCAD 2014 and 10 seats of 3ds Max 2014

INCREMENT 86063ACD_2014_0F adskflex 1.000 03-nov-2013 10 \VENDOR_STRING=nfr:extendable SUPERSEDE DUP_GROUP=UH \ISSUED=25-Oct-2012 BORROW=4320 SN=388-00100388 SIGN="1C5A FFC1 \

E8C1 3432 4709 3A81 1868 4777 A041 453C B065 3E6A CE27 5850 \C550 0928 20A5 E3B2 47DE 69A9 C35D 8C09 B937 2C6E 5194 DBED \D256 0B11 2B30 47B2" SIGN2="0C5B 6741 9690 E20C F772 D7E1 83E1 \

6371 ABA9 A59B 7CBE 2EEA 5EF9 A231 A29E 11E0 8AA8 D134 95A5 \FA76 06B5 330C D8BD A3F0 7E16 A8DC 79A8 6755 5CE5 DD3D“

INCREMENT 860803DSMAX_2014_0F adskflex 1.000 03-nov-2013 10 \VENDOR_STRING=nfr:extendable SUPERSEDE DUP_GROUP=UH \ISSUED=25-Oct-2012 BORROW=4320 SN=388-00100388 SIGN="0D6A 6A7F \

3BCC F997 AEFC 1314 CD41 3419 B266 3272 5B85 967C A21B D93D \1934 01A9 4C9B 15E0 F547 4D7B 4451 D8F1 4E6E 3128 0F7F 2B64 \F6D8 439D D0B8 7442" SIGN2="11DA 5ABD 1D03 E5E7 E75D ACB6 BD2F \

50D6 E67E BA45 030E AEAA A6FD 2482 A4FA 0E32 2D20 96C9 4E90 \12BF 4E9C 2BE9 AAA2 512A F956 5069 92C9 D466 4EE7 5C5F"

Redundant Server License File

SERVER PARADISE 00A123B45FCD 27005SERVER TAHOE 00A123B45172 27005SERVER MAUI 00A123B45A34 27005USE_SERVERVENDOR adskflex port=2080INCREMENT 86063ACD_2014_0F adskflex 1.000 03-nov-2013 100 \

VENDOR_STRING=nfr:extendable SUPERSEDE DUP_GROUP=UH \ISSUED=25-Oct-2012 BORROW=4320 SN=388-00100388 SIGN="0D30 85BB \12A5 A2CA F5CD 8D94 C71C 43F8 DB4B 3CC1 B344 7B55 CEAC F500 \DAC5 1F54 0BD0 F506 4A33 0FAB 1D26 4EE7 777B B016 9CE8 D1D0 \DF4C 7522 BB55 7622" SIGN2="0ECC 1230 9657 35FB 0395 06EB 1293 \5A6C 6CE7 BB75 A26F 0560 3780 F6B8 578D 00FE 3501 478B 38B7 \3757 3DF7 6033 954B 1A17 D684 B1A5 CDA7 3CCD 0747 71F5"

Example Subscription License File

Product Design Suite UltimateSERVER paradise 12345a12345bUSE_SERVERVENDOR adskflex port=2080PACKAGE 85815PDSU_F adskflex 1.000 COMPONENTS="85963PDSU_2013_0F \

85796PDSU_2012_0F 85730ACD_2012_0F 85875ACDMAC_2012_0F \85678ACAD_E_2012_0F 85762INVPRORS_2012_0F 85837NAVSIM_2012_0F \85677ECSCAD_2012_0F 85607SHOWCASE_2011_0F 85615ALSK_2011_0F \85580MBXPRO_2011_0F 85545AMECH_PP_2011_0F 85503MAXDES_2011_0F \85579INVNTOR_2011_0F 85000DESNST_2011_0F 85567INVPRO_2011_0F \85536ACD_2011_0F 85538ACAD_E_2011_0F 85569INVPRORS_2011_0F \85601NAVSIM_2011_0F 85581ECSCAD_2011_0F 83900MBXPRO_2010_0F \71800AMECH_PP_2010_0F 70600INVPRORS_2010_0F \70000MAXDES_2010_0F 85577INVNTOR_2010_0F 70500INVPRO_2010_0F \71200ACD_2010_0F 71700ACAD_E_2010_0F 71500NAVSIM_2010_0F \82600ECSCAD_2010_0F" OPTIONS=SUITE SUPERSEDE \ISSUED=20-Sep-2012 SIGN="1A17 C201 8538 9B6A 64DC 8CE5 E63F \F517 58E3 71DB E086 D650 5E23 553D 2AB3 1266 AC3D 779C 50B7 \1030 1292 CAA0 AC13 2854 1B01 8668 4D87 1E20 5625 420F" \SIGN2="061E D7CE 6816 FA53 664C 55F4 C467 EE91 C385 6B59 D85C \ACB8 CE1E 243F B71D 05F5 F4BA AB9D 9D35 71CE 0FD7 5CA0 18E8 \0A1E 71E7 345B 6148 4736 60D5 8D4D"

INCREMENT 85815PDSU_F adskflex 1.000 05-dec-2012 20 \VENDOR_STRING=nfr:extendable SUPERSEDE DUP_GROUP=UH \SUITE_DUP_GROUP=UHV ISSUED=20-Sep-2012 BORROW=4320 \SN=399-66666666 SIGN="1188 B225 8C2D 9C83 9EFC 7FA4 4379 009D \3613 18AC 954C 1A3A 9829 45AB 4974 09DA 5457 A266 C91B 9196 \7A10 9E96 60E2 42A0 3A70 04F9 9825 ABD5 F2C9 B127" SIGN2="1489 \6230 A315 BE53 7E1A 7BEF AC4E C292 0292 168C 147C 56E5 483C \DA6F 1DCE 0788 F31A AA06 000E 7466 247D B9C2 CB25 F006 BD58 \A9B5 1813 9A55 B449 DA5C"

Prior Version Support

� Offered to Subscription Customers Only!

� Network Versions� License Manager will regulate sessions for the current version

plus the prior 3 releases

� 2014 – 2013 – 2012 – 2011

� Standalone Versions� Autodesk systems will allow the current version plus three prior

versions to be activated on the same computer

Package License – Suite Prior Version Support

PACKAGE 85815PDSU_F adskflex 1.000 COMPONENTS="85963PDSU_2013_0F \

85796PDSU_2012_0F 85730ACD_2012_0F 85875ACDMAC_2012_0F \

85678ACAD_E_2012_0F 85762INVPRORS_2012_0F 85837NAVSIM_2012_0F \

85677ECSCAD_2012_0F 85607SHOWCASE_2011_0F 85615ALSK_2011_0F \

85580MBXPRO_2011_0F 85545AMECH_PP_2011_0F 85503MAXDES_2011_0F \

85579INVNTOR_2011_0F 85000DESNST_2011_0F 85567INVPRO_2011_0F \

85536ACD_2011_0F 85538ACAD_E_2011_0F 85569INVPRORS_2011_0F \

85601NAVSIM_2011_0F 85581ECSCAD_2011_0F 83900MBXPRO_2010_0F \

71800AMECH_PP_2010_0F 70600INVPRORS_2010_0F \

70000MAXDES_2010_0F 85577INVNTOR_2010_0F 70500INVPRO_2010_0F \

71200ACD_2010_0F 71700ACAD_E_2010_0F 71500NAVSIM_2010_0F \

82600ECSCAD_2010_0F"

5 + 2 = 2

The Newest One WinsINCREMENT 86063ACD_2014_0F adskflex 1.000 permanent 5 \

VENDOR_STRING=commercial:permanent SUPERSEDE DUP_GROUP=UH \

ISSUED=12-Oct-2013 BORROW=4320 SN=123-45678901 SIGN="15AA 5360 \

C4D4 F92C 23A3 8DBA 69F5 917B 3FA9 5B2A A8E4 E1C7 102A 438D \33B2 018E B22F 52BD A2C2 FF78 3BEF 5213 F8DC 08CF 2B4B F18A \5044 17A5 8259 0ADD" SIGN2="1827 0E11 3EE4 9458 A278 4701 6A5D \

A395 E503 5427 BEB6 9CFE F686 B970 BAC7 117E 4896 211C 8C25 \3ADA 231F 2571 9AFC 146E B845 AB06 0530 E2D2 7CFC F611“

INCREMENT 86063ACD_2014_0F adskflex 1.000 permanent 2 \VENDOR_STRING=commercial:permanent SUPERSEDE DUP_GROUP=UH \

ISSUED=20-Oct-2013 BORROW=4320 SN=123-45678901 SIGN="1890 C3F2 \

6213 B438 4F8F ED3D C452 546E F4EF 33AD DD18 0671 1422 59C2 \03D8 0CE8 E6D1 A9A4 613C 1FB5 1F0C 958B 43E5 0431 4D57 EC9C \EA1B 7AC0 6890 4204" SIGN2="0713 2B95 5945 478C B7B4 CF05 89AC \

A55C D4D5 F0AC 0F3C C884 7B66 EB1C 3497 0483 BAD9 2DF0 98E3 \969E 2EB4 89C3 AC0D 00B3 2F3D 4404 7FEF B763 3E17 0D05"

Suite Licensing

� Permits a single user to use any mix of the products

included in the suite on a single machine.� Standalone licensed suite product components may not

be installed across multiple workstations.� Network licensed suite products will pull a single suite

license per user/workstation regardless of how many component products are running at the same time on a given workstation.

� http://licenseparser.com/

� Decodes Feature Codes and Seat Counts� Does NOT Validate the License� Does NOT Apply Date Supersession Logic� Seats May Be Reported But Not Work

� To Verify the License Load it on the License Manager� Check the log file for errors

� Run LMUTIL LMSTAT –c <servername> -a to verify seat counts

License Parser

License Parser

License Parser Output

License Parser Output

Authentication

� Locks a license file to a specific piece of hardware

� License file “SIGN” parameter

� Encryption of license data plus Host ID

� Ethernet Network Adapter (HostID)

� MAC address

License Server Startup

� LMGRD starts

� Writes debug log file� Reads license file� LMGRD starts vendor daemon (ADSKFLEX)� ADSKFLEX writes to debug log file

� Reads license file� Reads option file (if found)� Writes report log (if configured)

Application Startup

� Application is executed

� Application generates a request for a license� Server resolution occurs� Master Daemon (LMGRD) receives request� LMGRD determines the appropriate Vendor Daemon

� Request is passed to Vendor Daemon (ADSKFLEX)� ADSKFLEX grants or denies a license� ADSKFLEX maintains a heartbeat with each active

application session

Server Resolution

� Methods by which clients find license servers

� Resolution can occur locally or across Wide Area Networks

� With FLEXnet resolution is explicitly controlled by the customer (system administrator)� Workstation local file

� Workstation local environment variable

� Breadcrumbs

� FLEXnet Servers are passive, they do not advertise

Clients

Network Licensing Models

Clients

34

33

33100

100

RedundantSingle

Use

rs

Distributed

Clients

Clients

Clients

License Fault Tolerance

Redundant Servers� Requires exactly 3 servers

� If one server fails all seats still available

� If two servers fail no seats are available

� If communication fails between the redundant pool no seats are available

� Servers must be located physically and logically close together

� If a member server is replaced the entire pool must be rebuilt

� All license traffic is handled by the Master Server

� No fault tolerance is provided for network infrastructure failure

License Fault Tolerance

Distributed Servers� Any number of servers may be utilized� If one server fails some seats will be unavailable

� If 2 servers fail some seats are available� Each server is independent and does not rely on communication with

the others

� Servers can and should be located physically apart to achieve maximum infrastructure fault tolerance

� If a member server is replaced the rest of the servers are unaffected� Each server can handle a portion of the license traffic� Can be leveraged to provide priority user access

� Only high priority users have feature access privileges on certain servers the rest of the user population only draws on the ‘main’ servers

Grant or Deny Session

� Is the Feature Code defined in the License File?

� Did the Feature Authenticate?

� Is there available seat count?

� Does the Options File Contain a Rule that Forces Denial?

� Otherwise Grant a License and decrement available seat count

License Search Examples

Single Server (LICPATH.LIC)SERVER ADSKLMSERVER 1a2b3c4d7e8fUSE_SERVER

Redundant Server (LICPATH.LIC)SERVER ADSKLMSERV1 1b448c486970 27005SERVER ADSKLMSERV2 8736ae86de91 27005

SERVER ADSKLMSERV3 1c83bc896432 27005USE_SERVER

Distributed Server (Environment variable)ADSKFLEX_LICENSE_FILE=@COAdskLMServer;@UKAdskLMServer

Cascading

� Enables network licensed products to use unused

licenses of other products.� Products cascade in specific order, it is not configurable.� Cascading always starts with the product’s native

license.� 2012 Cascade List Posted at:

http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=16981643&linkID=9240617

� 2013 Cascade List Posted at:http://usa.autodesk.com/adsk/servlet/ps/dl/item?siteID=123112&id=18708338&linkID=9240697

� 2014 Cascade List Posted at:http://usa.autodesk.com/adsk/servlet/ps/dl/item?id=21379174&linkID=22152743&siteID=123112

Cascade License Sharing

� Enhances economy of use for network licensed products.� Returns a lower level license when a higher level license is

consumed that includes the lower level product.� License sharing is a resolution process that occurs post initial license

checkout.� Product A starts and pulls a license

� Product B starts and pulls a license that also allows Product A to run

� Product A returns its license and uses the common license with Product B

� Sharing does not occur if both products can checkout unique lower level licenses even if a higher level sharable license exists.

� Higher level licenses do not get returned.

Cascading Example

License BLicense C

License Server

Product ACascade Sequence:

1. License A

2. License B

3. License C

Product CCascade Sequence:1. License C

Ask for License A

No License A available

Workstation

Start Product

A

Cascading Example

License BLicense C

License Server

Product ACascade Sequence:

1. License A2. License B3. License C

Product CCascade Sequence:1. License C

Ask for License B

Grant License B

Workstation

Using

License BStart Product

A

Cascading Example

License BLicense C

License Server

Product ACascade Sequence:

1. License A2. License B3. License C

Product CCascade Sequence:

1. License C

Ask for License C

Grant License C

Workstation

Using

License B

Using

License C

Start Product

C

Cascading Example

License BLicense C

License Server

Product ACascade Sequence:1. License A

2. License B3. License C

Product CCascade Sequence:

1. License C

Return License B

Share License C

Workstation

Using

License C

Using

License C

3 minutes later

Options File

Used to configure license management behavior� Report Log Creation

� Control Borrowing� Limit maximum borrow period below Autodesk allowed period� Control who can borrow licenses

� Control Feature Access� Reserve licenses for specific users or systems

� Deny access to features

� Idle License Recovery� Timeout can be set for each feature or globally for all Autodesk products

� Recover licenses due to user inactivity� Recover licenses due to ungraceful program termination or disconnect

� Name it ADSKFLEX.OPT and place it in the same folder as the license file

Options File Parameters

� USER—OS name of application user

� HOST—machine where application is executing

� GROUP, HOST_GROUP—created in options file

� INTERNET—host IP-address. “*” wildcard supported

� Line continuation character “\” 2k limit per line

Inactive Session: TIMEOUT

� Every License Manager should have a timeout setting!

� TIMEOUT releases inactive license� Use TIMEOUT if you want to have different settings for some products

� TIMEOUTALL� Use TIMEOUTALL to set all products to the same setting

Reserve, Include, Exclude Logic

� Reserve dedicates seat count to entities� Reserved license count will not be available except for specified entities

� Does not set a ‘priority’ condition

� Exclude denies access to specified entities� Everyone not listed is assumed to have license access

� Include permits access to specified entities� Everyone not listed will be denied access

� Excludes take precedence over Includes� If an entity is specified in both for a feature access will be denied

� Remember that the options file syntax is Case Sensitive� Username and hostname case sensitivity in Groups can be turned off with GROUPCASEINSENSITIVE

ON

� Keywords must always be UPPER case

� Mistypes are easy, double check the debug log!

Sample Options File

The following example performs the following:� The following example performs the following:

� Creates a report log in the specified folder� Creates a group called acd_BORROW

� Allows only members of acd_BORROW to borrow AutoCAD 2013 licenses

� Sets the maximum AutoCAD 2013 borrow time to 440 hours� Overrides Autodesk’s controlled maximum of 6 months

� Denies any license to machines in the IP range of:

123.123.123.0 through 123.123.123.255� User and Host names in Group lists will be case insensitive

� Sets Idle Timeout for all Autodesk products to 5400 seconds

REPORTLOG +C:\adsk_flexlm\logs\report.log

GROUP acd_BORROW jonesm potterh smithp

INCLUDE_BORROW 85871ACD_2013_0F GROUP acd_BORROW

MAX_BORROW_HOURS 85871ACD_2013_0F 440

EXCLUDEALL INTERNET 123.123.123.*

GROUPCASEINSENSITIVE ON

TIMEOUTALL 5400

Reporting

SAMreport-Lite

� Included with Autodesk Products

� Provides only usage summary reports

� Can summarize by feature and either machine or user

� No usage over time or high water mark reporting

� No filtering or grouping

SAMReport-Lite

� Available from product media under Tools and Utilities

� Before installing you must obtain your license file

SAMreport-Lite Output File Types

� HTML� Generates a file set to be viewed in a browser

� TEXT� Generates an ASCII text file

� RIF� Generates a space delimited text file

� Can be imported into a spreadsheet program such as Microsoft Excel

Importing a RIF into Excel

Installing SAMreport-Lite

� Obtain License File� http://autodesk.globes.com/

� You need a license file for each server you wish to generate reports from, not each workstation running SAMreport-Lite

� Download SAMreport-Lite� www.autodesk.com/samreportlite

� Install Java Runtime from download package

� Install SAMreport-Lite from download package

� Modify Startup Icon if Windows 7� See Readme at www.autodesk.com/samreportlite

Obtain SAMreport-Lite License

Distributed Servers SAMreport-Lite License

Distributed Servers SAMreport-Lite License

Note the ‘dummy’ HostIDs

used to fill out unused fields to

avoid errors

SAMreport-Lite License

INCREMENT SAMreport_lite gsi 3.0 1-jan-0 0 AEB1A2F8B67E799EA158 \VENDOR_STRING="VENDOR:adskflex

HOSTID:0050B60C5EB7" HOSTID=ANY \

NOTICE="Issued by Flexera Software SN=W13691"

INCREMENT SAMreport_lite gsi 3.0 1-jan-0 0 3E2102C8AA2122448930 \VENDOR_STRING="VENDOR:sgiawd

HOSTID:0050B60C5EB7" HOSTID=ANY \

NOTICE="Issued by Flexera Software SN=W13691"

SAMreport-Lite ‘DUMMY’ License

INCREMENT SAMreport_lite gsi 3.0 1-jan-0 0 4E71C208FD33DA44254E \VENDOR_STRING="VENDOR:adskflex

HOSTID:00000000000a" HOSTID=ANY \

NOTICE="Issued by Flexera Software SN=W13691"

INCREMENT SAMreport_lite gsi 3.0 1-jan-0 0 BE9102F8205FD2AB53AB \VENDOR_STRING="VENDOR:sgiawd

HOSTID:00000000000a" HOSTID=ANY \

NOTICE="Issued by Flexera Software SN=W13691"

Discard these dummy licenses

Report Log File Creation

� Add the following syntax to your ADSKFLEX options file:

REPORTLOG +<report log file name and path>

� Path Must be quoted if it contains spaces� No space between the + sign and the path� If the + sign is omitted, the log file will be overwritten

each time the license manager is started

LMUTIL – Command Line Tool – Syntax

� LMUTIL [function] [parameters] <switches>

� LMUTIL.EXE may be renamed to <function>.EXE to save typing strokes

� LMREREAD.EXE = LMUTIL.EXE LMREREAD

� LMUTIL syntax documentation is available online from Flexera web site

Scripting LMutil

Common Administrative Tasks

LMREREAD� Reread changes to license and options file

LMSTAT� Check status of licenses� Output may be filtered using flags and/or external filters such

as GREP

LMNEWLOG� Create an archive report log and zero the active report log

� There is no GUI (LMTools) method to do this

Why Script LMutil?

� Easier to use and more predictable than LMtools when

used on remote systems

� Get the results you expect and need every time

� LMutil syntax can result in rather long command lines and is unforgiving

� Once you get it right you only type it once

� Data can be combined from multiple servers, filtered and formatted

Example Scripts

To reread the license and options file on three servers:

lmutil lmreread –c 27000@server1

lmutil lmreread –c 27000@server2

lmutil lmreread –c 27000@server3

echo Please check for error messages

pause

To check usage status of AutoCAD 2012 on three servers:

lmutil lmstat –c 27000@server1 –f 85730ACD_2012_0F

lmutil lmstat –c 27000@server2 –f 85730ACD_2012_0F

lmutil lmstat –c 27000@server3 –f 85730ACD_2012_0F

echo Please check for error messages

pause

Example Script

� This script archives the existing report log and creates a new empty active log.

� This script must run on the license server.

� The archive file will be created in the license manager’s log folder

� The archive will be named <computer name><date>.rl

� You can automate log file rotation by configuring this as a scheduled task.

lmutil lmnewlog -c @127.0.0.1 adskflex .\log\%COMPUTERNAME%_%date:~10,4%-%date:~4,2%-%date:~7,2%.rl

Trouble Avoidance

Fault tolerance can shield the onset of problems until

they become raging fires

� Redundant and Distributed Servers require routine monitoring

� Single point failures are often masked by the technology

� Monitor by routinely running LMstat against all servers

� Consider automating this process and notifications

� Debug logs should be periodically audited for signs of problems

� Failed feature authentication

� Missing options file functionality

� Unexpected license denial

Troubleshooting – Things that go bump!

� Authenticating against a logical MAC address that subsequently updates

� Typographical and Syntax errors in the license file and/or options file

� Corruption of the license or options file by editing with a non-ASCII editor� Use Notepad, not Wordpad or Word

� Exceeding connection limits on servers� Filtering license management ports

� TCP 27000-27009 (LMGRD) and TCP 2080 (Adskflex)� Infrastructure failure

� Server hardware� Network services

Troubleshooting – Failure Recovery

� If the authenticating NIC survives a server failure the NIC can be moved to the replacement hardware and the license file reused.� If the new server inherits the failed units name nothing else is required� If the replacement hardware used a different hostname then the license

file server name parameter must be edited. (this may not work for Brand X products)

� Single and Distributed server NIC replacement do not effect other servers

� If the NIC fails or is on the Server system board a new license file will be required

� If the failed server was a member of a redundant pool then a new redundant license file must be obtained and installed on each redundant member.

Integrating with Brand-X Licensing

� Install and Setup a separate FLEXlm manager for each vendor

� Specify a unique LMGRD and vendor daemon port for each vendor

The following is an example license file header for Autodesk products specifying TCP Port 27003 for LMGRD and TCP Port 2080 for the Autodesk vendor daemon (ADSKFLEX)

SERVER PARIDISE 01d059bfcacf 27003

USE_SERVER

VENDOR adskflex port=2080

� Non FLEXlm license managers are non issues

� Just make sure nothing steps on your FLEXlm ports

Network License Borrowing

� Borrowed Licenses Reduce Available Network Licenses

� Borrows are on a per user and per computer basis� Borrow Time Limit is 6 months

� May be limited to smaller periods in the options file.

� Borrowed Tokens May be Returned Early

� No administrative method of recalling a borrowed license� There is no relationship/interaction between a standalone

license and a borrowed license

Product Information – Network License

Borrow a License

Return a License Early

Product Information – Borrowed License

LMTOOLS Status – Linger Flag

Linger indicates a borrowed license

Autodesk Install Framework

Configuring License Manager

For Autodesk licensing always select Configuration using Services

LMTOOLS – Configure Services

LMTOOLS – System Settings

IPCONFIG /all

Use IPCONFIG /ALL to identify a physical adapter

LMTOOLS – Start / Stop / Reread

LMTOOLS – Status Enquiry

Best Practices Summary

� Autodesk License Manager Configuration� Service Name

� Install Path � License and Log file locations

� License File� Port callout

� Options File� Set Timeout� Report Logging� Borrowing Restrictions

� Environment Variables� ADSKFLEX_LICENSE_FILE� FLEXLM_TIMEOUT

Part 2 – Network Deployments

Deploying Autodesk Products

Create Deployments from setup.exe� Deployment Wizard (DW)

Supported Automated Distribution Methods� System Center Configuration Manager (SCCM)

� System Management Server (SMS)

� Group Policy Objects (GPO)

A Few Words About Product Keys

• Product Keys drive licensing properties for standalone licensed products.• The Product Key, Serial Number and product must match up or the product

will not activate.

Deployment Wizard

� Enables deployment from a server across a network

� Create standard deployment image

� Choose the installation features you want to deploy

� Standard Interface tool between products

� Similar logic to installer and across products

� Patch existing deployments

� Track installation status

� Supports network and stand-alone licensing

� Standardized registration information

Autodesk Install Framework

Create Deployment

License Agreement

Product Information

License Search Examples

Single Server (LICPATH.LIC)SERVER ADSKLMSERVER 1a2b3c4d7e8fUSE_SERVER

Redundant Server (LICPATH.LIC)SERVER ADSKLMSERV1 1b448c486970 27005SERVER ADSKLMSERV2 8736ae86de91 27005

SERVER ADSKLMSERV3 1c83bc896432 27005USE_SERVER

Distributed Server (Environment variable)ADSKFLEX_LICENSE_FILE=@COAdskLMServer;@UKAdskLMServer

Product Selection

� Choose which products to install. Be sure to check product configurations.

Include Additional Software

Additional Program Selection

• Only EXE or MSI files may be selected

Product Configuration

Product Configuration - Service Packs

If you are using Group Policies (GPO) to push software choose

MERGE otherwise

choose APPEND

Product Configuration – Live Update

Supported Automation Methods

� System Center Configuration Manager (SCCM)

� System Management Server (SMS)

� Group Policies (GPO)

SCCM/SMS Readme and Scripts

Autodesk is a registered trademark of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. All other brand names, product names, or trademarks belong to their respective holders. Autodesk reserves the right to alter product and services offerings, and specifications and pricing at any time without notice, and is not responsible for typographical or graphical errors that may appear in this document. © 2013 Autodesk, Inc. All rights reserved.