Landmark Application Manager User's Guide: © 2011 Halliburton Corporation
Landmark Application Manager User's Guide: © 2011 Halliburton Corporation
February 2011
2011 Halliburton All Rights Reserved Worldwide This publication has been provided pursuant to an agreement containing restrictions on its use. The publication is also protected by Federal copyright law. No part of this publication may be copied or distributed, transmitted, transcribed, stored in a retrieval system, or translated into any human or computer language, in any form or by any means, electronic, magnetic, manual, or otherwise, or disclosed to third parties without the express written permission of:
Halliburton | Landmark Software & Services 2107 CityWest Blvd, Building 2, Houston, Texas 77042-3051, USA P.O. Box 42806, Houston, Texas 77242, USA Phone:713-839-2000, FAX: 713-839-2015
Essentials, VESPA, VESPA+, VIP, VIP-COMP, VIP-CORE, VIPDataStudio, VIP-DUAL, VIP-ENCORE, VIP-EXECUTIVE, VIP-Local Grid Refinement, VIP-THERM, WavX, Web Editor, Well Cost, Well H. Clean, Well Seismic Fusion, Wellbase, Wellbore Planner, Wellbore Planner Connect, WELLCAT, WellDirect, WELLPLAN, WellSolver, WellXchange, WOW, Xsection, You're in Control. Experience the difference, ZAP!, and Z-MAP Plus are trademarks, registered trademarks, or service marks of Halliburton. All other trademarks, service marks, and product or service names are the trademarks or names of their respective owners. Note The information contained in this document is subject to change without notice and should not be construed as a commitment by Halliburton. Halliburton assumes no responsibility for any error that may appear in this manual. Some states or jurisdictions do not allow disclaimer of expressed or implied warranties in certain transactions; therefore, this statement may not apply to you. Third Party Licenses and Attributions Halliburton acknowledges that certain third party code has been bundled with, or embedded in, its software. The licensors of this third party code, and the terms and conditions of their respective licenses, may be found at the following location:
ApplicationInstallationDirectory/docs/Third_Party.pdf
or
ApplicationInstallationDirectory\help\Third_Party.pdf
Disclaimer The programs and documentation may provide links to external web sites and access to content, products, and services from third parties. Halliburton is not responsible for the availability of, or any content provided on, third party web sites. You bear all risks associated with the use of such content. If you choose to purchase any products or services from a third party, the relationship is directly between you and the third party. Halliburton is not responsible for: (a) the quality of third party products or services; or (b) fulfilling any of the terms of the agreement with the third party, including delivery of products or services and warranty obligations related to purchased products or services. Halliburton is not responsible for any loss or damage of any sort that you may incur from dealing with any third party.
Landmark
Contents
Introduction to Licensing
Version Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Compatibility with 2003.x License Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 Compatibility of Release 5000.0.3.0 License Files with Release 2003 License Server. . . 3 Upgrade Options for LAM Upgrade from 5000.0.0 to 5000.0.3 . . . . . . . . . . . . . . . . . . . . . . . 4 Option 1 - Uninstall LAM 5000.0.0 Server and Install LAM 5000.0.3 Server . . . . . . . . . 4 Option 2 Install LAM 5000.0.3 without Down Time on Server (Not Applicable to Windows). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Option 3 - Install LAM 5000.0.3 Without Down time on an Alternate Server . . . . . . . . . 6 Understanding the License Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 How Licensing Works. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Common Terms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Network Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 License System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 License Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 License File Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 License Options File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Local Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Standalone Licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Using the License System with Third-Party Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 How to Manage the License System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Separate License Systems (non-Windows systems only) . . . . . . . . . . . . . . . . . . . . . . . . . 16 Single License System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Installation TerminologyClient Tools versus Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 What are LAM Client Tools? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 What is a LAM Server? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Linux
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 LAM System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 5000.0.3.0
Contents v
Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Obtaining a Server License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 Installing LAM Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Information and Error Messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Controlling the License Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Starting and Stopping the License Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 If the License Server Does Not Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 Setting the Environment Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Defining License Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Group License Sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Using NFS with the License System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 LAM Technical Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 If Applications Cannot Find the License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Overriding LM_LICENSE_FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Restricting the Use of FLEXnet Publisher Utilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 ArcView UsersUsing port@host Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Windows
Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 LAM System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Operating System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Obtaining a Server License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Installing LAM Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 License Server Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 LAM Technical Notes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Using LAM Server without Windows Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 LAM Server Installation Warnings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 If Applications Cannot Find The License File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Overriding LM_LICENSE_FILE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
vi Contents
5000.0.3.0
Landmark
Known Problems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 LAM Server Uninstall . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Stop and Remove the License Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Uninstall Previous Versions of LAM Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Uninstalling LAM 2003 Windows Server Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
5000.0.3.0
Contents
vii
viii
Contents
5000.0.3.0
Landmark
Introduction to Licensing
Landmarks Application Manager (LAM) is the license system used to control access to Landmark applications. LAM is based on Flexeras FLEXnet Publishers product. This document describes the procedures for installing, configuring, and managing the license system to control the usage of Landmark applications, including the following topics: Version Compatibility on page 2 Using the License System with Third-Party Software on page 16 Installation Terminology - Client Tools versus Server Linux on page 19 Windows on page 33
5000.0.3.0
Introduction to Licensing:
Version Compatibility
The 5000.0.3.0 release uses the FLEXnet Publisher product produced by Flexera. If you are currently using the Release 2003 (FLEX version 7) license server, it is important to move to the Release 5000.0.3.0 licensing to license Landmark products that use the FLEX version 11 client software. It is also important to use the new server for those Landmark software products that are using the LGCX vendor daemon. This support did not exist for the 2003 Release nor for the 5000 Release. The Release 5000.0.3.0 products are tested against the following FLEXnet Publisher versions. These are the versions that should be used with Landmarks Release 5000.0.3.0 products.
Landmark Release 5000.0.3.0 FLEXlm/FLEXnet Publisher/ Version 11.7 Operating Systems Windows 32 bit and 64 bit, Linux 64 bit
The LAM 5000.0.3.0 Server software must be installed and new license files must be obtained prior to attempting to run any Release 5000.0.3.0 applications. The detailed procedures to perform these tasks are contained in the platform-specific chapters of this guide. LAM 2003.x and LAM 5000.0.3.0 servers and clients cannot be mixed in general. For example, you cannot run a LAM 5000.0.3.0 program against a LAM 2003.x server.
Landmark
If the LM_LICENSE_FILE is set to the directory where multiple license files are located, the file extensions must be changed from.dat extensions to.lic extensions. All the Landmark .lic files must have the same port number.
Note: IF you are NOT using a FLEX 3-server redundant server configuration, you CAN have both Release 2003 and Release 5000.0.3.0 license files running on the same server IF you have your Release 2003 license files re-issued to include multiple FLEX version-specific keys. Landmark Licensing knows how to do this.
Compatibility of Release 5000.0.3.0 License Files with Release 2003 License Server
Due to FLEXs version compatibility rules, you cannot use Release 5000.x license files on an 2003 server. The newer the software products must access a license server that is at the same or newer version as the client to guarantee reliable compatibility.
5000.0.3.0
Option 1 - Uninstall LAM 5000.0.0 Server and Install LAM 5000.0.3 Server
To uninstall an existing LAM 5000.0.0 server: 1. Run a command, such as the following, to shut down the running LAM 5000.0.0 server. /Landmark/OpenWorks/LAM_5000_0_0_0/bin/lmd own c /Landmark/OpenWorks/LAM_5000_0_0_0/license. dat 2. Save a backup copy of current license.dat to another directory so that you can preserve the current DEAMON features. You will need this file in step 6 when you merge licsrv features with lgcx features. Uninstall LAM 5000.0.0 server using a command similar to the following: /Landmark/OpenWorks/LAM_5000_0_0_0/Uninsta ll_LAM\ 5000.0.0/Uninstall_LAM_5000.0.0 4. Obtain LAM 5000.0.3 suite and required features For example: LSM download Obtain any lgcx DEAMON features.
4 Introduction to Licensing: Upgrade Options for LAM Upgrade from 5000.0.0 to 5000.0.3
3.
Landmark
5.
Install LAM 5000.0.3 on the current LAM server machine. For example: /Landmark/OpenWorks/LAM_5000_0_3_0
6.
Merge the existing license.dat (use backup file from step 2) with the new lgcx features in LAM 5000.0.3s home directory. If required, update the port number by using the LM_LICENSE_FILE variable setup. Launch the new LAM 5000.0.3 server by using: setenv LAMHOME /Landmark/OpenWorks/LAM_5000_0_3_0; setenv LM_LICENSE_FILE /Landmark/OpenWorks/LAM_5000_0_3_0/license.dat; $LAMHOME/bin/startlmgrd
7.
8.
Update the users environment with the new LAM connection. For example, update LM_LICENSE_FILE environment variable to reference LAM 5000.0.3 server.
Note
This step is not necessary, if you are installing LAM 5000.0.3 in the same location as LAM 5000.0.0.
Option 2 Install LAM 5000.0.3 without Down Time on Server (Not Applicable to Windows)
To install the Landmark Application Manager without any downtime on the current server: 1. Update the users environment with the new LAM connection. For example: Append users env: LM_LICENSE_FILE 2013@LAMmaster:2014@LAMmaster 2. Obtain LAM 5000.0.3 suite and required features. For example: LSM download Obtain any lgcx DEAMON features.
5000.0.3.0Introduction to Licensing: Upgrade Options for LAM Upgrade from 5000.0.0 to 5000.0.3
3.
Install LAM 5000.0.3 in new a $LAMHOME, on the current LAM server machine. For example: /Landmark/OpenWorks/LAM_5000_0_3_0
4.
Merge the existing license.dat with the new lgcx features in LAM 5000.0.3s home directory. If required, update the port number by the LM_LICENSE_FILE variable setup. Run a command to shut down the running LAM 5000.0.0 server, and launch the new LAM 5000.0.3 server. A script, similar to the following will minimize disruption to users who are using the server. /Landmark/OpenWorks/LAM_5000_0_0_0/bin/lmd own c /Landmark/OpenWorks/LAM_5000_0_0_0/license. dat; setenv LAMHOME /Landmark/OpenWorks/LAM_5000_0_3_0; setenv LM_LICENSE_FILE /Landmark/OpenWorks/LAM_5000_0_3_0/license. dat; $LAMHOME/bin/startlmgrd
5.
Introduction to Licensing: Upgrade Options for LAM Upgrade from 5000.0.0 to 5000.0.3
Landmark
Host: LAMalternate, Location: /Landmark/OpenWorks/LAM_5000_0_3_0 4. Copy new license.dat with the new lgcx features in LAM 5000.0.3s home directory. If required, update the port by the LM_LICENSE_FILE variable setup. Launch the new LAM 5000.0.3 server. For example: setenv LAMHOME /Landmark/OpenWorks/LAM_5000_0_3_0; setenv LM_LICENSE_FILE /Landmark/OpenWorks/LAM_5000_0_3_0/license. dat; $LAMHOME/bin/startlmgrd
5.
5000.0.3.0Introduction to Licensing: Upgrade Options for LAM Upgrade from 5000.0.0 to 5000.0.3
Common Terms
Certain key terms are used in this guide to describe Landmarks license system. The most important are listed in the table below. Common Network Licensing Terms
Term Client Definition An application that can communicate with a server process. A client can reside on either the same system as the server or on a networked system. A program serving clients. Sometimes referred to as a server, a daemon process usually lives before, during, and after an application program runs. A key allowing applications to execute. A license contains a password that prevents it from being reproducible or editable.
5000.0.3.0
Landmark
License Server
Local Server
Network Configuration
For a licensed application and the License Server to communicate properly, the network configuration should be properly set up. A proper network configuration requires the following: The machine on which the licensed application runs must have access to the License Server. Landmark applications use port 2013 as a default for license requests by the FLEXnet Publisher license manager (lmgrd). This value appears in the fourth column of SERVER lines of the license.dat file. Each application determines this port number by reading the license.dat file or the LM_LICENSE_FILE environment variable. This occurs automatically when the application tries to check out a license.
5000.0.3.0
When using multiple license files the port number must be unique for each instance of the FLEXnet Publisher license manager running on a system. The port number can be changed to any open TCP/IP port on the system if there is a conflict with a port used by another process.
Note: Windows platforms will only support a single instance of the FLEXnet Publisher server running.
10
5000.0.3.0
Landmark
Application
lmgrd receives request and sends the license request to the correct application daemon for service by examining the license file
License File
License File
License Server The License Server is a group of daemons that control the distribution of application licenses. When you attempt to use a licensed application, the application must obtain a license from the License Server before the application is made available to the user. If the license request is rejected, the user will not be able to use the application. The License Server can be any workstation that runs the license server process lmgrd. This process is ordinarily started when the system boots up. License File Components The License File (license.dat) file contains all the information needed by the License Server to manage application licenses. This file contains all licenses that are available to applications using the License System. The License File has a well-defined syntax that system administrators should understand. The path name of the file is typically $LAMHOME/license.dat in Linux, and is typically 5000.0.3.0
Introduction to Licensing: Understanding the License Process 11
c:\Landmark\LAM\license.dat in Windows. The following is an example of a license.dat file where the LAM home directory is /pa/lam:
SERVER oarfish.lgc.com 00215a4da702 2013 DAEMON licsrv /d01/LAM/bin/licsrv /d01/LAM/licsrv.opt DAEMON lgcx /d01/LAM/bin/lgcx /d01/LAM/lgcx.opt FEATURE DSDBASE lgcx 5000.6 3-nov-2011 10 VENDOR_STRING="Landmark" FEATURE POSTPAL licsrv 5000 14-sep-2011 25 FF529390DBDA VENDOR_STRING="Landmark"
Each component of the License File license.dat is described in more detail below. The descriptions use the license.dat file shown above. SERVER This component defines the license servers in the network. The format is as follows:
SERVER nodename hostid port
In the example above, the license server is called oarfish, with a host ID of 00215a4da702 and a port number of 2013. All Landmark license files use port 2013 as a default. The port number can be changed to meet site requirements. However, the port number in a license file for each license server described in the file must be the same. Some license files have multiple SERVER lines while others have a single SERVER line. Multiple SERVER lines denote a redundant License System configuration that will minimize down time due to hardware failure or network failure. If you are installing a redundant server system FLEXnet Publisher mandates that a three SERVER system be established. There will be, therefore, three server lines in the license.dat file. We recommend that you review the FLEXnet Publisher Users Guide prior to setting up a redundant system. The documentation is located at: http://www.flexerasoftware.com To run a three server redundant system: Install the license server on three computers with network connections between the three. The license files must be specifically cut for a redundant system and will contain the name and hostid for each server. When asking for the license file please specify which hostid is the master server. 5000.0.3.0
12
Landmark
If the master server LAM service is unavailable then FLEXnet Publisher Server software will automatically assign one of the two remaining servers as the new master. At least two (2) of the three (3) servers must be online and communicating properly with each other for the system to work as expected (FLEX calls this a quorum). The LM_LICENSE_FILE environment variable must be set to the path of the redundant server license file on each client as well as on the servers or the redundancy many not work correctly in all configurations. The license files must be identical. Do not change the order of the server lines in the license files.
DAEMON This component identifies and defines the location of the license server executables. The format is as follows:
DAEMON serverID filename optfilename {PORT=nnnn}
All Landmark applications use the licsrv or the lgcx daemon (server). Third-party vendors will have their own DAEMON line. The options file /pa/lam/licsrv.opt is used to allow the customer to control certain special operations of the server. This is described in detail later in this section. You can assign a static port to the daemon as well as lmgrd by adding the optional port clause to this line. This is useful for navigating with firewalls. Without this port clause, the server will choose an unused port at random. FEATURE This component defines the application being licensed, the License Server used by the application, the version, expiration date, number of users, password, and vendor string (used for security). One Landmark application may have multiple feature lines depending on the options you purchased. The format is as follows:
FEATURE FeatureName DaemonName FeatureVersion ExpDate MaxUserCount Key VendorString [hostid]
5000.0.3.0
13
FEATURE FeatureName DaemonName FeatureVersion ExpDate MaxUserCount VendorString [hostid] SIGN=xxxx xxxx An expiration date of 1-jan-0000 is used if the license will never expire. The license encrypted data is generated by Landmark and depends on: the host IDs of the SERVER line(s) in the license.dat file the order of the SERVER lines if multiple SERVER lines exist the DAEMON line contents the number of users specified the expiration of the license
License Options File The file licsrv.opt specified in the license.dat file modifies the way that the License Manager creates a dedicated encrypted report log and checks out licenses. The following options can be specified in the options file: REPORTLOG This option specifies the file to be used to store information about application usage. In the next example, the file is /usr/adm/lgc.log. The + before the filename means the License Manager will append to that file instead of overwriting the file every time it is started:
REPORTLOG +/usr/adm/lgc.log
See the FLEXnet Publisher Users Guide for further options available in the license options file. The Guide is located at the following URL. http://www.flexerasoftware.com
Local Servers
A server is defined as local when the LAM software has been loaded on the same host as the Landmark applications. The license file will look exactly like the networked license file. If the server is placed on a
14
5000.0.3.0
Landmark
network then applications on other computers will be able to use the server.
Standalone Licenses
Some Landmark products allow you to install a license on a computer for use on only that computer. In this instance the license file is node locked to the computer. No server components are installed. The license.dat file will have the following changes: The DAEMON line will not be included. There will not be a server line. The FEATURE lines will contain the word uncounted for the MaxUserCount item and the hostid is present on the line.
5000.0.3.0
15
4. 5.
16
5000.0.3.0
Landmark
The result is two separate license systems each listening on a different port. Landmark applications will use the Landmark license system. Third-party applications will continue using their license system(s).
Copy the new license.dat into a location where the license server looks for it (for example in Linux, $LAMHOME/license.dat). 7. 8. Ensure that the third party application(s) has access to the license system. Stop and restart the license server (page 25 for Linux DRC: does this page number stay in? or page 37 for Windows).
5000.0.3.0
17
18
5000.0.3.0
Landmark
Linux
Introduction
This chapter describes LAM on the Linux platform and covers the following: Obtaining a Server License File on page 20 Installing LAM Server on page 22 Controlling the License Server on page 25 Using NFS with the License System on page 28 LAM Technical Notes on page 29
5000.0.3.0.
Linux: Introduction
19
Landmark
http://css.lgc.com/psp/crmp/CUSTOMER/CRM/c/X_LGC_CSS.X_LICENSE_SS_RPT.GBL
Some server information is needed before requesting the license. We recommend that you install LAM prior to obtaining this information. If you do not install LAM you will need to follow the instructions under the Linux section below. If you have installed LAM, 1. 2. Log on to the computer that will serve as the LAM 5000.0.3.0 server. Type lmhostid and record the number that is returned.
If you have not installed LAM enter follow the steps listed under your Operating System type. Enter one of the following commands in a terminal window to display the lmhost ID of the system where the LAM server executes. The number can be a hexadecimal number or a decimal number. If the number is decimal, a numeral or pound sign ( # ) must immediately precede the decimal number. Linux In Linux, the ID of an Ethernet interface (or adapter) is used as the host ID of the system. Use the ifconfig command to find the ID of the interface. For example:
20
5000.0.3.0
Landmark /sbin/ifconfig
Device
where Device is the name of the interface driver (such as eth for an Ethernet interface) with its device number. For example, the first Ethernet adapter in the computer would be eth0 . The command will display the ID of the Ethernet interface as the hardware class address (HWaddr). This address is composed of twelve hexadecimal digits separated into pairs by colons. For example:
01:32:09:F6:A5:F5
For the LAM server, the host ID is the number without the colons. For example, given the address above, the following would be the ID of the Ethernet interface:
013209F6A5F5
5000.0.3.0
21
Landmark
On the local system, allow the remote system access to the local system:
xhost + RemoteMachineName
3. 4. 5.
Mount the CD. Go to /media/{Linux}/Disk1/InstData/VM To start the installation process run the following.
./setup.bin
6.
A wizard will walk you through the installation process. Please monitor the display. If any errors occur in the installation process error messages with suggested actions are displayed. 5000.0.3.0
22
Landmark
Continue running the Installation process by pressing the Return key. After finishing the install, log in as root and run the following command.
$LAMHOME/install/lamsetup -o $LAMHOME
5000.0.3.0
23
Landmark
Message 2 If the following screen displays the automatic bootup scripts already exist in the defined directory.
You can either: Select return and review the init.d/lam.Linux script. If these scripts are correct you can keep the script or You can delete the script. Landmark strongly recommends that you delete the automatic bootup script and then run the following command.
$LAMHOME/install/lamsetup -o $LAMHOME
7.
24
5000.0.3.0
Landmark
To stop the License Server, use the same procedure as indicated in the previous step, but substitute the following command:
./stoplmgrd
5000.0.3.0
Landmark
Confirm that your license file is correct and has read permissions. Confirm that your log file has write permissions.
LM_LICENSE_FILE has a syntax exactly like that of PATH. For example, C shell users would use the following commands:
setenv LM_LICENSE_FILE $LAMHOME/license1.dat setenv LM_LICENSE_FILE $LAMHOME/license1.dat:$OWHOME/license2.dat
The user defines LM_LICENSE_FILE to point to the license.dat file that is to be used by applications running in the group.
26
5000.0.3.0
Landmark
Group License Sharing Groups may share licenses with other groups through the use of the LM_LICENSE_FILE environment variable: Each group has a copy of each license.dat file from the other groups (hopefully all named appropriately). The user environment contains the LM_LICENSE_FILE defining the exact location of each of the above license.dat files. In addition, LM_LICENSE_FILE defines an order that the application will follow when trying to check out a license from one of the groups.
Be aware of licenses common to one or more of the above license.dat files and the problem associated with searching LM_LICENSE_FILE. An example of a LM_LICENSE_FILE variable setting for a group is shown below:
setenv LM_LICENSE_FILE /etc/license_g1.dat:/etc/license_g2.dat
5000.0.3.0
27
Landmark
28
5000.0.3.0
Landmark
or
setenv LM_LICENSE_FILE $LAMHOME/license.dat
FLEXnet Publisher performs background operations to optimize access to the license file when it is run from an application for the first time. Although FLEXnet Publisher writes the path to the license file in either the user home directory or the root directory (depending on the platform and configuration) in a hidden file named .flexlmrc, Landmark overrides the .flexlmrc file creation in its application scripts. If .flexlmrc is present and you change the location or name of the license file you must remove .flexlmrc. FLEXnet Publisher will then use the new location of the license file to access the license server.
5000.0.3.0
29
Landmark
Overriding LM_LICENSE_FILE
Landmark generally uses the LM_LICENSE_FILE environment variable. Applications running for the first time may incorrectly override the setting of the LM_LICENSE_FILE variable. Note: It is very important to prevent the creation of the .flexlmrc file. This causes many problems with Landmark applications. To prevent the creation of this file, set the environment variable
FLEXLM_NO_CKOUT_INSTALL_LIC to 1.
You should also remove any existing .flexlmrc to avoid overriding LM_LICENSE_FILE.
If you want to disable the lmdown or lmremove utilities, so that even a License Administrator can not run them, the lmgrd license server can be started with -x UtilityName . For example, you might enter one of the following commands:
$LAMHOME/bin/startlmgrd -c /export/home/license/license.dat -x lmdown $LAMHOME/bin/startlmgrd -c /export/home/license/license.dat -x lmremove $LAMHOME/bin/startlmgrd -c /export/home/license/license.dat -x lmdown -x lmremead
30
5000.0.3.0
Landmark
After disabling lmdown, you can only stop the lmgrd license server with the kill command, but you must not use the version of the command with the -9 switch. For more information, see the FLEXnet Publisher Users Guide on the Flexera web site at the following location: http://www.flexerasoftware.com
5000.0.3.0
31
Landmark
or
LM_LICENSE_FILE = 2013@buck:27005@jedi
or
LM_LICENSE_FILE = $AVHOME/sysgen/license.dat:2013@buck
32
5000.0.3.0
Landmark
Windows
Introduction
This chapter describes LAM on Windows and contains the following: Obtaining a Server License File on page 34 Installing LAM Server on page 35 License Server Startup on page 37 LAM Technical Notes on page 40 LAM Server Uninstall on page 42
5000.0.3.0
Windows: Introduction
33
Landmark
3. 4. 5.
If the machine has more than one Ethernet card or is a stand-alone system, enable the correct card using the Hardware Manager. Note the Host Name here: _________________________ Note the Physical Address here: _________________________ (On Windows 2003 systems, this is a 12 digit string; for example, 00-C0-3D-68-F9-2B.) Do not include the hyphens; 00C03D68F92B would be the entry for the Physical Address.
6.
To obtain a license file do one of the following: fill in and return the information on the license card enclosed with CDs or send an email to [email protected] or fill in the information at the following Landmark site:
http://css.lgc.com/psp/crmp/CUSTOMER/CRM/c/X_LGC_CSS.X_LICENSE_SS_RPT.GBL
7.
Place the license file in the LAM 5000.0.3.0 destination folder specified during the product installation (for example, C:\Landmark\LAM). If you do not place the license file on the server you cannot use the Windows Service that automatically starts the license server upon reboot. See Using LAM Server without Windows Service on page 40.
34
5000.0.3.0
Landmark
3. 4.
If prompted to reboot the machine, click Yes, reboot now, then click Finish. Remove the CD from the CD-ROM drive.
5000.0.3.0
35
Landmark
If the license was installed prior to the LAM installation then the license server will start automatically after the reboot. If you do not have your license, please obtain it and place the license.dat file in the Landmark\Lam subdirectory. If there is an existing license.dat file, delete it prior to installing the new license file.
36
5000.0.3.0
Landmark
3.
Click on the Config Services tab. Note the location of the license file (for example, C:\Landmark\LAM\license.dat) in the Patch to the license file item. Your license file should have been copied to this location.
Windows: License Server Startup 37
5000.0.3.0
Landmark
4.
During installation, the LAM Server was set to automatically start when Windows starts up. Verify this by looking at the Start Server at Power Up checkbox. If it is not checked, click on it, then click on the Save Service button. Click on Yes to confirm the save.
5.
If you installed a new license file after rebooting and automatically starting the server, you must re-read the license file to make the server aware of the new file. To re-read the license file, go to step 6. Otherwise, skip to step 8.
6.
Click the Start/Stop/Reread tab. If it is not already highlighted, select LGC License Application Manager, then click the
38
5000.0.3.0
Landmark
7.
If you receive an error message, click the Stop Server button then click the Start Server button. A Server Starting message should appear in the status bar at the bottom of the window. Exit the License Tool Manager.
8.
5000.0.3.0
39
Landmark
FLEXnet Publisher performs background operations to speed-optimize access to the license file when it is run from an application for the first time. FLEXnet Publisher writes the path to the license file in the Windows registry in
HKEY_LOCAL_MACHINE\SOFTWARE\FLEXnet Publisher License Manager\LICSRV_LICENSE_FILE or LGCX_LICENSE_FILE
40
5000.0.3.0
Landmark
If it is necessary to change the location or name of the license file being used, use the following procedures: You may need to remove this key to get FLEXnet Publisher to use the new license file if the path has changed.
Overriding LM_LICENSE_FILE
Landmark generally uses the LM_LICENSE_FILE environment variable. Applications running for the first time may incorrectly override the setting of the LM_LICENSE_FILE variable. Note: It is very important to prevent the creation of the .flexlmrc file. Its absence will expedite diagnosis and resolution of any licensing issues with Landmark application software. In order to disable the usage of the Windows registry setting to override LM_LICENSE_FILE set
FLEXLM_NO_CKOUT_INSTALL_LIC 1.
Use the Advanced tab of the System Control Panel to set the FLEXLM_NO_CKOUT_INSTALL_LIC variable. You should also remove any existing Windows registry setting as discussed above to avoid overriding LM_LICENSE_FILE.
Known Problems
You can run FLEXnet Publisher on Windows laptops with multiple ethernet adapters by selecting a single internal adapter that is always present, and using the Device Manager to keep it enabled even if the laptop is disconnected from the network (deselect allow the computer to turn off this device to save power under Power Management for the adapter).
5000.0.3.0
41
Landmark
2. 3. 4. 5. 6. 7.
42
5000.0.3.0
Landmark
3.
In the Add/Remove Programs Properties control panel Select Landmark LAM 2003, then click Add/Remove. When the Confirm File Deletion box opens, click OK. You may get a Details message box saying that a registry value HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Co ntrol\Session Manager\Environment\HOME could not be removed. Click OK. If prompted whether to uninstall specific files, select Yes to All.
4. 5. 6.
Repeat Step 3 for each version of LAM that is listed in the Install/Uninstall tab. Click OK to close the Remove Programs Properties control panel. Reboot.
To remove the registry entries related to LAM W2003 product.: 1. 2. 3. 4. 5. 6. 7. Click Start >Run Type regedit. Press OK button. Expand HKEY_LOCAL_MACHINE by clicking on +. Expand SOFTWARE by clicking on +. Expand Landmark Graphics Corporation by clicking on +. Select LAM.
5000.0.3.0
43
Landmark
8. 9.
Press Delete Key or Select Delete from Edit menu. Confirm Key Delete by Pressing Yes button.
10. Expand HKEY_LOCAL_MACHINE by clicking on +. 11. Expand SOFTWARE by clicking on +. 12. Expand Microsoft by clicking on +. 13. Expand Windows by clicking on +. 14. Expand Current Version by clicking on +. 15. Expand Uninstall by clicking on +. 16. Select {99F2697D-EDC1-11D2-B8C3-00C04F8EEBF9}. 17. Press Delete Key or select Delete from Edit menu. 18. Confirm Key Delete by pressing Yes button. 19. Exit Registry Editor by Clicking on Registry menu and selecting Exit. 20. Remove the LAM directory using the Windows Explorer program.
44
5000.0.3.0