Documente Academic
Documente Profesional
Documente Cultură
Location
North America China France Germany India
Telephone
248.614.2425 86.21.5393.0011 33.1.4133.0992 49.7031.6208.22 91.80.66294500 1800.425.0234 (toll free) 39.800.905.595 81.3.5396.1341 81.3.5396.2881 82.31.716.4321 46.46.286.2052 44.1926.468.600 55.11.4223.5733 64.9.413.7981 64.9.413.7981
e-mail
HyperWorks hwsupport@altair.com support@altair.com.cn francesupport@altair.com hwsupport@altair.de support@india.altair.com
Italy Japan Korea Scandinavia United Kingdom Brazil Australia New Zealand
support@altairengineering.it
support@altairjp.co.jp support@altair.co.kr support@altair.se support@uk.altair.com support@altair.com.br anzsupport@altair.com anzsupport@altair.com
The following countries have distributors for Altair Engineering: Mexico, Romania, Russia, South Korea, Singapore, Spain, and Taiwan and Turkey. See www.altairhyperworks.com for complete contact information. 2008 Altair Engineering, Inc. All rights reserved. No part of this publication may be reproduced, transmitted, transcribed, stored in a retrieval system, or translated to another language without the written permission of Altair Engineering, Inc. To obtain this permission, write to the attention Altair Engineering legal department at: 1820 E. Big Beaver, Troy, Michigan, USA, or call +1-248-614-2400. Altair HyperWorks 9.0 Application Installation Guide
Listed below are Altair HyperWorks applications. Copyright Altair Engineering Inc., All Rights Reserved for:
HyperMesh 1990-2008; HyperView 1999-2008; OptiStruct 1996-2008; RADIOSS 1999-2008; HyperCrash 2001-2008; HyperStudy 1999-2008; HyperStudyDSS 2002-2008; HyperGraph 1995-2008; HyperGraph 3D 2005-2008; MotionView 1993-2008; MotionSolve 2002-2008; TextView 1996-2008; MediaView 1999-2008; HyperForm 1998-2008; HyperXtrude 1999-2008; HyperView Player 2001-2008; Process Manager 2003-2008; Data Manager 2005-2008; Assembler 2005-2008; FEModel 2004-2008; Batch Mesher 2003-2008; Assembler 2005-2008; Templex 1990-2008; Manufacturing Solutions 20052008 All other trademarks and registered trademarks are the property of their respective owners. Portions of the FLEXnet documentation in this installation manual are reproduced with permission of Macrovision Corporation.
ii
Table of Contents
Overview..............................................................................................................1
Introduction ............................................................................................................................. 1 About Altair License Management System .......................................................................... 1 Conventions Used in this Guide............................................................................................ 2
ii
Appendix A: Glossary .....................................................................................82 Appendix B: Installation Structure .................................................................85 Appendix C: License File Format ...................................................................87
Fields You Can Modify.......................................................................................................... 88 Create a USE_SERVER license file........................................................................................ 90
Appendix F: FLEXlm Administration Utilities.............................................101 Appendix G: Option File Keywords..............................................................111 Appendix H: Managing Licenses from Multiple Vendors ...........................118 Appendix I: Uninstallation Process..............................................................120 Appendix J: Instructions for Sending Reports Manually ............................121
iv
Overview
Introduction
This guide covers the concept of Altair GridWorks Units system, the installation and general operations of Altair License Management System on Windows, Linux, and UNIX platforms. It contains: Altair License Management System Release Notes Version 9.0 Chapter 1: Altair License Management System Chapter 2: Preparing to install Altair License Management System Chapter 3: Installing Altair License Management System on UNIX and LINUX Chapter 4: Installing Altair License Management System on Windows Chapter 5: Operation and Maintenance Chapter 6: Altair GridWorks licensing Appendices Chapter 1 provides fundamental knowledge about Altair License Management System and its main components. Chapter 2 lists the general installation procedures for required items, hardware and operating system consideration, and the list packages for each platform. Chapters 3 and 4 provide detailed instructions for installing the Altair License Management System on UNIX/Linux and on Windows. Chapter 5 documents information about operating and maintaining the license system including the license management and usage report. Chapter 6 provides the concepts of Altair GridWorks licensing system. Appendices provide additional information about licensing tools, license files, the license manager, usage tracking, and keyword options.
Overview enables partner software to be used, product usage must be sent to Altair.
Two types of licenses, GridWorks license and Feature license, have been applied to Altair products: GridWorks license: In this scheme, customers are given a fixed number of licenses for the GridWorks features. This is commonly referred to as GridWorks Units (GWUs). A GridWorks enabled Altair product, such as HyperWorks, can be launched as long as the associated tracking feature for this product is included in the license file and there are sufficient GWUs to grant the license check out. Feature licenses: Feature licenses allow a specific Altair application to run. A single license for the given feature name is checked out when feature based licenses are used. Feature licenses can be node-locked to a single machine, or a network floating license that is available to many machines on the network.
Warnings appear in these boxes. Their content is designed to prevent serious installation problems.
Questions regarding the software and license installation may be directed to Altair Support. See the back of the title page for further contact information.
Enhancement
License usage tracking Add the following three environment variables to capture the debug output from UMT: ALM_LOG_ENABLED=1, ALM_LOG_FACILITY=syslog, or stderr ALM_LOG_LEVEL=(error|debug|info) UMT/URT can handle multiple licensing ID UMT will report the license ID from the GridWorks FEATURE. If the GridWorks FEATURE is not present, it will take the license ID from the GridWorks INCREMENT feature line. If both a GridWorks FEATURE or INCREMENT do not exist, the first license ID in the file will be reported. UMT will report all the license IDs found in the license file that the UMT is monitoring on. In the usage log file, any license ID found in the license file except the one listed in the License ID will be recorded in the Additional Ids line. The prerequisite of .NET Framework on Windows is removed. When LM_LICENSE_FILE environment variables points to two set of license servers, for example 7788@server1:7788@server2, the UMT will move on to monitor server 2 when server1 is down.
License Manager
Resolved Issues
License usage tracking The issue that ALM_ERROR_TRACKING must be present in the registry for the UMT to start is corrected. Correct the error of UMT version number. The URT setup on Windows XP will be updated correctly in the alus.conf file, The missing "/" in the ALUS_UNDELIVERABLE_DB_FILE_PATH is corrected. The issue of URT/UMT error with the undeliverable.properties file not having proper permissions is corrected. The issue regarding Sun Solaris Buffer IO causing duplication information in the usage log file is corrected. License package Remove the obsolete TTF license file from license package
Known Limitations
Installation URT tries to use wrong izip executable on SLES9/10 PPC 64. The works is to remove the ./alus/utils/bin/LINUX directory and symlink it to the ppc64_se9 directory before starting the license daemon. URT tries to use wrong izip executables on SUN Solaris X86_64. The work around is to remove the ./alus/utils/bin/SOLARIS directory and symlink it to the x64_sun10 directory before starting the license daemon. On SGI IRIX platform, the JRE does not work properly with SSL and DNS lookups. The workaround is using the HTTP to send the data. FLEXnet 10.8 does not support Windows Vista 32- or 64bit platform. To make it work, replace the lmutil, lmgrd and lmtools executables from FLEXNet 11.4. There is a known issue with the license reporting tool when running on RHEL5 and Itanium processors. This issue causes the reporting tool to send data constantly instead of once a month. If you are installing on RHEL5 and Itanium please contact Altair local support for an update to fix this issue. The License Manager vendor daemon (altair_lm) may fail to start on Solaris and HPUX machines, due to insufficient file descriptors. Increasing the hard limit and soft limit of the maximum number of file descriptors available for the license manager (lmgrd) process to 1024 helps resolve this issue.
License Manager
Vendor daemon
Altair License Management System Release Notes: 9.1 Multiple license pools There is a limitation on HyperWorks leveling when working with multiple license pools. This limitation occurs due to the following FLEXlm characteristics: o Each license pool functions independently of other license pools and cannot communicate with any other license pool. o The application tries all license servers in the order in which they are listed in the ALTAIR_LM_LICENSE_FILE or LM_LICENSE_FILE environment variables. The first available license server that can grant licenses is used for checkout. o A license pool is a collection of licenses that could consist of a single license server or a cluster of redundant servers. Within a single license pool, you can launch multiple HyperWorks applications on the same host and with the same display with the number of licenses consumed being equal to the number required by the application with the highest draw of licenses. If launching new HyperWorks applications by the same user/host/display causes licenses to be drawn from a license pool other than the one checked out earlier (perhaps because the first license pool has run out of licenses), additional HyperWorks units are checked out from the second license pool, thus stacking the licenses. For a three-server redundancy licensing setting, it is recommended to have all three servers physically located close to each other, and on the same subnet. Placing three servers in different geographical locations is not recommended by FLEXNet. When working with three server license pool configurations, licenses may be leveled on UNIX (in most cases) by setting the HW_POOL_SECURITY environment variable to 1. lmborrow option The lmborrow option used to borrow mobile licenses only works for products that do not stack licenses. A borrowed license listed in the LMTOOLS is not automatically updated when the license expired. Manually checking the feature back in is required.
LMTools
On Windows, the GUI for lmtools ignores the following environment variables when launching lmgrd. ALTAIR_NOLOG ALTAIR_LOGFILE ALTAIR_LOG_INTERVAL As a workaround, start lmgrd from the command line.
Altair License Management System Release Notes: 9.1 Altair License 9.0 Release Notes
Starting in HyperWorks 9.0 release, most of Altair products, including HyperWorks 9.0 applications and the PBS/GridWorks products, will be licensed under a single license system called Altair License Management System. Two main changes are made to this new system: a switch has been made from HyperWorks licenses (HyperWorks Units, or HWU) to GridWorks licenses (GridWorks Units, or GWU), and the system now has the capability to report license usage information. GridWorks Units work very much like HyperWorks Units with one main difference: one HyperWorks Unit is equivalent to 100 GridWorks Units. This change allows for the pricing of less expensive Altair products within the same unit-based licensing system. The Altair License Management system has been designed to enable HyperWorks Partner Products (selected third party products) to be licensed via GridWorks Units. As part of the license agreement that enables partner software to be used, product usage must be sent to Altair. The Altair GridWorks license package contains both the FLEXnet license manager and usage reporting tools.
New Features
GridWorks licensing The Altair licensing system now uses GridWorks Units (GWU). o o o A new feature, GridWorks, has been added for license units. 100 GridWorks units is equivalent to 1 HyperWorks unit. A new set of global license features has been added: GlobalGridWorksAM, GlobalGridWorksEU and GlobalGridWorksAP.
HyperWorks 9.0 application will recognize the GridWorks units and not the HyperWorks units.
The licensing usage monitor and reporting tools (UMT and URT) is included in the 9.0 License Manager package. UMT and URT record the usage of each feature (in GWU.unit minutes) and will send the report back to Altair on a monthly basis. The usage log files that are generated are in plain text. Licensing features for HyperWorks Partner Software are implemented in the Altair license Management system. This allows partner software to check out GridWorks units.
Partner software
The tracking features listed in the license file are now required to launch an Altair product that draw GridWorks units. Without the tracking feature, the associate Altair product will fail to invoke. New license features for HyperWorks 9.0 applications: o GridWorks o GlobalGridWorksAM o GlobalGridWorksEU o GlobalGridWorksAP o HyperGraphTrans o RadiossA o RadiossB o RadiossCheck o OptiStructCheck o ADM_NAMED o ADM_WEB_ENTRY o ADM_CONCURRENT
License Manager
License manager uses FLEXnet Publisher v10.8. License Manager has its own package and not bundled within the HyperWorks application packages. License Manager supports the platforms supported by most of Altair products recognize the GridWorks licenses, including HyperWorks.
Altair License Management System Release Notes: 9.1 Leveling/Stacking of batch applications
HyperWorks Solvers (OptiStruct, RADIOSS, and MotionSolve) that run under the same UHD (user, host, and display) will level or stack under the new licensing mechanism described below: o At the first invocation of a batch application, GridWorks Units will level against the existing HyperWorks applications. o Similarly, at the first invocation of a different batch application, the GridWorks Units still level. o The GridWorks Units stack when you invoke two or more instances of the same batch application. o When the leveled run finishes, the next invocation levels again.
Leveling and stacking are not restricted by the number of machine cores. The GridWorks Units required for each RADIOSS instance changes and is dependent on the number of machine cores.
Resolved Issues
License Manager License Manager on a Linux 64-bit machine is more robust and stable. License Manager no longer restarts when an application is invoked. License Manager now works properly with a combined license (multiple flex license file combined). altair_lm no longer fails to start on SLES 10.0 platform if the working directory of lmgrd is not writable. In this case, logging will be disabled.
Known Limitations
License Manager FLEXnet 10.8 does not support Windows Vista 32- or 64-bit platform. To make it work, replace the lmutil, lmgrd and lmtools executables from FLEXNet 11.4. The License Manager vendor daemon (altair_lm) may fail to start on Solaris and HPUX machines, due to insufficient file descriptors. Increasing the hard limit and soft limit of the maximum number of file descriptors available for the license manager (lmgrd) process to 1024 helps resolve this issue.
Vendor daemon
Altair License Management System Release Notes: 9.1 Multiple license pools There is a limitation on HyperWorks leveling when working with multiple license pools. This limitation occurs due to the following FLEXlm characteristics: o Each license pool functions independently of other license pools and cannot communicate with any other license pool. o The application tries all license servers in the order in which they are listed in the ALTAIR_LM_LICENSE_FILE or LM_LICENSE_FILE environment variables. The first available license server that can grant licenses is used for checkout. o A license pool is a collection of licenses that could consist of a single license server or a cluster of redundant servers. Within a single license pool, you can launch multiple HyperWorks applications on the same host and with the same display with the number of licenses consumed being equal to the number required by the application with the highest draw of licenses. If launching new HyperWorks applications by the same user/host/display causes licenses to be drawn from a license pool other than the one checked out earlier (perhaps because the first license pool has run out of licenses), additional HyperWorks units are checked out from the second license pool, thus stacking the licenses. For a three-server redundancy licensing setting, it is recommended to have all three servers physically located close to each other, and on the same subnet. Placing three servers in different geographical locations is not recommended by FLEXNet. When working with three server license pool configurations, licenses may be leveled on UNIX (in most cases) by setting the HW_POOL_SECURITY environment variable to 1. lmborrow option
The lmborrow option used to borrow mobile licenses only works for products that do not stack licenses. A borrowed license listed in the LMTOOLS is not automatically updated when the license expired. Manually checking the feature back in is required.
LMTools
On Windows, the GUI for lmtools ignores the following environment variables when launching lmgrd. ALTAIR_NOLOG ALTAIR_LOGFILE ALTAIR_LOG_INTERVAL As a workaround, start lmgrd from the command line.
10
This chapter introduces the Altair license management system, the key components of this system, and the mechanism of how Altair licensing works.
1.1 Introduction
Altair License Management System provides a common unit-based licensing model (GridWorks) for all Altair software - CAE, on-demand Computing, and Business Intelligence. This system comprises of two major parts: the license manager and the usage report system. The license manager is based on FLEXnet Publisher V10.8 (Also known as FLEXlm) is a set of licensing libraries provided by Macrovision Corporation. It consists of the following two schemes for license checkouts: GridWorks license: In this scheme, customers are given a fixed number of licenses for the GridWorks features. This is commonly referred to as GridWorks Units (GWUs). A GridWorks enabled Altair product, such as HyperWorks, can be launched as long as the associate tracking feature for this product is included in the license file and there are sufficient GWUs to grant the license check out. Feature licenses: Feature licenses allow a specific Altair application to run. A single license for the given feature name is checked out when feature based licenses are used. Feature licenses can be node-locked to a local machine, or a server type (floating) that is available to many machines on the network. The usage report system contains the usage monitoring tool (UMT), the usage report tool (URT) and the Altair application server (AAS). The report system extracts the application usage data from the license server and records the data to the log file(s) located on the customers system. Your company signed a new license agreement and agreed to provide certain software usage data to Altair. You may install the Altair License Management System with this usage report tools so that this monthly reporting is automated - a 'push' from you, the customer, to Altair. Or you may choose a 'man-in-the-loop' option whereby someone within your company will be responsible for reviewing the monthly report and then submitting it to Altair. The key components of an Altair license management system are: the Altair License Sever (ALS), the Usage Monitoring Tool (UMT), the Usage Reporting Tool (URT), and the Altair Application Sever (AAS).
13
Chapter 1: Altair License Management System ALS: UMT: Altair License Server, the FLEXlm license server distributed by Altair. Usage Monitoring Tool, the mechanism that will query the server and log license usage. Usage Reporting Tool, the mechanism that will send the logs back to Altair. Altair Application Server, references the application server that is deployed to accept usage logs from the customers.
URT: AAS:
Based upon Altairs partner program, a number of independent software vendors (ISVs) can provide their software to you via Altairs patented license management system. Customers who install these license enabled applications can launch these products by drawing the GridWorks units from the Altair license pool if sufficient GridWorks Units are available.
14
1.2a
The license manager daemon, lmgrd, is one of the two components (the other being the vendor daemon described below), which comprise the license server. lmgrd runs in the background and handles the initial contact with an Altair application and passes the connection to the vendor daemon, altair_lm. lmgrd also starts and maintains the vendor daemon, altair_lm. FLEXnet Publisher permits the application to use multiple license servers for redundancy on different machines. This allows some, or all, of the licenses to be available even if one or more server nodes fail.
1.2b
Each vendor who has a FLEXnet licensed product on the network has one background process on the machine where the license manager daemon (lmgrd) is running, called the vendor daemon. For Altair products, the vendor daemon is the altair_lm process. altair_lm is started automatically by the FLEXlm license manager, lmgrd, and keeps track of how many licenses are checked out, and who has them. If the altair_lm/lmgrd daemons terminate for any reason, all users of HyperWorks will be disconnected from the license server. Users will automatically regain their licenses, and not notice any difference, if the application can establish the connection with the altair_lm within fifteen to twenty minutes. If the connection cannot be established within the timeout period, the applications will prompt users to save their work and quit. Altair products (for example, HyperWorks programs) communicate with the altair_lm daemon through TCP/IP sockets. The client node (where the application runs) and the license server (the lmgrd daemon and altair_lm daemon processes) can run on separate nodes on your network. Also, the traffic between the altair_lm and the license manager daemon is machine-independent, allowing for heterogeneous networks. This means the license server and the workstation that is running the application can be different hardware platforms or different operating systems.
1.2c
A text file, called the license file, stores the licensing data. It contains information about the server nodes and vendor daemons. The general name Altair products used for this license file is altair_lic.dat. The default location of the license file is: UNIX Windows [User-defined installation directory]/altair/security/altair_lic.dat [User-defined drive]:altair\licensing9.0\security\altair_lic.dat
End users can also set the environment variable, ALTAIR_LM_LICENSE_FILE, to point to the license server serving Altair licenses. See Chapter 5, Section 7: Environment Variables for more information. If you need details on managing licenses from multiple vendors using FLEXnet Publisher, refer to the Appendix H. The license files can contain node locked or floating network licenses. Altair License Management System 9.1 Installation Guide 9.1 15
Proprietary Information of Altair Engineering
Chapter 1: Altair License Management System The network license is available to many machines on a network. It is usually called the server license which requires an active FLEXlm license manager process. The GridWorks licensing only works as a network floating license. In order for the applications to draw units from the GridWorks licensing pool, the GridWorks license file must contain the tracking features for the application. A node locked license is locked to an individual machine. There is no need to run the license manager for this type of license. Altair GridWorks feature does not work as a node locked license. The detail description of an Altair license file format can be found in Appendix C: License File Format.
The UMT runs separately from the FLEXlm license manager (two different executables). It can be started automatically at the same time as the license manager, or can be set up later. It is recommended to run the UMT and License manager on the same machine. However, you can set them on separate machines as long as proper environment variables are set. UMT Limitations The UMT relies on a system init script to start. If this fails, the UMT will not run and no data will be logged. If there is a problem with UMT operation, there is no means for Altair or the customer to learn of the breakdown until the next data report is missed. This could lead to the loss of a month or more of data. Altair License Server will continue to work even if the UMT is turned off or not functioning properly. If an application starts and ends between two successive samples, no time will be recorded for that application.
16
An Altair product or an ISV partner software will run only if an associated tracking feature is present in the license file for that product. These tracking features will also be used for usage logging. These applications will each check out GridWorks, Global GridWorks (AM, EU or AP), and tracking licenses. The same quantity of tracking licenses as GridWorks licenses will be checked out by each application. GridWorks and Global GridWorks licenses may level or stack, depending on the application. For example, HyperMesh levels and Data Manager stacks. However the tracking licenses will always stack, meaning that each instance of each application will increment the total number of tracking licenses. Example 1: If a single instance of HyperMesh is running, it will draw the following number of licenses - 2100 GWU - 2100 Global GWU(AM) - 2100 HyperMesh tracking Example 2: If one user launches two copies each of HyperMesh, HyperGraph, and MotionView on the same machine and the same display (same UHD), the server will draw the following number of licenses - 2100 GridWorks - 2100 Global GridWorks (AM) - 2100*2 = 4200 HM3D tracking - 600*2 = 1200 HG tracking - 2100*2 = 4200 MV tracking For some applications, the usage of specific user profiles (LsDynaUP, AbaqusUP, NastranUP, etc.) is tracked in the log file. These user profile tracking features do not draw any GWUs or GlobalGWUs. Applications that use user profile tracking features will check out one user profile tracking license, leveled, for each instance of the application that is using a particular user profile.
18
20
The general procedures of installing and activating the license management system are: Determine the server(s) for license manager and the usage report system. Verify there is no license manager from previous version (i.e., HyperWorks license manager) running on the servers. Download the proper package(s). Install License Management System on the designated machine(s) and, if required, install the hardware key (dongle) on the appropriate machine(s). Activate the license manager and the usage report system. Point an existing Altair product to the activated license system via the environment variable.
What you need: An access to the Altair Web site Altair License Management System CD, or images downloaded from the Altair Web site. CD drive License file (generally received via e-mail) A hostid for UNIX installations Either an Ethernet (MAC) address or a hardware key (dongle) provided by Altair Engineering, Inc. for Windows installations
22
Platform Details Linux-AMD64 SUSE Enterprise Server8 or later, RHEL3.0 or later 64 bits
altair_flexlm-9.1.hp700_u11.tar
altair_flexlm-9.1.i86_r9 .tar
altair_flexlm-9.1.it32_hp11.tar
altair_flexlm-9.1.it64_re3.tar
altair_flexlm-9.1.ppc64_se9 .tar
altair_flexlm-9.1.ppc_u4.tar
altair_flexlm-9.1.sgi32_u6.tar
altair_flexlm-9.10.sun4_u7.tar
altair_flexlm-9.1.sun64_u5.tar
altair_flexlm-9.1.x64_sun10.tar
licensing9.1_win32.exe
Windows XP
licensing9.1_win64.exe
Windows XP 64
2.2 Compatibility
In general, you cannot run two versions of Altair license managers on the same server because they use the same vendor daemon (altair_lm). Before you install the license package, make sure there is no license manager daemon (lmgrd) and Altair vendor daemon (altair_lm) running on this machine. Remove the license registration key and the environment variables (ALTAIR_LM_LICENSE_FILE and LM_LICENSE_FILE) if the license manager is running on a Windows operating system.
The license files are of two types: Network Node locked License available to many machines on a network. This is usually called the server license. It requires an active FLEXlm license manager process. License is locked to an individual machine. There is no need to run the license manager for this type of license.
24
Chapter 2: Preparing to Install Altair License Management System The following section helps you decide which machines to use for license servers.
Sockets
Each licensed application connected to a license server uses one or more sockets (two sockets are used if SAMsuite tracking is enabled in the license file). The number of sockets available to the license server is defined by the per-process system limit for file descriptors. The total number of sockets used by the license server is slightly larger than the total number needed by the licensed applications, which are served by it. If the number of sockets that are required by the license server on a single machine becomes excessive, then it is probably good to split the license file into more than one file, onto different servers, to lighten networking traffic. The client applications can then check out licenses from multiple servers using a license-file list via the ALTAIR_LM_LICENSE_FILE environment variable.
CPU Time
For small numbers of clients, the license servers use very little CPU time. The servers might have only a few seconds of CPU time after many days. For a large number of clients, or for high checkout/checkin activity levels, the amount of CPU time consumed by the server may start to become significant, although even in this case, CPU usage is normally not high. In this case, you may need to ensure that the server machine you select has enough CPU cycles to spare.
Disk Space
The license package requires about 100 MB disc space to install. The log files created by the usage report system resides in the same directory as the Altair usage report tools installed. There is at least one log file created per day. It is recommended to have 50 MB of available disk space for this monthly log files. The log files once sent to Altair will still remain on the UMT/URT server located on your site. You can either move these log files and maintain them on another machine, or reserve enough disk space on the usage report server.
Memory
The license manager daemons use little memory. The lmgrd daemon uses approximately 2 MB and the vendor daemons use approximately 2 MB each, although memory usage increases in the vendor daemon with the size of the license file, the size of the options file, and the number of concurrent users. The usage report tool, URT, requires roughly 20 MB.
Network Bandwidth
FLEXlm sends relatively small amounts of data across the network. Each transaction, such as a checkout or checkin, is typically satisfied with less than 1KB of data transferred. This means that FLEXlm licensing can be effectively run over slow networks (such as dial-up SLIP lines) for a small number of clients. For a large number of FLEXlm applications (hundreds), the network bandwidth may start to become significant. In this case, run the client application and license server on the same local area network, which may require splitting licenses between two files for two servers.
Chapter 2: Preparing to Install Altair License Management System Users can use a license file list in the ALTAIR_LM_LICENSE_FILE environment variable to have effective access to both servers.
26
If you will be installing on a Windows machine, see the software installation instructions in Chapter 4. You need super user permissions to install this software. Check with your systems administrator for your installation requirements.
This guide provides the major steps required to install and activate the license manager 9.0 and the usage report system on Linux and UNIX. For server licenses, install the Altair License Management System package on the license server machine(s). On the application servers, install the required applications. Set each client's environment variable to point to the license server(s).
3.1 Install License Manager and Usage Report System on the Same Server
Make Sure there are no earlier versions of HyperWorks license server running on this machine. Solaris 10 AMD Systems must link the x64_sun10 directory to SOLARIS. Use the following commands.
27
Consult the table listed in Chapter 1 to download the package (in tar format) that is appropriate for the machine that is served as license server. You can download the package from the Altair Web site (www.altair.com), or from the CD media sent by Altair.
28
FLEXnet Publisher is case- and space-sensitive. The license in the altair_lic.dat file must look exactly as it does in the e-mail message you receive. Save the .dat file as a text file, making sure the extension remains .dat.
You will need a GridWorks license supplied by Altair Engineering, Inc. to complete the activation process. If you do not have a license, contact your account manager at Altair Engineering, Inc. or your local Altair support office for assistance. With your request, provide the lmhostid value of your license server. 1. To obtain the host ID for the machine that hosts the license server, on the machine where the license package was installed, run the following command to get the host ID <Install_location>/altair/scripts/lmhostid 2. Verify the first word in the GridWorks license file for a server or network license is SERVER. Save the license file in the installation directory: <install_location>/altair/security/altair_lic.dat>. 3. All server licenses need correct hostname on the SERVER line(s). Open the license file, altair_lic.dat, in a text editor. Replace the hostname on the SERVER line(s) with the hostname/IP address of the license server machine(s), and save the file.
4. Replace hostname with the license server machine name or IP address For single servers, there would be only one SERVER line with hostname and port number. SERVER hostname 807d5133 7788 Port Number
For three-server redundancy servers, there are three SERVER lines. SERVER hostname 807d5133 7788 SERVER hostname 807d4132 7788 SERVER hostname 807d7138 7788 When finished, your server lines will be similar to the following example: SERVER licsera 807d5133 7788 SERVER licserb 807d4132 7788 SERVER licserc 807d7138 7788 5. Modify the port number if necessary If the port number 7788 (appearing on the SERVER line(s) in your Altair license) is used for any Port Number
Chapter 3: Installing Altair License Management System on UNIX/Linux other non-Altair application, change 7788 to another unique number on all SERVER lines. Refer to Appendix H for additional information on managing multiple license servers from different vendors. 6. Copy the modified license to all other license servers If this is a three-server redundant installation, copy the modified license to the <install_location>/security/altair_lic.dat file for the remaining license servers in the installation.
FLEXlm is case- and space-sensitive; the copied license must look exactly like the license on the server. Before starting the license daemons, remove the ./alus/utils/bin/SOLARIS directory and symlink it to the x64_sun10 directory. Before starting the license daemons, remove the ./alus/utils/bin/LINUX directory and symlink it to the ppc64_se9 directory. Solaris 10 uses a services system to run lmgrd, altair_lm, and the umt. When installing the boot scripts, after reboot in order to shut them down you will need to use this system. Killing the processes or using the altairlm.init.sh script will not work, as the services system will restart them immediately. Refer to the man pages for svcs and svcadm for information on this system.
30
Chapter 3: Installing Altair License Management System on UNIX/Linux <Install_location>/altair/security/altairlm.init.sh has been install into /etc/init.dat/altairlmgrd The Altair license Manager Daemon has been installed. Now you have completed the license installation on the server. The following processes should be running on this server: lmgrd altair_lm umt
3.2 Install License Manager and Usage Report System on Different Machines
By default the Altair License Manager Daemon and the UMT (Usage Monitoring Tools) are started (or stopped) on the same machine. However, you have choice to set them up on different machines by setting the proper values for the corresponding environment variables before starting the licensing system. Perform the following steps to set up this configuration.
32
Chapter 3: Installing Altair License Management System on UNIX/Linux ALTAIR_UMT=1 You have now completed the installation and are ready to activate the license servers. 5. Follow Section 3.1b-d to complete the activation process. 6. You should see the umt process running on this machine. 7. Reference Section 3.1e for launching Altair applications from a client machine.
34
FLEXlm is space- and case-sensitive, so make sure when the license file is copied it looks exactly like the version on the license server.
Method 1: Set up the environment variable,ALTAIR_LM_LICENSE_FILE This method sets the environment variable ALTAIR_LM_LICENSE_FILE, using the port@hostname syntax. Follow the following steps: On each UNIX client machine, issue the following command:
setenv ALTAIR_LM_LICENSE_FILE port@hostname1,port@hostname2,port@hostname3
where port is the port number. The port number in this command matches with the port number in the SERVER line in the license file on the license server. host1, host2, and host3 are the host names can be the names or the IP address of the servers. If you have only one server, use this command: setenv ALTAIR_LM_LICENSE_FILE port@hostname
Chapter 3: Installing Altair License Management System on UNIX/Linux For example: In the C shell: setenv ALTAIR_LM_LICENSE_FILE 7788@host1 In Bourne shell(and its derivatives): Export ALTAIR_LM_LICENSE_FILE=7788@host1 Export ALTAIR_LM_LICENSE_FILE Or, using the IP address on the C shell: setenv ALTAIR_LM_LICENSE_FILE 7788@101.953.23.58
36
Chapter 3: Installing Altair License Management System on UNIX/Linux If the user would like to connect to two three-server license pools, on each UNIX client machine, issue the following command:
setenv ALTAIR_LM_LICENSE_FILE port@host1,port@host2,port@host3:port@host4,port@host5,port@host6
where host1,2,3 are three redundant servers of the first license pool and host4,5,6 are three redundant servers of the second license pool. On UNIX/Linux, use : to separate two license pools (or quorums).
If you will be installing on a UNIX or Linux machine, see the software installation instructions in Chapter 3. You need Administrator permissions to install this software on Windows.
This guide provides the major steps requires to install and run Altair License Manager 9.0 as well as the Usage Monitoring Tool (UMT) and Usage Reporting Tool(URT). For server licenses, install the License Manager package on the license server machine(s). For application servers, install the required applications. Set each client's environment variable to point to the server.
4.1 Install License Manager and Usage Report System on the Same License Server
Make Sure there is no earlier versions of HyperWorks license server running on this machine.
Consult the table listed in Chapter 2 to download the package (in tar format) that is appropriate for the machine that served as license server. You can download the package from the Altair Web site (www.altair.com), or from the CD media sent by Altair.
39
5. Press next at the welcome screen. 6. Select the location you would like Altair Licensing installed to. The default is set to C:\Altair\licensing9.1\
40
7. Press next. 8. Allow Altair licensing related files to be installed and completed.
9. The Installer will now quit, and you must set up the license server. Make sure to note the name of the license server Windows Service.
Chapter 4: Installing Altair License Management System on Windows license server. 1. To obtain the disk serial number for the machine that hosts the license server, on the machine where the license package has installed, launch Start Menu/Altair Licensing 9.1 /FLEXlm Utilities
2. In the Utility windows, click the System Settings tab and note the value listed next to Disk Volume Serial Number. 3. Verify the first word in the received GridWorks license file for a server or network license is SERVER. Save the license file in the installation directory: <install_location>/security/altair_lic.dat>. 4. All server licenses need the correct hostname on the SERVER line(s). Open the license file, altair_lic.dat, in a text editor. Replace the hostname on the SERVER line(s) with the hostname/IP address of the license server machine(s), and save the file.
5. Replace hostname with the license server machine name or IP address For single servers, there would be only one SERVER line with hostname and port number. SERVER hostname 807d5133 7788 Port Number
For three-server redundancy servers, there are three SERVER lines. SERVER hostname 807d5133 7788 SERVER hostname 807d4132 7788 SERVER hostname 807d7138 7788 When finished, your server lines will be similar to the following example: SERVER licsera 807d5133 7788 SERVER licserb 807d4132 7788 SERVER licserc 807d7138 7788 6. Modify the port number if necessary If the port number 7788 (appearing on the SERVER line(s) in your Altair license) is used for any other non-Altair application, change 7788 to another unique number on all SERVER lines. Refer to Appendix H for additional information on managing multiple license servers from different vendors. 7. Copy the modified license to all other license servers If this is a three-server redundant installation, copy the modified license to the <install_location>/security/altair_lic.dat file for the remaining license servers in the installation. Port Number
!
42
FLEXlm is case- and space-sensitive; the copied license must look exactly like the license on the server.
Chapter 4: Installing Altair License Management System on Windows If needed, use the respective Browse buttons to specify the path names. The path names should be similar to the following: Path to the lmgrd.exe file: <install_location>\security\bin\win32\lmgrd.exe Path to the license file: <Install_location>\security\altair_lic.dat Path to the debug log file: <install_location>\security\bin\win32\lmgrd_debug.log 3. Click the options Use Services and Start Server at Power Up (appears when Use Services option is checked). 4. Click Save Service. 5. If prompted Would you like to save the settings fro the service: FlexLm Service 1 Click Yes. 6. Go to the Start/Stop/Reread tab. 7. Click Start Server.
Window XP Service Pack 2 Users Servers that run on Windows XP, Service Pack 2 with a built-in firewall will encounter an error when you attempt to start the license server. The vendor daemon will attempt to start, and then quit in a few seconds. Due to the built-in firewall, the status displayed in the lmgrd debug log is 28. To work around this error, perform the following procedure: 1. Select two static TCP ports (one for the SERVER line and one for the VENDOR/DAEMON line). 2. Specify the two port numbers in the license file. For example, if ports 31000 and 31005 are selected, then the license file will read as follows: SERVER xp_sp2 hostid 31000 VENDOR altair_lm "c:\Altair\license9.0\security\bin\win32\altair_lm.exe" port=31005 FEATURE ...... FEATURE ...... 3. Manually configure the Windows firewall to add TCP port exceptions for the selected ports.
Refer to Microsoft documentation for additional information on how to add port exceptions for built-in firewalls. See http://support.microsoft.com/default.aspx?kbid=875357#7.
44
5. Click Perform Status Inquiry. If the service started correctly, a status message is displayed. Review each license server as well as the vendor daemon to show a status of UP. If the daemons are not running, see Chapter 5, Section 2, FLEXnet.
2. You will be asked if the license server is currently running on the machine.
3. Click the radio button for Yes, and press Next. You will be presented with a screen requiring the name of the license service. Enter it here.
4. You will be asked if you would like to establish communications. Answer Now to this question if you want to setup proxy information for the UMT. If you answer Later you will need to setup the UMT on another server or manually edit the configuration file later and installation will now finish.
46
5. You are now asked if you would like to use HTTP or HTTPS to connect to the internet. Choose HTTPS if you would like communication to be encrypted, or HTTP if you prefer information to be clear text.
6. Next you will be asked if you want to setup a proxy, if you select No then no proxy will be setup. If you select Yes you will be prompted for the various values necessary to utilize the proxy setup at your site.
7. The next page will ask you for your proxy host and port values. A default port of 80 is entered for you, this is the most common value and you will only need to change it if your proxy uses a different port
48
4.2 Install License Manager and Usage Report System on Different Machines
By default the Altair License Manager Daemon and the UMT (Usage Monitoring Tools) are started (or stopped) on the same machine. You can also set them up on different machines following these steps:
Make Sure there is no earlier version of HyperWorks license server running on this machine.
Consult the table listed in Chapter 1 to download the package that is appropriate for the machine that served as the usage tracking tools. You can download the package from the Altair Web site (www.altair.com), or from the CD media sent by Altair. On the machine where the usage report tool will be running, 1. Follow the steps outlined in Chapter 4 Section 1.a to finish the software installation. 2. Follow the steps in Chapter 4 Section 1.f to set up and activate the usage report tools.
50
Chapter 4: Installing Altair License Management System on Windows 3. Follow Chapter 4 Section 1.f Step 2; click no since the license server is not on this machine. 4. Now you are finishing setting the UMT machine. 5. On the Altair License Manager server machine, go to the Service control panel (Start >> Control Panel >> Administrative Tools >> Services). Select the service named Altair UMT and then right-click and select Properties from the context menu. Then change the startup type from Automatic to Manual. You may stop the service now if it is already running.
Chapter 4: Installing Altair License Management System on Windows 6. Under User Variables:, select ALTAIR_LM_LICENSE_FILE. 7. For Value: enter the port@host settings from the SERVER lines in this format: port@host1 where port is the port number from the server line and host is the machine name or IP address of each server. The example of a completed entry for Value: for a single server license pool is 7788@host1 The example of a completed entry for Value: for a three-server licensing pool is 7788@host1,7788@host2,7788@host3 If pointing to two independent license pool, use ; to separate the values of these two license pools. For example, the completed entry for Value: for two single-server licensing pools is 7788@host1:7788@host2 The completed entry for Value: for two three-server licensing pools is 7788@host1,7788@host2,7788@host3;7788@host4,7788@host5,7788@host6
FLEXlm is space- and case-sensitive, so make sure when the license file is copied it looks exactly like the version on the license server.
This method also applies to a local installation with standalone node-locked type licensing if the license file is stored on this machine but not in the <install_location>\security\ directory.
1. Copy the license from the license server into one clients file: <install_location>\security\altair_lic.dat 2. Keep all of the SERVER lines and remove all of the other lines. 3. Add this line to the end of the file: USE_SERVER Your completed license file will be similar to the following example for single-server installations. SERVER licsera 807d4212 7788 USE_SERVER Your completed license file will be similar to this example for three-server installations:
52
Chapter 4: Installing Altair License Management System on Windows SERVER licsera 807d4212 7788 SERVER licserb 807d6497 7788 SERVER licserc 807d3261 7788 USE_SERVER 4. Save the file. 5. Copy the edited file onto all remaining clients in their license file: <install_location>\security\altair_lic.dat.
55
Chapter 5: Operations and Maintenance When is three-server redundancy recommended? It is recommended when there is a license administrator monitoring the license servers. This is because for the three-server redundancy to function, at least two servers need to be up at any given time (known as the quorum). When is three-server redundancy discouraged? When there is less system administration available to monitor license servers. When the system should be more lenient if the quorum is lost. When load-balancing is needed for FLEXlm-licensed applications located far apart (London and Tokyo, for example).You can make servers available locally, with remote servers available as backup. The list of servers need not be limited to three. When the software relies on a single host. In this case, there is a single point of failure, and redundant FLEXlm servers only complicate administration and do not add any redundancy to the overall system. Is it OK to NFS-mount license files when using redundant servers?
We do not recommend running the license manager or accessing the license file from an NFS mounted directory in any situation.
Example: Suppose a customer wants 20 licenses for feature f1. The license distributor can ship two license
56
Chapter 5: Operations and Maintenance files for 10 licenses each of f1, each with one SERVER line, for two different hostids. For example: License File 1: SERVER node1 12345678 2837 DAEMON demo /usr/local/flexlm/demo FEATURE f1... License File 2: SERVER node2 87654321 2837 DAEMON demo /usr/local/flexlm/demo FEATURE f1... On UNIX the user sets ALTAIR_LM_LICENSE_FILE to file1:file2 (or 2837@node1:2837@node2). When a checkout for f1 is attempted, it first attempts a checkout from node1. If this fails for any reason, a checkout is attempted from node2. For Windows: Use a semi-colon (;) to separate license paths.
lmutil
lmutil is the main FLEXnet Publisher license management utility. The commands under lmutil for which Altair Engineering provided scripts are lmborrow,lmdiag, lmhostid, lmnewlog, lmpath, lmremove, lmreread, lmstat, lmswitch, lmswitchr, and lmstat. The Altair scripts use the same name as the lmutil command. For UNIX installations, the scripts for these commands are located in the <install_location>/altair/scripts directory. For Windows installations, execute lmtools.exe located in the <install_location>\security folder. The following table lists the various utilities and their functions. For the complete command syntax for these utilities, see Appendix G. Utility lmborrow Description lmborrow supports borrowing of server licenses. It must be run on the client machine where licenses are borrowed. It is used to perform the following: Initiate borrowing by setting the borrow period. Clearing the borrow period. Determining the borrow status. Returning a borrowed license early.
lmdiag
Allows you to diagnose problems when you cannot check out a license.
lmhostid
Reports the hostid of a system. The output of this command looks as follows: lmutil - Copyright (c) 1989-2003 by Macrovision Corporation. All rights reserved. The FLEXlm host ID of this machine is "8044316e"
58
Chapter 5: Operations and Maintenance Utility lmnewlog Description Switches the report log file by moving the existing report log information to a new file, then starts a new report log with the original report log file name. If you rotate report logs with lmnewlog instead of lmswitchr, you do not have to change the file name in the REPORTLOG line of the Altair license manager's options file. Allows direct control over FLEXnet license path settings. It is used to add to override, or to get the current license path settings. Allows you to remove a single user's license for a specified feature. If the application is active, it rechecks out the license shortly after it is freed by lmremove. Causes the license manager to reread the license file and start any new vendor daemons that are added. In addition, all currently running vendor daemons are signaled to reread the license file and their end-user options files for changes in feature licensing information or option settings. Helps you monitor the status of all network licensing activities, including: Daemons that are running License files Users of individual features Users of features served by a specific vendor daemon Switches the debug log file written by altair_lm by closing the existing debug log and starting a new debug log with a new file name. It also starts a new debug log file written by altair_lm if one does not already exist. Switches the report log file written by closing the existing report log and starting a new report log with a new file name. It also starts a new report log file if one does not already exist. Reports the FLEXnet version of a library or binary file.
lmpath
lmremove
lmreread
lmstat
lmswitch
lmswitchr
lmver
Chapter 5: Operations and Maintenance Options files allow you, as the license administrator, to be as secure or open with licenses as you like.
List of options
Following is the list of available options. See Appendix G for the syntax for the option you wish to use. Option Keyword BORROW_LOWWATER DEBUGLOG EXCLUDE EXCLUDE_BORROW EXCLUDEALL FQDN matching GROUP Description Sets the number of BORROW licenses that cannot not be borrowed. Specifies a location for the debug log output from altair_lm. Denies access to feature for a user or pre-defined group of users. Denies a user the ability to borrow licenses. Denies access to all features for a user or pre-defined group of users. Sets the level of host name matching. Defines a group of users for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines.
60
Chapter 5: Operations and Maintenance GROUPCASEINSENSITIVE The values are OFF or ON. If set to ON, user names and host names specified with the options file GROUP and HOST_GROUP keywords, respectively, are treated as case insensitive. GROUPCASEINSENSITIVE is OFF by default; user names and host names are treated as case sensitive. Defines a group of hosts for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines. Multiple HOST_GROUP lines add all of the specified hosts into the group. Allows a user or a pre-defined group of users to access a feature. Allows a user to borrow licenses. Allows a user or a pre-defined group of users, etc., to access all features served by altair_lm. Anyone not in an INCLUDEALL statement is not allowed to use these features. Limits usage of a particular feature for a group or user. Changes the maximum borrow period for a specified feature. Limits OVERDRAFT license below the OVERDRAFT allowed by the license file. Suppresses logging selected type of event in the debug log file. Specifis the report log file for altair_lm, which is used by SAMreport. It is recommended preceding the report_log_path with a + character to append logging entries, otherwise the file is overwritten each time altair_lm is started. On Windows, path names, which include spaces, have to be enclosed in double quotes. SAMreport, a separate product available from Macrovision, is used to process FLEXlm report log files. SAMreport processes only report log files, not debug log files. Reserves licenses for a specific user. Any licenses reserved for a user are dedicated to that user. Even when that user is not actively using the license, it is unavailable to other users. However, a RESERVEd license does not cause usage to be reported by SAMreport if the license is not actually in use.
HOST_GROUP
RESERVE
Chapter 5: Operations and Maintenance precedence. INCLUDE and EXCLUDE statements can be combined in the same options file and control access to the same features. When doing so, keep the following in mind: 1. If there is only an EXCLUDE list, everyone who is not on the list will be allowed to use the feature. 2. If there is only an INCLUDE list, only those users on the list will be allowed to use the feature. 3. If neither list exists, everyone is allowed to use the feature. 4. The EXCLUDE list is checked before the INCLUDE list; someone who is on both lists will not be allowed to use the feature. Once you create an INCLUDE or EXCLUDE list, everyone else is implicitly outside the group. This feature allows you, as an administrator, the ability to control licenses without having to explicitly list each user that you wish to allow or deny access to. In other words, there are two approaches; you can either: Give most users access and list only the exceptions Or Severely limit access and list only the those users that have access privileges
Chapter 5: Operations and Maintenance james from using the feature called toothbrush: # First define the group "Hackers" GROUP Hackers bob howard james # Then exclude the group EXCLUDE toothbrush GROUP Hackers Now when you want to allow or deny access to any feature to that group, you have an alias list to make it simple. You can use HOST_GROUP to allow, deny, or reserve licenses for multiple hosts. For example, to exclude all users logged in on the hosts fred and barney from using a feature called f1, add these lines to your options file: HOST_GROUP writers fred barney EXCLUDE f1 HOST_GROUP writers Note See Appendix G, GROUP, and HOST_GROUP, for more information about defining groups.
EXCLUDE example
#First Define the group "painters" GROUP painters picasso mondrian klee EXCLUDE spell GROUP painters EXCLUDE spell USER bob EXCLUDE spell INTERNET 123.123.123.* This options file would: Prevent the users picasso, mondrian, and klee from using the feature spell on any machine on the network. Prevent the user bob from using the feature spell on any machine on the network. Prevent any user logged into a host with an IP address in the range 123.123.123.0 through 123.123.123.255 from using the feature spell. Allow any other user, as long as they are not on the excluded IP addresses, and they are not a member of the painters GROUP, and they are not bob, to use feature spell (by implication). Note that bob could have been added to the group painters. However, painters might be used for some other purpose in the future so the license administrator chose to handle bob as a special case here. In this case, the two EXCLUDE statements concatenate to create a list of four users. INCLUDE example INCLUDE paint USER picasso INCLUDE paint USER mondrian INCLUDE paint HOST bigbrush This options file would: Allow the user picasso to use the feature paint on any machine on the network. Allow the user mondrian to use the feature paint on any machine on the network. Allow any user, as long as they are on the host bigbrush, to use feature paint. Deny access to the feature paint to anyone except picasso, mondrian, or anyone from the host bigbrush (by implication).
5.4b
On Windows
1. Execute <install_location>/security/lmtools.exe. 2. Click the Service/License File tab. 3. Click the Configuration using Services option to activate it. 4. Click the Start/Stop/Reread tab. 5. Click Stop Server. 6. Click File. 7. Click Exit to close LMTOOLS.
64
5.5 Setting up Server for Automatic Start of the License Manager upon Reboot (Optional)
If you want the license manager process to come up automatically on reboot and you did not install as root (super user), follow the instructions specific to the operating system you are using. For UNIX: Run the script <install_location>/altair/security/install_altairlm (written to disk during the license server installation). You must run this script as root on the machine where the license manager process will run.
Chapter 5: Operations and Maintenance For Windows: 1. Log onto the machine as Administrator. 2. Execute <install_location>/security/lmtools.exe. 3. Click the Service/License File tab. 4. Click the Configuration using Services option. 5. Click the Configure Services tab. 6. Select the service name for the HyperWorks FLEXnet license service. 7. Click the options Use Services and Start Server at Power Up to activate them. 8. Click File. 9. Click Exit. A message is displayed stating "Would you like to save the settings for the service: <Service Name>". 10. Click Yes. LMTOOLS closes.
66
Chapter 5: Operations and Maintenance 3. The applications for which licenses are being borrowed should be HyperWorks 8.0 and above only. 4. Licenses can only be borrowed for applications that do not stack licenses. 5. HyperWorks 8.0 applications need to be installed on machines that will borrow licenses.
b. Use the command line utility lmutil lmborrow: Type lmutil lmborrow altair_lm <end date> <end time>
c. Set LM_BORROW environment directly use the following syntax: <today>:altair_lm:enddate[:time] where today: Todays date is in the format dd-mm-yyyy. Any checkouts done on this date create local borrow information. If a check out is done on a date other than this date, no borrowing information is created. Date the borrowed license is to be returned in dd-mm-yyyy format. Optional time is specified in 24-hour format (hh:mm) in the FLEX enabled applications local time. If time is unspecified, the checkout lasts until the end of
enddate: time
Chapter 5: Operations and Maintenance the given date. For example: set LM_BORROW=11-aug-2006:altair_lm_13-aug-2006:13:00 The above sets the licenses to be borrowed on 11-aug-2006. The borrowed licenses will be returned to the central license server on 13-aug-2006 at 1 PM. 2. Running the application: Run all the applications that the licenses need to be borrowed for. For example, if licenses for HyperMesh and MotionView need to be borrowed, open the applications HyperMesh and MotionView. Note: in the above example, even though 21 licenses will be borrowed from the license server, HyperGraph cannot be run on the client with a borrowed license, as the application was not explicitly borrowed. 3. Clear the borrow period: Once all the licenses have been borrowed prevent licenses for any additional features from being borrowed by running lmborrow clear. This clears the LM_BORROW setting in the registry (Windows) or $HOME/.flexlmborrow (UNIX). Lmborrow clear does not clear the local information about licenses that are already borrowed.
68
ALM_EXPIRE_DAY_WARNING
ALM_NO_EXPIRE_WARNING
ALTAIR_LM_LICENSE_FILE
ALTAIR_LOGFILE
ALTAIR_LOGINTERVAL
ALTAIR_NOLOG
FLEXLM_DIAGNOSTICS
Chapter 5: Operations and Maintenance Variable HW_POOL_SECURITY (UNIX only) LM_BORROW LM_LICENSE_FILE Description When set, this environment variable levels HyperWorks units across three-server license pools. Used for initiating license borrowing and setting the borrow period. Sets the path to the license file. Multiple license files can be combined using ':' on UNIX and ';' on Windows. This variable can be set on client and server machines. All applications will first use the license files/servers set by ALTAIR_LM_LICENSE_FILE before attempting checkouts on license files/servers set by LM_LICENSE_FILE. Used in the SAMreport for usage logging. The value set should be 30 characters or less. Used to set the highest file descriptor value, above which the license server will not access. Improves FLEXnet license server system performance when processing license requests. Set to 1 to enable performance enhancements. Use with caution: when enabled, it may cause an increase in network traffic.
Registry Setting (Windows only) On Windows, the FLEXlm registry is at HKEY_LOCAL_MACHINE->Software->FLEXllm License Manager ->ALTAIR_LM_LICENSE_FILE
Troubleshooting
a. Why does the vendor daemon altair_lm die soon after the FLEXnet license server is started on UNIX?
This may be due to a port number already in use or an existing lockaltair_lm file. Sometimes when the lmgrd goes down or is killed the port status remains active or in use because the operating system does not release the port in a timely manner. If the port number is already in use, then either wait for the port to free or go to the installation instructions, license file section for instructions to change the port number in the SERVER line of the
70
Chapter 5: Operations and Maintenance license file to eliminate conflicts. This lockaltair_lm lock file exists when the vendor daemon is running. The file is removed when the vendor daemon is shut down. Sometimes, if the daemon is shut down by a fatal error, the lockaltair_lm file still exists. This file cannot exist before the daemon is restarted. Remove the lockaltair_lm file and restart FLEXnet as follows: 1. Go to the license server machine. 2. At the UNIX prompt, enter the following: ps -ef|grep lmgrd The "|" is the pipe sign. The lmgrd process is returned. 3. Kill all Altair HyperWorks lmgrd processes by typing the following at the UNIX command prompt: kill <lmgrd process ids> 4. At the UNIX prompt, enter the following: ps -ef |grep altair_lm. The altair_lm process is returned. 5. Kill all Altair HyperWorks altair_lm processes by entering the following at the UNIX command prompt: kill <altair_lm process ids> 6. Look for a lockaltair_lm file in the following directories: /tmp/ /etc/ /var/ /usr/ /tmp/usr 7. Delete the lockaltair_lm file. 8. Restart FLEXnet. See the instructions in Chapter 2.
b. HyperWorks and the license seem to be installed correctly, but the lmgrd script does not start the FLEXnet license server. What else can I do to try to start FLEXnet?
Try starting the FLEXnet license server manually. Prior to this, kill any existing HyperWorks lmgrd or altair_lm processes. See Bringing down a FLEXnetservice in Chapter 4, Section 5. Also, make sure that a lockaltair_lm file does not exist. See the previous section.
Maintenance
a. License File Maintenance
Whenever a major release of HyperWorks software occurs, a new license file needs to be obtained from Altair Engineering. Major releases follow the format #.0 where # represents the version number. For example: 8.0 is a major release. Periodically, Altair will release what is called a service pack. These releases are upgrades of the software and, in general, do not require a new license file. In general, the license is backward compatible in that the license for the newest version of HyperWorks will run the previous versions applications. The license for the previous version of HyperWorks applications is incompatible with the newest version of HyperWorks applications. If you install the newest version of the server license, you will also need to install the latest version of the FLEXlm license manager.
72
Chapter 5: Operations and Maintenance 3. Edit the new altair_lic.dat file by replacing hostname in the SERVER line with the server machine's IP address. For redundant server licenses, do this for each SERVER line in the license file. 4. Execute <install_location>/security/lmtools.exe or select Start Menu/Programs/Altair Licensing 9.0/FLEXlm Utilities.
5. In the LMTOOLS dialog, click the Start/Stop/Reread tab. 6. Click the Reread License File button. 7. The license daemon rereads the license file altair_lic.dat. If the reread is successful, a message at the bottom of the dialog box states "Reread Server License File Completed." If the reread is unsuccessful, shut down the server(s) and restart them. If the restart fails, call Altair Support with the error message. 8. Click File. 9. Click Exit to close LMTOOLS. If the altair_lic.dat file resides on client machines, replace it with the server machine's updated altair_lic.dat file.
GridWorks Units licensing has these characteristics. Uses a server license The licensing client and server require at least one of the following global license features pertinent to its time zone. GlobalGridWorksAM allows license usage in the American Global Zone (AM). GlobalGridWorksEU allows license usage in the European Global Zone (EU). GlobalGridWorksAP allows license usage in the Asia Pacific Global Zone (AP). Specifies the number of GridWorks units purchased. Allows simultaneous sessions of an application for the same display, host, and user with a single license for most applications. Serves multiple Altair Products as long as there are sufficient units available in the license pool. Depending on the products, the GridWorks units are leveled, rather than stacked, for the
75
Chapter 6: Altair GridWorks Licensing same user, host, display combination. The quantity of GridWorks units a customer purchases forms the units pool. The license server keeps tracking the total quantity of units the customer purchased and how many of those units are currently being used by each user. When a user requests the initial application, the required units for that application are pulled from this pool. When too few units remain, additional start requests are denied. Units used follow one of two concepts-leveling or stacking. When an application levels units, a single user/host/display (UHD) combination can open multiple sessions of the same application, and applications without consuming any extra licenses, as long as the number of licenses required is less than or equal to what has already been checked out by this user/host/display. So, for example, if HyperMesh is launched by a specific user/host/display combination, the same user/host/display can run the applications like HyperView, MotionView, HyperGraph, HyperGraph 3D, and any other HyperWorks applications that uses 2100 GridWorks units or fewer. No additional licenses are pulled in this case. If the same user/host/display now launched HyperStudy, an additional 1700 units will be taken from the license pool instead of 3800 units, as 2100 units have already been checked out. Most HyperWorks applications level units. Some HyperWorks applications stack licenses, rather than level them. When an application stacks units, the full amount of units will be checked out from the license pool. Additional licenses are needed in order to run concurrent sessions of the application. So, for example, if a user/host/display launches HyperMesh and one session DataManager, 2500 (2100+400) units will be used.
Feature Batch Mesher Data Manager DistributedLoadMapper HyperCrash FEModel HarnessLinkBuilder HarnessLinkConnCatalog HarnessLinkDatabase HarnessLinkViewer 76
Units 2100 400 100 2100 2100 6000 2100 2100 2500
HarnessLinkWebEntry HyperForm3D HyperGraph HyperGraph3D HyperMesh3D HyperStudy HyperStudyDSS HyperView HyperViewPlayer HyperXtrudeFEA HyperXtrudePre MediaView MotionSolve* MotionView OptiStruct* OptiStructAdvA** OptiStructFEA* OptiStructMulti ** ProcessManagerApp ProcessStudio
200 2100 600 2100 2100 3800 3800 2100 100 5000 1000 600 3800 2100 5000 3800 2500 6000 1000 5000 The unit count for RADIOSS depends on the number of CPUs used for a job. The unit count for RADIOSS depends on the number of CPUs used for a job. UNIX only
RadiossA
2500***
* Using HyperWorks Solver licensing stacking rules. ** OptiStructMulti feature is checked out when an "optimization" model is submitted with nproc=x or cpu=x;
x>1. This feature follows both the rules of stacking and the rules for multiple processors. OptiStructMulti
*** The number of GridWorks Units required to run a RADIOSS job is dependent on the machine CPU
numbers the RADIOSS job uses.
78
Server Location
Client Location
GlobalGridWorksAM
GlobalGridWoksEU
GlobalGridWorksAP
80
Server Location
Client Location
GlobalGridWorksAM GlobalGridWorksEU
GlobalGridWorksEU GlobalGridWroksAP
GlobalGridWorksAM GlobalGridWorksAP
Server Location
Client Location
GlobalGridWorksAM GlobalGridWorksEU
Appendix A: Glossary
Definition Altair Application Server, references the application server that is deployed to accept usage logs from the customers. Altair License Server, the FLEXlm license server distributed by Altair. An application program requesting or receiving a license. A background process that usually performs some function such as license verification or document printing. On Windows they are known as Services. A piece of hardware that looks like a printer plug with pins on one side and holes on the other or a USB plug. It is mounted on the printer port (or USB port) and used as part of the licensing activity on Windows. It accepts standard printer plugs so it may be daisychained with other locks and printer cables. Also known as a hardware key. A license to operate a specific product or products. Available as a node-locked or server license. The ID of a hardware key. See section 3.2 for instructions to obtain this value which is required for Windows licenses. Software from Macrovision that manages licensing. For Altair software products, like HyperWorks, it uses the license to authorize the use of applications. New version of software from Macrovision that manages licensing. For Altair software products such as HyperWorks, it uses the license to authorize the use of applications. A license for concurrent (network) users. Allows users to share licenses across a network. The new license system that replaces HyperWorks Units license. It works very similar to the HyperWorks Units system. Depending upon the number of purchased units (licenses), one or more applications in the suite may be activated simultaneously by one or more users. The license file contains a SERVER line, DAEMON line, and one or more FEATURE lines in the license designating Altair applications. One HyperWorks Unit is equivalent to 100 GridWorks Units
Dongle
FLEXnet
82
Appendix A: Glossary Term Hardware key Definition A piece of hardware that looks like a printer plug with pins on one side and holes on the other. It is mounted on the printer port and used as part of the licensing activity on Windows. It accepts standard printer plugs so it may be daisy-chained with other locks and printer cables. Also known as a dongle. Depending upon the number of purchased units (licenses), one or more applications in the suite may be activated simultaneously by one or more users. The license file contains a SERVER line, DAEMON line, and one or more FEATURE lines in the license designating HyperWorks applications. HyperWorks Units license system is used in HyperWorks 8.0 and older version. See Hardware key. Allows a user to launch from the same host and display multiple GridWorks applications and consume only the number of units (licenses) required by the application with the highest draw. For example, a user can run HyperMesh at 2100 GridWorks units and as many other applications requiring 2100 or fewer units as desired without additional units being charged. The authorization to use Altair products such as HyperWorks and PBS Professional. Two types of licenses are available with Altair products, server and node locked (for single machines only). See each license type for more information. A file distributed with the software that enables/restricts usage of specified products. Contains encrypted code using the hostid, Ethernet (MAC) address, or flexid to identify the users machine as authorized to access applications in HyperWorks. See license file. An application that uses the daemons lmgrd and vendor to handle license verification. A physical device on which the license server manager is installed. Multiple servers across a wide network with the capability of granting licenses. See section 4.10 Server configurations for more details. The license manager daemon that directs license requests to the specific vendor daemon. The name of the system that has FLEXlm installed on it. See section 2.2 for instructions on obtaining this value which is required for UNIX license. A version of HyperWorks with a number format of #.0 where # represents the version (8.0, for example). A new license is required for a major release. The license that applies to one machine only. Depending upon the type of license purchased, there may be one to many FEATURE lines in the license. At least three servers configured to serve HyperWorks software and/or licenses. Two configurations are possible: three-server or license server list.
Key Leveling
License
License file
License key License manager License server License server list lmgrd lmhostid
Major release
Node-locked license
Redundant server
Appendix A: Glossary Term Server license Server node Services Definition A license allowing multiple users to be served permissions to access HyperWorks applications. The first word in the license is SERVER. Computer system running the license server software. In Windows, Daemons are referred to as Services. A background process that usually performs some function such as license verification or document printing. In certain situations, HyperWorks Units from one product are combined with the units from another product. For example: HyperWeb requires 2 units stacked. If a user ran HyperMesh (21 units) concurrently with HyperWeb from the same host and display, the user would consume 23 units. Using three servers on the same sub-net to authorize licenses. Usage Monitoring Tool, the mechanism that will query the server and log license usage. Usage Reporting Tool, the mechanism that will send the logs back to Altair. Daemon/service/server that dispenses licenses.
Stacked
84
85
Look at the first line in your license file. If the first word is SERVER, the license is a server license; if the first three lines have SERVER as their first word, then it is a redundant server license. If the first word is FEATURE, it is a node-locked license (typically used for a stand-alone machine).
87
88
SERVER Line
The SERVER line specifies the node name and hostid of the license server, and the TCP port number of the license manager daemon, lmgrd. You do not have the option of deleting a SERVER line from a license file since its hostid is used to create the encrypted license key on all FEATURE and INCREMENT lines. The following example shows the format of a SERVER line:
node name
Also known as the hostname. This field can be edited by the license administrator. It should be the string returned by the UNIX hostname or uname -n commands, or an IP address in the format of ###.###.###.###. IP address is recommended for sites where NIS or DNS have trouble resolving a host name or if a server has multiple network interfaces, thus having multiple host names. On UNIX, the string returned by the lmhostid command. For Windows, it is the FLEXid number on the hardware key (dongle) or the Ethernet (MAC) address. See the installation chapters on your specific platform for instructions to obtain this value. The customer cannot modify this field. TCP port number used by the FLEXlm license server process. Only one license server process can run on a port at one time. Modify this number only when your site has multiple license processes. If modified, we recommend the new number be greater than the original number. By default, the port number in license files issued by Altair Engineering is 7788.
hostid
port-number
VENDOR Line
The DAEMON line specifies the vendor daemon name and the optional path names for the vendor daemon executable and the options file. The format of the DAEMON line is shown in the example below with optional items appearing in brackets.
The name of the vendor daemon used to serve some FEATURE(s) in the file. Not modifiable by the customer. The path name to the executable for this daemon. The UNIX default path name is <install_location>/altair/security/<FLEXlm version>/bin/<platform>/altair_lm. The Windows default path name is <drive>:\<install_location>\security\altair_lm.exe. You are free to install the daemon anywhere. However, if it resides in the default installation directory, you are not required to specify its path name on the DAEMON line.
Appendix C: License File Format options_file_path The fully qualified path name of the end-user specified options file for this daemon. An options file is not required. If a daemon_path is not specified and an options_file_path is needed, precede the options_file_path with the key word options=. See the options file (Appendix G) for more detail. This is the vendor daemon port. If a client is connecting to lmgrd/altair_lm through a firewall, a port number must be specified. By default, if the <port> number is not specified, it is chosen by the operating system at run time. If a <port> is specified, there may be a delay restarting altair_lm until all of the clients have closed their connection with altair_lm.
firewall_port
These three variables must to be added after the altair_lm in the following order: Vendor daemon path, option file path, firewall Port. If you only want to specify one or two paths, additional option= or port= needs to be added in front of the path. For example, VENDOR altair_lm options=C:\options\altair_lm.opt port=8800 VENDOR altair_lm options=C:\options\altair_lm.opt VENDOR altair_lm port=8800 An option file will be taken into account automatically without adding it to the license file if it is named altair_lm.opt and placed in the same directory as the Altair license file.
90
Appendix C: License File Format the server. 6. Copy the license file from the license server to a client machines file: <install_location>/altair/security/altair_lic.dat 7. Keep all SERVER lines and remove the remaining lines in the license file. 8. Append the line USE_SERVER and save the modified license file. Your edited license file will be similar to this example for single server license installations: SERVER 101.953.23.67 807d4688 7788 USE_SERVER Your edited license file will be similar to this example for three-server license installations: SERVER 101.953.23.23 807d6754 7788 SERVER 101.953.23.85 807d3574 7788 SERVER 101.953.23.98 807d9214 7788 USE_SERVER 9. Copy this modified file to all remaining client machines file: For UNIX: <install_location>/altair/security/altair_lic.dat For Windows: <install_location>\security\altair_lic.dat
-15
-16
93
Appendix D: FLEXlm Error Message Error code -17 -18 Description/cause/workaround Cannot connect to the license server. Cannot write data to license server. License server does not support this feature. The feature has expired (on the server), or has not yet started, or the version is greater than the highest supported version. If the -license file has multiple lines with the same feature name, make sure that the line with the highest version number comes first in the license file. System error. Error in select system call. License file does not support this version. Cannot connect to the license server. License server is temporarily busy (new server connecting). altair_lm is in the process of establishing a quorum condition. New requests from clients are deferred during this period. This request should be retried. License server does not support this version of this feature. Request for more licenses than this feature supports. Cannot find Ethernet device. The license file cannot be read (errno == EPERM or EACCES). The feature is not enabled yet in the license file. No such attribute. Cannot communicate with the license server. Clock difference is too large between the client and the server. Cannot communicate with the license server. This is an internal license server error. The user/host/display has been excluded from this feature by an end user's vendor daemon options file. The user/host/display has NOT been included in this feature by an end user's vendor daemon options file. System error. Cannot locate dynamic memory. Feature was never checked out. Invalid parameter System error. Clock setting check not available in daemon. Cannot connect to the license server. altair_lm did not respond within timeout interval. System error. socket() call failed. This can occur when the UNIX OS runs out of system resources. The setsockopt() call has failed. This is likely due to an OS error. Cannot communicate with the license server due to poor networking communications. Server message checksum failure.
-25 -26 -29 -30 -31 -32 -33 -34 -36 -38 -39 -40 -41 -42 -47 -52 -57 -58 -59 -60
94
Appendix D: FLEXlm Error Message Error code -61 Description/cause/workaround Cannot read license file data from server. This occurs when the license file, via LM_LICENSE_FILE is defined incorrectly. This only occurs in lmutil when LM_LICENSE_FILE is set to port@host or @host. System error. Network software (TCP/IP) not available. Some systems may have this problem, but the error will not be reported as LM_NONETWORK -system calls will simply fail. You are not a license administrator. Various functions, such as lc_remove() and lc_shutdown(), require the user to be a license administrator, depending on how lmgrd was started. lmremove request before the minimum lmremove interval (120 seconds). Invalid TZ environment variable. Attempt to read beyond end of license file path. An error occurred with the list of license files. Internal FLEXlm error - please report to Macrovision software. Invalid license file syntax. License server needs to be updated. FLEXlm version of the client is newer than the license server. USER_BASED license has no specified users -- see server log. When a feature has the USER_BASED attribute, this error occurs when there is no INCLUDE line in the end-user options file for this feature, or the number or users included exceeds the number authorized. License server does not support this request. The license server (lmgrd, altair_lm) has an older FLEXlm version than the client. The license server needs to be updated. Checkout exceeds MAX specified in the options file. System error. System clock has been set back. Invalid license file syntax: Future license file format or misspelling in license file. Checkout failure due to two possible causes: 1) The feature is removed during lmreread, but the client is reading an old copy of the license file, which still has removed feature. 2) The hostid on the SERVER line is for a different host, so all features in this license file were removed. Cannot connect to the license server specified in the license file. Network connect to this_host failed. Change this_host on the SERVER line in the license file to the actual host name. Cannot connect to the license server. The entire server system is down or not responding on this node. See the system administrator about starting the server or make sure that you are referring to the correct host in ALTAIR_LM_LICENSE_FILE and LM_LICENSE_FILE. Cannot connect to the license server. altair_lm is down, but lmgrd is up. Check lmgrd log file or try lmreread.
-62
-63
-85
-95
-96
-97
Appendix D: FLEXlm Error Message Error code -101 -103 Description/cause/workaround All licenses are reserved for others. Reservations are made in the options file. The server must be restarted for option file changes to take place. Terminal server remote client not allowed. A server license is needed to run applications on Windows terminal server remote client machines. Contact Altair support to get a server license. License server out of network connections. altair_lm cannot handle any more users. See the debug log for more details. Dongle is not attached or cannot read dongle. Either the hardware dongle is unattached or the necessary software driver for this dongle type is missing. Dongle drivers are available at www.Macrovision.com or at <install_location>\security\flexid.exe. Missing dongle driver. In order to read the dongle hostid, the correct driver must be installed. These drivers are available at www.Macrovision.com or at <install_location>\security\flexid.exe. lmreread must be run on license server node. This module has been disabled from running. This product has been disabled in the license file. Unable to retrieve Global License information. Unable to communicate with the vendor daemon (altair_lm). Check the version of lmgrd/altair_lm. They may need to be updated to the same HyperWorks version as the client application. The feature 'PartialGlobalLicense' is needed in the license file to run this application. There is a four-to-eight hour time difference between the client and the license server. Contact Altair support or your account manager to request a new license with this feature. The feature 'FullGlobalLicense' is needed in the license file to run this application. There is an eight hour or more time difference between the client and the license server. Contact Altair support or your account manager to request a new license with this feature. The license server needs to be updated. The client has a newer FLEXlm/HyperWorks version than the license server. Unable to retrieve Global License information. There was an error retrieving the time zone information from the client or the server. Make sure that the client has the same FLEXlm/HyperWorks version as the license server. Contact Altair support. Invalid license file. The feature has an incorrect format in the license file.
-106 -110
-112
-119 1 2 3
6 7
96
# The variables below are for both the UMT and URT. They point to the directories that the usage data, # logs, etc. are stored in. The place-holder "$MY_DIRECTORY" reflects the directory that the package # has been installed to. This is set by the install script. (Note: This is not the internal variable # used by the script itself. ALUS_LOGGER_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/logs ALUS_PENDING_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/data/pending ALUS_SENT_DIRECTORY=$MY_DIRECTORYa/ltair/security/urt_dist/alus/data/sent ALUS_INVALID_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/data/invalid ALUS_UNDELIVERABLE_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/data/undeliverable ALUS_PROCESSING_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/data/processing ALUS_SCRATCH_DIRECTORY=$MY_DIRECTORY/altair/security/urt_dist/alus/data/scratch ALUS_UNDELIVERABLE_COUNT=7 ALUS_UNDELIVERABLE_DB_FILE_PATH=$MY_DIRECTORY/altair/security/urt_dist/alus/data/undeliverable.pr operties # These are the URLs that point to the Usage Data server. You do not need to edit the URL, just set # MY_HTTP to either http or https. Remember that your proxy and this must both be either http or https ALUS_ALAS_URL=MY_HTTP://urtserv01.altair.com ALUS_WSDL_URL=MY_HTTP://urtserv01.altair.com/GWUsageBeanService/GWUsageBean ALUS_URT_LOCATION=$MY_DIRECTORY/altair/security/urt_dist/alus/bin/urt.sh
## Configuration of proxy should be either HTTPS(SSL) or HTTP. Cannot have both set. ## user and password should not be set if they are not required by your proxy server #ALUS_HTTP_PROXYHOST=0.0.0.0 #ALUS_HTTP_PROXYPORT=80 #ALUS_HTTP_PROXY_USER=username
97
## Configuration of proxy should be either HTTPS(SSL) or HTTP. Cannot have both set. ## user and password should not be set if they are not required by your proxy server #ALUS_HTTP_PROXYHOST=0.0.0.0 #ALUS_HTTP_PROXYPORT=80 #ALUS_HTTP_PROXY_USER=username
98
lmdiag
lmdiag allows you to diagnose problems when you cannot check out a license. Usage is: lmdiag [-c license_file_list] [-n] [feature[:keyword=value]] where: -c license_file_list -n Diagnose the specified file(s). Run in non-interactive mode; lmdiag will not prompt for any input in this mode. In this mode, extended connection diagnostics are not available. Diagnose this feature only. Keyword can be one of the following: VERSION, HOSTID, EXPDATE, KEY, VENDOR_STRING, ISSUER. If a license file contains multiple lines for a particular feature, you can select a particular line for lmdiag to report on.
feature keyword=value
101
Appendix F: FLEXlm Administration Utility Example: lmdiag f1:HOSTID=12345678 Attempts a checkout on the line with the hostid 12345678. Notes If no feature is specified, lmdiag will operate on all features in the license file(s) in your list. lmdiag will first print information about the license, then attempt to check out each license. If the checkout succeeds, lmdiag will indicate this. If the checkout fails, lmdiag will give you the reason for the failure. If the checkout fails because lmdiag cannot connect to the license server, then you have the option of running extended connection diagnostics. These extended diagnostics attempt to connect to each port on the license server node, and can detect if the port number in the license file is incorrect. lmdiag will indicate each port number that is listening, and if it is an lmgrd process, lmdiag will indicate this as well. If lmdiag finds the vendor daemon for the feature being tested, then it will indicate the correct port number for the license file to correct the problem.
lmgrd
lmgrd is the main daemon program for FLEXlm. When you invoke lmgrd, it looks for a license file containing information about vendors and features. On UNIX systems, it is strongly recommended that lmgrd be run as a non-privileged user (not root). Usage is: lmgrd [-c license_file_list] [-l [+]debug_log_path] [-2 -p] [-local] [-nfs_log] [-x lmdown] [-x lmremove] [-z ] [-v] where: c license_file_list l [+]debug_log_path Use the specified license file(s). Write debugging information to file debug_log_path. This option uses the letter l, not the numeral 1. Prepending debug_log_path with the + character appends logging entries. Restricts usage of lmdown, lmreread, and lmremove to a FLEXlm administrator who is by default root. If there a UNIX group called lmadmin, then use is restricted to only members of that group. If root is not a member of this group, then root does not have permission to use any of the above utilities. If 2-p is used when starting lmgrd, no user on Windows can shut down the license server with lmdown. Restricts the lmdown command to be run only from the same machine where lmgrd is running. It is not recommended to write a debug log to an NFS-mounted or Windows network-mounted disk since this can significantly slow the license server. If you choose to write to a mounted disk and the speed of the license server is too slow, you can use this flag to cache debug info before it is written out (when approximately 1kb of data is reached) thereby improving license server performance.
2 -p
102
Appendix F: FLEXlm Administration Utility x lmdown Disable the lmdown command (no user can run lmdown). If lmdown is disabled, you will need to stop lmgrd via kill pid (UNIX) or stop the lmgrd and vendor daemon processes through the Windows Task Manager or Windows service. On UNIX, be sure the kill command does not have a 9 argument. Disable the lmremove command (no user can run lmremove). Run in foreground. The default behavior is to run in the background. If -l debug_log_path is present, then no windows are used, but if no -l argument specified, separate windows are used for lmgrd and each vendor daemon. Prints lmgrd version number and copyright and exits.
x lmremove -z
-v
lmhostid
The lmhostid utility reports the hostid of any machine whose platform is supported by FLEXlm. The default hostid type is displayed for a platform, unless an optional hostid type is specified and supported by that platform. Usage is: lmhostid [-n] [type] where type is one of: [-internet] (Optional on all platforms) [-vsn] [-flexid] -n -internet -vsn -flexid No header is printed, only the hostid is printed. IP address in ###.###.###.### format. Volume Serial Number of the Windows C:\ drive. Macrovision dongle-based hostid. (Windows)
The output of this command looks as follows: lmhostid - Copyright (c) 1989, 2002 Macrovision Software, Inc. The FLEXlm hostid of this machine is "69021c89"
lmnewlog
The lmnewlog utility switches the report log file by moving the existing report log information to a new file, then starting a new report log with the original report log file name. If you rotate report logs with lmnewlog instead of lmswitchr, you will not have to change the file name in the REPORTLOG line of the vendors options file.
Appendix F: FLEXlm Administration Utility Usage is: lmnewlog [-c license_file_list] feature renamed_report_log or: lmnewlog [-c license_file_list] vendor renamed_report_log where: -c license_file_list feature vendor renamed_report_log Use the specified license file(s). Any feature in this license file. Vendor daemon in this license file. New file path where existing report log information is to be moved.
lmpath
The lmpath utility allows direct control over FLEXlm license path settings. It can be used to add to, override, or get the current license path settings. Usage is: lmpath {-add | -override} {vendor | all} license_file_list where: -add Prepends license_file_list to the current license-file list or creates the license-file list, if it doesnt exist, initializing it to license_file_list. Duplicates are discarded. Overrides the existing license-file list with license_file_list. If license_file_list is the null string, "", the specified list is deleted. Deletes the value of LM_LICENSE_FILE. Deletes the value of ALTAIR_LM_LICENSE_FILE A vendor daemon name. Affects the value of ALTAIR_LM_LICENSE_FILE. Refers to all vendor daemons. Affects the value of LM_LICENSE_FILE. A colon-separated list on UNIX and a semi-colonseparated list on Windows. If license_file_list is the null string, "", then the specified entry is deleted.
-override
lmpath -override all "" lmpath -override vendor "" vendor all license_file_list
Note:
104
Appendix F: FLEXlm Administration Utility The following is displayed: lmpath - Copyright (C) 1989-2001 Macrovision Software, Inc. Known Vendors: _____________ demo: ./counted.lic:./uncounted.lic _____________ Other Vendors: ______________ /usr/local/flexlm/licenses/license.lic where the path is set to a directory, all of the *.lic files are listed separately.
lmremove
lmremove is needed only when a client node crashes, because that is the only condition where a license is not automatically freed immediately (licenses will be freed within twenty minutes automatically). The lmremove utility allows you to remove a single users license for a specified feature. If the application is active, it will re-checkout the license shortly after it is freed by lmremove. Usage is: lmremove [-c license_file_list] feature user user_host display or lmremove [-c license_file_list] -h feature server_host port handle where: -c license_file_list feature user user_host display server_host port handle Specify license file(s). Name of the feature checked out by the user. Name of the user whose license you are removing, as reported by lmstat -a. Name of the host the user is logged into, as reported by lmstat -a. Name of the display where the user is working, as reported by lmstat -a. Name of the host on which the license server is running. Port number where the license server is running, as reported by lmstat -a. License handle, as reported by lmstat -a.
The user, user_host, display, server_host, port, and handle information must be obtained from the output of lmstat -a. lmremove removes all instances of user on user_host and display from usage of feature. If the optional -c license_file_list is specified, the indicated file(s) is used as the license file. You should protect the execution of lmremove, because removing a users license can be disruptive. See the -x or -2 -p options in lmgrd for details about securing access to lmremove. The -h variation uses the server_host, port, and license handle, as reported by lmstat -a. Consider this example lmstat -a output: joe nirvana /dev/ttyp5 (v1.000) (cloud9/7654 102), start Fri 10/29 18:40 In this example, the user is joe, the user host is nirvana, the display is /dev/typp5, the server host is cloud9, the port is 7654, and the license handle is 102.
Appendix F: FLEXlm Administration Utility To remove this license, issue one of the following commands: lmremove f1 joe nirvana /dev/ttyp5 or lmremove -h f1 cloud9 7654 102 When removing by handle, if licenses are grouped as duplicates, all duplicate licenses will also be removed. If license lingering is set and lmremove is used to reclaim the license, lmremove will start, but not override, the licenses linger time.
lmreread
The lmreread utility causes the license daemon to reread the license file and start any new vendor daemons that have been added. In addition, all running daemons are signaled to reread the license file and their end-user options files for changes in feature licensing information or option settings. If report logging is enabled, any report log data still in the vendor daemons internal data buffer is flushed. A vendor daemon rereads the path to its option file and rereads its options file as a result of lmreread. lmreread also allows server machine host names to be reread, but still cannot be used to change server port numbers. If the optional vendor daemon name is specified, only the named daemon rereads the license file and its end-user options file (in this case, lmgrd does not reread the license file). Usage is: lmreread [-c license_file_list] [-vendor vendor] [-all] where: -c license_file_list -vendor vendor -all Use the specified license file(s). Only this one vendor daemon should reread the license file. lmgrd will restart the vendor daemon if necessary. If more than one lmgrd is specified, instructs all lmgrds to reread.
You may want to protect the execution of lmreread. See the -2 -p and -x options in lmgrd for details about securing access to lmreread. To stop and restart a single vendor daemon, use lmdown -vendor vendor, then use lmreread -vendor vendor, which restarts the vendor daemon. Note: If you use the -c license_file_list option, the license file(s) specified will be read by lmreread, not by lmgrd; lmgrd rereads the file it read originally.
106
lmstat
Note: lmstat -a is a potentially expensive command. With many active users, this can generate a lot of network activity, and therefore should not be used too often.
The lmstat utility helps you monitor the status of all network licensing activities, including: Daemons that are running Users of individual features Users of features served by a specific vendor daemon BORROW licenses borrowed lmstat prints information that it receives from the license server, therefore it will not return any information about users of node-locked uncounted or DEMO licenses, unless the servers license file includes the node-locked licenses and the client is not reading the license file (via port@host or USE_SERVER). Queued users and licenses shared due to duplicate grouping are also not returned by lmstat. Usage is: lmstat [-a] [-A] [-c license_file_list] [-f [feature]] [-S [vendor]] where: -a -A -c -f [feature] -S [vendor] Display all information about. List all active licenses. Use the specified license_file_list license file(s). List users of feature. List all users of vendors features.
lmremove requires the output of lmstat -a. The output of lmstat -a looks similar to: License server status: 27000@myhost1 License file(s) on myhost1: install_dir/altair/security/counted.lic myhost1: license server UP v10.1 Vendor daemon status (on myhost1): demo: UP v10.1 Feature usage info: Users of f1: (Total of 200 licenses issued; Total of 1 license in use) "f1" v1.0, vendor: demo floating license daniel myhost2 19.16.18.26 (v1.0) (myhost1/27000 102), start Wed 9/13 17:37 where: daniel myhost2 19.16.18.26 v1.0 myhost1 user user_host display version server_host User name. Host where user is running. Display where user is running. Version of feature. Host where license server is running.
Port on server_host where license server is running. License handle. Time that this license was checked out.
lmswitch
The lmswitch utility switches the debug log file written by a particular vendor daemon by closing the existing debug log for that vendor daemon and starting a new debug log for that vendor daemon with a new file name. It will also start a new debug log file written by that vendor daemon if one does not already exist. Usage is: lmswitch [-c license_file_list] vendor new_debug_log where: -c license_file_list vendor new_debug_log Use the specified license file(s). Vendor daemon in this license file. Path to new debug log file.
Debug log output from lmgrd and all vendor daemons started by that lmgrd are written into the same debug file by default. lmswitch allows companies to keep separate log files for different vendors and control the size of their debug log file. If debug log output is not already directed to a separate file for this vendor daemon, lmswitch tells the vendor daemon to start writing its debug log output to a file, new_debug_log. If this vendor daemon is already writing to its own debug log, lmswitch tells the vendor daemon to close its current debug log file and start writing its debug log output to new_debug_log. The effect of lmswitch continues only until the vendor daemon is shut down or its options file is reread via lmreread. When the vendor daemon is restarted or its options file is reread, it will look for a DEBUGLOG line in the options file to determine whether or not to write its debug log output into its own file and, if so, what file to write.
lmswitchr
The lmswitchr utility switches the report log file by closing the existing report log and starting a new report log with a new file name. It will also start a new report log file if one does not already exist. Usage is: lmswitchr [-c license_file_list] feature new_report_log or with vendor daemon: lmswitchr [-c license_file_list] vendor new_report_log
108
Appendix F: FLEXlm Administration Utility where: -c license_file_list feature vendor new_report_log Use the specified license file(s). Any feature in this license file. Vendor daemon in this license file. Path to new report log file.
If report logging is not enabled for the vendor daemon, lmswitchr tells it to start writing its report log output to new_report_log. If report logging is already enabled for the vendor daemon, lmswitchr tells the vendor daemon to close its report log file and start writing its new report log output to new_report_log. The effect of lmswitchr continues only until the vendor daemon is shut down or its options file is reread via lmreread. When the vendor daemon is restarted or its options file is reread, it will look for a REPORTLOG line in the options file to determine whether or not to write report log output to a file and, if so, what file to write. See Also lmnewlog
lmver
The lmver utility reports the FLEXlm version of a library or binary file. Usage is: lmver filename where filename is the name of an executable file built with FLEXlm. For example if you have an application called spell, type: lmver spell Alternatively, on UNIX systems, you can use the following commands to get the FLEXlm version of a binary: strings filename | grep Copy
Type Specification
The following option keywords restrict who may use licenses or where licenses may be used: EXCLUDE, EXCLUDEALL, INCLUDE, INCLUDEALL, MAX, and RESERVE. These options take a TYPE argument specifying whether the restriction is based on USER, HOST, DISPLAY, or INTERNET: USERUNIX user name of the user executing the program. HOSTmachine where the application is executing. Anywhere a host name can be used in an options file, an IP-address of the format #.#.#.# can be used instead. The IP-addresses can contain wildcards. DISPLAYdisplay where the application is displayed. On UNIX, DISPLAY is /dev/ttyxx (which is always /dev/tty when an application is run in the background) or the X-Display name. On Windows, it is the system name or, in the case of a terminal server environment, the terminal server client name. INTERNETIP address of the machine where the application is executing (wildcards can be used in the IP address). The types listed above take a single member. For example: EXCLUDE coolsoft USER joe To specify a list of users or hosts, first define the list using the GROUP or HOST_GROUP option lines, then use the GROUP or HOST_GROUP type to specify the group name. For example: GROUP stars joe barbara susan EXCLUDE coolsoft GROUP stars
feature keyword=value n
Name of the feature being affected. Feature name modifier to denote a group of licenses. Number of licenses that can not be borrowed via licensing borrowing. HyperWorks 9.1 Installation Guide
Proprietary Information of Altair Engineering.
111
Appendix G: Option File Keywords Example: If there are total 10 license for feature f1 and borrow is enabled in this application, the following line in the option file allows only 7 licenses to be borrowed: BORROW_LOWWATER f1 3
DEBUGLOG
DEBUGLOG [+]debug_log_path Specifies a location for the debug log output from the vendor daemon associated with this options file, debug_log_path should be the full path of the debug log. Preceding the debug_log_path with a + character appends logging entries; otherwise the file will be overwritten each time the daemon is started. Note that this affects output from only the vendor daemon associated with this options file. The debug log output of lmgrd and any other vendor daemons in the same license file is not captured in this file. See also lmswitch in Appendix F.
EXCLUDE
EXCLUDE feature[:keyword=value] type {name | group_name} Omits a user or pre-defined group of users, etc., from the list of who is allowed to use the feature. EXCLUDE overrides INCLUDE. feature keyword=value type Name of the feature being affected. Feature name modifier to denote a license pool. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. See the above section, Type Specification, for details. Name of an item of type to reserve licenses for. Name of the group to exclude.
name group_name
Example: To exclude the user hank from the list of users able to use feature f1: EXCLUDE f1 USER hank
EXCLUDE_BORROW
EXCLUDE_BORROW feature[:keyword=value] type {name | group_name} Excludes a user or pre-defined group of users, etc., from the list of who is allowed to borrow licenses for this BORROW feature. EXCLUDE_BORROW supersedes INCLUDE_BORROW; conflicts between the EXCLUDE_BORROW list and the INCLUDE_BORROW list are resolved by the EXCLUDE_BORROW taking precedence. feature keyword=value type Name of the feature being affected. Feature name modifier to denote a group of licenses. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. See the previous section, Type Specification, for details. Name of an item of type for which license borrowing is excluded.
name
112
group_name
Example: To exclude the user fred from the list of users able to borrow feature f1: EXCLUDE_BORROW f1 USER fred
EXCLUDEALL
EXCLUDEALL type {name | group_name} Omits a user or pre-defined group of users, etc., from the list of who is allowed to use all features served by this vendor daemon. type name group_name One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. See the previous section, Type Specification, for details. Name of an item of type to reserve licenses for. Name of the group to exclude.
Example: To exclude any user on the machine chaos from using all features served by this vendor daemon: EXCLUDEALL HOST chaos
FQDN_MATCHING
FQDN_MATCHING exact | lenient Sets the level to which host names used in HOST type-specifiers must match the host name sent by the FLEXanbled application. The application is configured to send either its host name or its fully qualified domain name (FQDN) to the vendor daemon for validation with HOST typespecifiers. Check with your vendor to determine fully quality domain name support. exact lenient The host name in the HOST type specifier must match in content and format to that sent by the application. This is the default setting. The host name sent by the application needs match to the extent supplied in the HOST type specifier or by the application, whichever is less restrictive.
Only the list FQDN_MATCHING keyword in the options file has effect; all others are ignored.
GROUP
GROUP group_name user_list Defines a group of users for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines. group_name user_list Name of the group being defined. List of user names in that group.
Example: To define the group Hackers consisting of bob, howard, and james: GROUP Hackers bob howard james Multiple GROUP lines for the same group name will add all the specified users into the group.
GROUPCASEINSENSITIVE
GROUPCASEINSENSITIVE OFF|ON_ If set to ON, user names and host names specified with the options file GROUP and HOST_GROUP keywords, respectively, are treated as case insensitive. By default, GROUPCASEINSENSITIVE is OFF; user names and host names are treated as case sensitive.
HOST_GROUP
HOST_GROUP group_name host_list Defines a group of hosts for use in INCLUDE, INCLUDEALL, EXCLUDE, EXCLUDEALL, and RESERVE option lines. Multiple HOST_GROUP lines will add all the specified hosts into the group. group_name host_list Name of the group being defined. List of host names in that group.
To define the host group Pacific consisting of tokyo, seattle, and auckland: HOST_GROUP Pacific tokyo seattle auckland Anywhere a host name can be used in an options file, an IP-address can be used instead.
INCLUDE
INCLUDE feature[:keyword=value] type {name | group_name} Adds a user or pre-defined group of users, etc., in the list of who is allowed to use licenses for this feature. Anyone not in an INCLUDE statement will not be allowed to use that feature. EXCLUDE overrides INCLUDE. feature keyword=value type name group_name Name of the feature being affected. Feature name modifier to denote a license pool. A license pool is a collection of licenses. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. Name of an item of type to reserve licenses for. Name of the group to include.
To include user bob in the list of users able to use feature f1: INCLUDE f1 USER bob Note: INCLUDE is required for USER_BASED or HOST_BASED features. The system administrator specifies which users are allowed to use the product, via INCLUDE, and the license limits the number of users that can be INCLUDEd.
INCLUDE_BORROW
INCLUDE_BORROW feature[:keyword=value] type {name | group_name} Includes a user or predefined group of users, etc., from the list of who is allowed to borrow the BORROW feature. Anyone not in an INCLUDE_BORROW statement is not allowed to borrow licenses. EXCLUDE_BORROW supersedes INCLUDE_BORROW; conflicts between the
114
Appendix G: Option File Keywords EXCLUDE_BORROW list and the INCLUDE_BORROW list are resolved by the EXCLUDE_BORROW taking precedence. feature keyword=value type Name of the feature being affected. Feature name modifier to denote a group of licenses. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. See the previous section, Type Specification, for details. Name of an item of type for which license borrowing is included. Name of the group for which license borrowing is included.
name group_name
Example: To include user tom in the list of users able to borrow feature f1: INCLUDE_BORROW f1 USER tom
INCLUDEALL
INCLUDEALL type {name | group_name} Includes a user or predefined group of users, etc. in the list of who is allowed to use all features served by this vendor daemon. Anyone not in an INCLUDEALL statement will not be allowed to use these features. type name group_name One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. See the section, Type Specification, for details. Name of an item of type to reserve licenses for. Name of the group to include.
Example: To allow the user jane to use all features served by this vendor daemon: INCLUDEALL USER jane
MAX
MAX num_lic feature[:keyword=value] type {name | group_name} Limits usage for a group or user. num_lic feature keyword=value type name group_name Usage limit for this user or group. Feature this limit applies to. Feature name modifier to denote a license pool. A license pool is a collection of licenses. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. Name of an item of type to reserve licenses for. Name of the group to limit.
Note:
User-based options will not work when licenses are stacked. Stacking occurs
Appendix G: Option File Keywords when OptiStruct and HyperOpt are run on a machine with more than two processors, or while using the application mode of Process Manager, or using HyperWeb.
MAX_BORROW_HOURS
MAX_BORROW_HOURS feature[:keyword=value] num_hours Changes the maximum period a license can be borrowed from that specified in the license certificate for feature. The new period must be less than that in the license certificate. If multiple MAX_BORROW_HOURS keywords appear in the options file, only the last one is applied to feature.
Feature this borrow period applied to. The license certificate for feature must have BORROW enabled. Feature name modifier to denote a group of licenses. A license pool is a collection of licenses. Number of hours in the new borrow period. This value must be less than that specified in the license certificate for feature (the default, if not specified, is 168 hours).
MAX_OVERDRAFT
MAX_OVERDRAFT feature[:keyword=value] num_lic Limits OVERDRAFT license usage below the OVERDRAFT allowed by the license file. feature keyword=value num_lic Feature this limit applies to. Feature name modifier to denote a license pool. A license pool is a collection of licenses. Usage limit for this user or group.
NOLOG
NOLOG { IN | OUT | DENIED | QUEUED } Suppresses logging the selected type of event in the debug log file. To turn off logging of checkins: NOLOG IN To turn off logging of checkouts and queued requests two separate NOLOG lines are required: NOLOG DENIED NOLOG QUEUED Note: License administrators might use this option to reduce the size of the debug log file. See Appendix F, lmswitch.
REPORTLOG
REPORTLOG [+]report_log_path REPORTLOG specifies the report log file for this vendor daemon. It is recommended preceding the report_log_path with a + character to append logging entries, otherwise the file will be 116 Altair License Management System 9.1 Installation Guide 9.1
Proprietary Information of Altair Engineering
Appendix G: Option File Keywords overwritten each time the daemon is started. Note: SAMreport, a separate product available from Macrovision, is used to process FLEXlm report log files. SAMreport can process only report log files, not debug log files.
RESERVE
RESERVE num_lic feature[:keyword=value] type{name | group_name} Reserves licenses for a specific user. num_lic feature keyword=value type name group_name Number of license to reserve for this user or group. Feature this reservation applies to. Feature name modifier to denote a license pool. A license pool is a collection of licenses. One of USER, HOST, DISPLAY, INTERNET, GROUP, or HOST_GROUP. Name of an item of type to reserve licenses for. Name of group to reserve licenses for.
Example: to reserve one license of feature f1 for user mel: RESERVE 1 f1 USER mel If you want to reserve a license for each of several users or groups, you must use a separate RESERVE line for each user or group. Note: Any licenses reserved for a user are dedicated to that user. Even when that user is not actively using the license it will be unavailable to other users. However, a RESERVEd license will not cause an overdraft to be reported by SAMreport if the license is not actually in use.
Multiple Machines
In this scenario, each distinct vendor daemon and its associated license file(s) is located on a separate server machine. Each machine serves licenses for its vendor daemon and runs its own local copy of lmgrd. Advantages Machines are maintained separately. If one machine goes down, the other machines continue to serve licenses for their vendors. Each server has its own debug log. License load is distributed. Disadvantages Administrative overhead is the highest. Starting the license server Invoke the license manager daemon using on each machine: lmgrd -c server_machine_n_license_list
118
Appendix H: Managing Licenses from Multiple Vendors Advantages License servers are maintained separately. If one server goes down, the other servers continue to serve licenses for their vendors. Each server has its own debug log. Disadvantages Administrative overhead is high. If the machine goes down, all licensing is disabled. Licensing load is concentrated to one machine. Starting the license server Invoke each license server: For server 1: lmgrd -c vendor_ABC_license_file For server 2: lmgrd -c vendor_DEF_license_file For server 3: lmgrd -c vendor_XYZ_license_file
One Machine with One License Server and Multiple License Files
In this scenario, one lmgrd runs on the server machine and serves one or more vendor daemons, each with one or more license files. The license files are usually in the same directory. Advantage Reduced administrative overhead. Disadvantages One lmgrd serves all vendor daemons. If lmgrd goes down, all licensing is disabled. If the machine goes down, all licensing is disabled. Maximizes license load to one machine and one lmgrd process. The lmgrd process might run out of file descriptors. Output from all vendor daemons goes into one common debug log, unless separate debug logs are specified with DEBUGLOG in each vendor's options file. Having one common debug log makes it harder to debug a single vendor daemon's problems. Starting the license server Invoke the license manager daemon once on the server machine: lmgrd -c license_file_list
120
121
Appendix J: Instructions for Sending Reports Manually The current, open UMT log file is in the directory processing, closed, finished logs are stored in pending, and successfully sent zip files are kept in sent. The directory bin contains the file that is used to start the URT (urt.bat or urt.sh). All log files are plain text and digitally signed to prevent tampering. The current URT utilizes a Java program (bin/altairURT.jar) to send the data from the host to Altair. The configuration file for the program is alus.conf. This is where things like proxy settings and HTTP vs. HTTPS are configured. In the end the UMT simply executes the file bin/urt.bat (or urt.sh) once a month. This is a simple script that launches the URT. This is the easiest way of knowing that information is getting sent to the correct location during the correct time period. Realizing that not every customer wants a completely automated system, Altair is providing the following two methods to place a man-in-the-loop Method one (1) only takes the automated sending out of the loop, and allows the customer to kick-off the URT by hand. It still utilizes the totally automated system for collecting, zipping, communicating and moving the logs. Method two (2) is completely manual, requiring some work on the administrators part to gather logs (etc.) and deliver them manually via email to Altair.
122
Appendix J: Instructions for Sending Reports Manually method is used that the administrator has basic knowledge of the computing platform and the directions given can be carried out on the specific platform that the software is installed on. The zip utility included with the Altair license package is required to be used for processing. It is located in the urt_dist/alus/utils/izip/bin/PLATFORM directory where PLATFORM represents the platform you are running on (AIX, LINUX, WIN32). In that directory you will find the executables for zip and unzip. First, follow the steps in Method 1 to move the urt.bat or urt.sh file aside and have an empty script in its place. Change directory to the urt_dist/alus/data/pending directory and inspect the log files that are present there, if desired. When you are ready to package them up, use the following command: urt_dist/alus/utils/izip/bin/PLATFORM/izip YYYYMMDD.zip *.dat (YYYY is the current year, MM is the current 2-digit month and DD is the current date. Please use two digits for MM and DD, e.g., January 4th, 2008 is 20080104) Once this is finished, place a copy of the zip file in the sent directory and delete *.dat from the pending directory. Send the file YYYYMMDD.zip to Altair as an attachment to usagereporting@altair.com. Please contact your Altair support organization if you have any questions.
123
124