Page 2 PragmaDev Studio V5.3

Similar documents
Best practices on deployment of IBM Rational. servers

2 Installation Procedure

TotalView. Installation Guide. November 2004 version 6.6

MAPLE 2017 STEP BY STEP INSTALLATION INSTRUCTIONS

P IPENET PIPENET VISION NETWORK INSTALLATION GUIDE. FLEXlm LICENSING S U N R I S E S Y S T E M S L I M I T E D,

Licensing Guide. (Version ) Midland Valley Exploration Ltd 144 West George Street Glasgow G2 2HG United Kingdom

GAUSS TM 10. Quick Start Guide

Deploying IBM Rational License Key Server effectively in your organization

Automatic test generation based on functional coverage

VisualDOC INSTALLATION GUIDE VERSION 6.2 AUG 2009

Installation Guide Subscription Licenses

FOUR INDEPENDENT TOOLS TO MANAGE COMPLEXITY INHERENT TO DEVELOPING STATE OF THE ART SYSTEMS. DEVELOPER SPECIFIER TESTER

PIPENET PIPENET VISION. FLEXlm LICENSING ADDITIONAL TROUBLESHOOTING S U N R I S E S Y S T E M S L I M I T E D,

Arm Licence Server User Guide. Version 18.0

PROLITH v11.0 Getting Started Guide

Table of Contents. Table of Contents License server installation guide - Windows. Download SCL Install SCL Customizing the License Key File

P IPENET PIPENET VISION. FLEXlm LICENSING ADDITIONAL TROUBLESHOOTING S U N R I S E S Y S T E M S L I M I T E D,

Installation Guide for AGI STK 10- Network

GAUSS TM 12. Quick Start Guide

Installation Guide for Windows

Installation Guide Autodesk March 2010

Analyst Installation Guide

License Manager User Guide

CommandCenter Secure Gateway

Intel Parallel Studio XE 2016

Orbix Installation Guide

Installation Guide V1.1

Administration Manual

Installing the Autodesk Network License Manager for AutoCAD 2004 or AutoCAD 2004-Based Products

A Tutorial on using Code::Blocks with Catalina 3.0.3

DOWNLOAD PDF SQL SERVER 2012 STEP BY STEP

Orbix Installation Guide

ISE. Integrated Systems Engineering. Development, Modeling, and Optimization of Microelectronic Processes, Devices, Circuits, and Systems

OS PORTING AND ABSTRACTION LAB USER MANUAL

MapXtreme Java Edition Install Guide

MassTransit Server Installation Guide for Windows

LeCroy Software Licensing Guide

Quick Install and License Setup

If you have any questions or issues relating to this, please contact support on or call us on

Technical Whitepaper. NetBackup PureDisk Technical Product Management. PureDisk Remote Office Protection. Export to NetBackup Feature

Agilent EEsof EDA Licensing

Accelrys License Guide

3DSMART License Management User Guide

DataTAG Advance Reservation WP2 Database Management in GARA

Software license manager. DS Flex DRAFT. Installation manual

Model-Based Testing: an Approach with SDL/RTDS and DIVERSITY

FME Desktop Installation and Licensing Manual

GUT. GUT Installation Guide

Aldec Active-HDL Lattice Edition Floating License Setup (Windows/Linux)

MySQL Database Server Installation Guide for SAS Financial Management 5.3 SAS Human Capital Management 5.21 and SAS Strategy Management 5.

Note: Where this guide differs from the description in the guide included in the CD cover, it is the description in this guide that applies.

CommandCenter Secure Gateway

WhatsUp Gold 2016 Installation and Configuration Guide

ForeScout Extended Module for IBM BigFix

Upgrade Tool Guide. July

TOSCA Structure 7.0. Installation Notes

PragmaDev. change request. Emmanuel Gaudin. PragmaDev ITU-T SG17 change request Grimstad June 24,

GUT. GUT Installation Guide

Code Blocks Cannot Find Compiler Executable Windows 7

7 Cmicro Targeting. Tutorial. Chapter

Getting Started with. Agents for Unix and Linux. Version

Intel Parallel Studio XE 2019 Update 1

Contents. 1 Introduction... 2 Introduction to Installing and Configuring LEI... 4 Upgrading NotesPump to LEI...

VIRTUAL GPU LICENSE SERVER VERSION AND 5.1.0

These instructions describe the system requirements and process for installing and initial configuration of jbase on Linux operating systems.

ForeScout Extended Module for IBM BigFix

Installing the Autodesk Network License Manager for AutoCAD 2005 or AutoCAD 2005-Based Products

HOW TO LICENSE NOVAPOINT

WRITING CONSOLE APPLICATIONS IN C

Install Guide - Multi-User Licenses

Forescout. eyeextend for IBM BigFix. Configuration Guide. Version 1.2

Administration Manual

CAM350. Product Installation Guide V7.6

Installation Guide for UNIX

Installing the Autodesk Network License Manager for AutoCAD 2007 or Other AutoCAD 2007 Based Products

SWITCHBOARD USER MANUAL

OrbixTalk 3.3 Installation Guide Windows NT, Solaris, and HP/UX

Table of Contents. Installation Preface... 1 Prerequisites... 1 Installation Procedure... 1

SAS Forecast Server 3.1. Administrator s Guide to Installation and Configuration

Analyze 10.0 Installation Instructions: UNIX/Linux. Analyze 10.0 Installation Instructions

EMC NetWorker. Licensing Guide. Version REV 04

PathMATE Installation Guide

Sonnet is based in Syracuse, NY, USA with representatives across the globe.

LabVIEW Application Builder User Guide

LiveNX Upgrade Guide from v5.2.0 to v5.2.1

Converting from a synchronization server deployment to a streaming server deployment

Installation and Upgrade Guide Zend Studio 9.x

A D S S G o > S i g n D e s k t o p. I n s t a l l a t i o n G u i d e. D o c u m e n t V e r s i o n

1 Installation (briefly)

FlexNet License Administration Guide for TechniaTranscat Applications

RedBeam Inventory Tracking User Manual

PBS Professional Quick Start Guide

Contents Overview... 5 Upgrading Primavera Gateway... 7 Using Gateway Configuration Utilities... 9

Installation and Upgrade Guide Zend Studio 9.x

April UNIX Installation Guide

Getting Started with MySQL

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Altair. PBS Professional 9.1. Quick Start Guide. for UNIX, Linux, and Windows

Intel Parallel Studio XE 2018

Relativity Data Server

Transcription:

INSTALLATION MANUAL

Page 2 PragmaDev Studio V5.3

Contents Introduction - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 2 Description...2 FLEXlm architecture...3 PragmaDev License Manager...5 C debugger...6 Model checker...6 Tutorial...6 Examples...7 Windows installation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 PragmaDev Studio...10 FLEXlm...10 FLEXlm server 10 FLEXlm client 11 PLM...13 PLM server 13 PLM client 14 PLM management 15 MinGW...18 UNIX installation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 19 PragmaDev Studio...19 PragmaDev Studio fonts...19 FLEXlm...19 FLEXlm server 19 Production install 19 Manual launch 20 FLEXlm client 20 PLM...21 PLM server 21 PLM client 22 PLM management 23 GNU environment...26 Installation 26 Installation on Solaris 27 Installation on Linux 27 Configuration 27 Mac installation - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 28 PragmaDev Studio...28 PLM...30 PLM Server 30 Manual startup 30 Automatic startup 32 PLM Client 33 PragmaDev Studio V5.3 Page 1

1 - Introduction 1.1 - Description PragmaDev Studio requires the installation of the following items: PragmaDev Studio itself. gcc/gdb/make if you intend to use the code generation features (MinGW for Windows and compatible versions for UNIX are included in PragmaDev Studio distribution). pragmalist for model based testing (included in PragmaDev Studio distribution). A license manager if you intend to work with projects that exceed the size supported in the free version. Two license managers are included: FLEXlm license manager. PragmaDev license manager (PLM). PragmaDev Studio can be used either as free version, with FLEXlm licenses, or PLM licenses. You can chose one of these options the first time you start PragmaDev Studio: PragmaDev Studio V5.3 Page 2

This can be changed later via the menu Studio / Preferences... in the tab Licensing : The following paragraphs describe the FLEXlm and PLM architecture and installation procedures. It also covers the installation of the GNU environment. The installation process is platform dependent and is described in section 2 - Windows installation on page 10, in section 3 - UNIX installation on page 19, and in section 4 - Mac installation on page 28. Please note PragmaDev Studio used to be called Real Time Developer Studio or RTDS. This name and acronym might still be used in the distribution or in the manual as a reference to PragmaDev Studio. 1.2 - FLEXlm architecture PragmaDev Studio uses the FLEXlm licence manager version 11.5. FLEXlm license manager is based on a client-server architecture. The client is embedded in PragmaDev Studio while the server must be started separately before the client. The server is the combination of two executable files: lmgrd: a generic license server daemon, pragmad: PragmaDev specific daemon. Please note the server and the client can be installed on the same machine. The number of licenses for PragmaDev Studio is defined in the license file sent to you by PragmaDev. This file is read by the license server that creates a pool of available licenses. Each time PragmaDev Studio is started, a license token is requested to the license server pool. When exiting the tool the license token is given back to the pool. When there is no token left in the pool of licenses the request is refused by the server. PragmaDev Studio V5.3 Page 3

License file Check pragmad Answer lmgrd SERVER Ask for an PragmaDev Studio license CLIENT FLEXlm architecture The license file describes the server characteristics and the available licenses: the SERVER line specifies the name and the hostid of the server: SERVER hostname hostid [port number] the VENDOR line specifies the name of the PragmaDev daemon: VENDOR pragmad the FEATURE line specifies the maximum number of simultaneous PragmaDev Studio licenses you can use as well as the version: FEATURE rtds pragmad version nboflicenses SIGN=licenseKey where nboflicense indicates the maximum number of licenses available for PragmaDev Studio and licensekey the unique id securing the licenses. one or several INCREMENT lines may be added if new licenses are purchased afterwards. Please note only the following can be modified in the license file: The hostname and the port number on the SERVER line, in case your server changes name, or you want it to listen on another port than the default one; A "port= " option can be added to the VENDOR line, as follows: VENDOR pragmad port=27010 This forces the client and the vendor daemon to communicate through this socket port number, the default being to use a dynamically configured port number. Use this setting if your FlexLM server is behind a firewall and you have to configure the port numbers to open to ensure proper communication between PragmaDev Studio and the license server. Any other modification might result in failure. The license file which is received by e-mail, is dedicated to the computer running as a license server. If a FLEXlm license server is already installed, it is recommended to complete the existing licence file. To do so, add the VENDOR and FEATURE lines to the existing file and execute a reread with lmtools or lmutil utility. PragmaDev Studio V5.3 Page 4

The necessary files to install the FLEXlm license server are located in: $RTDS_HOME/share/flexlm/bin/<platform> where $RTDS_HOME is the directory where you installed PragmaDev Studio and <platform> is windows, solaris, or linux. The files are: lmgrd : generic daemon, pragmad : PragmaDev daemon, lmutil : configuration and administration tool, lmtools : for Windows only, to setup the license server and install it as a Windows service. More information can be found in the FLEXlm end user manual located in the $RTDS_HOME/share/flexlm/doc directory of your installation of PragmaDev Studio. 1.3 - PragmaDev License Manager The architecture of PLM is similar to the one of FLEXlm. There is a license server that reads the license file and starts the vendor daemons. The vendor daemons will verify the keys in the license file are valid. If all is correct the license server will create a pool of available licenses. PragmaDev Studio embeds a PLM client that connects to the PLM server. The PLM server will grant or not a license to the client. License file: plm.lic PLM daemon PragmaDev Studio PLM server socket PLM client Log file: plm.log PragmaDev Studio V5.3 Page 5

The PLM server, PLM daemon, PLM license file, and PLM log file must be in the same directory. The names of the files are: PLM element File name PLM server PLM daemon PLM license file PLM log file splmserver pragmadev plm.lic plm.log Table 1: PLM files The PLM server and the PLM client can be executed on the same computer. Communications between the different modules is done through sockets. The socket port number to use is defined by the environment variable PLM_PORT_NUMBER. 1.4 - C debugger A C debugger is not required to be able to run PragmaDev Studio: all project management, diagram edition, PragmaDev simulator and C code generation features will work without it. However, PragmaDev Studio relies on a C debugger for graphical debugging of the generated code. To use this feature, one of the supported C debuggers must be installed: Tornado, Tasking, Multi, MinGW, or gdb. MinGW compiler and debugger are included in the Windows installation and are installed with PragmaDev Studio. By default the UNIX and Mac installation of PragmaDev Studio will use the compiler/debugger installed on the system. However, if the default compiler/debugger does not work properly with PragmaDev Studio, a compatible version for UNIX can be found in $RTDS_HOME/contrib/gnu-<platform> where $RTDS_HOME is the installation directory and <platform> is either linux or solaris. 1.5 - Model checker PragmaDev Studio comes with CEA List Diversity symbolic resolution tool to generate test cases. The tool executable is called pragmalist and requires a dedicated PLM license. 1.6 - Tutorial PragmaDev Studio comes with a tutorial that covers: PragmaDev Specifier Design an executable model and verify it with the built in simulator. This tutorial also covers test case generation. PragmaDev Developer Design an implementation model and generate code out of it. Documentation generation PragmaDev Studio V5.3 Page 6

Generate documentation out of the models. 1.7 - Examples PragmaDev Studio comes with a number of examples that can be found in $RTDS_HOME/ examples: Specifier examples The following examples are specific to PragmaDev Specifier module. AccessControl This system describes an access control system to a building. It includes a prototyping GUI. CtoSDL This example shows how to automatically generate a model out of some C code. ETSI_M2M An attempt to model the ETSI M2M standard protocol. ExternalOperator This example illustrates how to call external C code from a model through xml-rpc. PingPong A very basic ping pong example. Tutorial This example is the phone system result of the Tutorial. Developer examples The following examples are specific to PragmaDev Developer module. AccessControl This system describes an access control system to a building. It includes a prototyping GUI. DistributedSystem This example shows how to develop two separate systems and make them communicate. ExternalCode This example shows how to define and call an external function from the model and an external thread. GlobalVariable This example contains a C global variable manipulated concurrently by two processes. PingPong A very basic ping pong example. PingPong++ An object oriented version of the ping pong example. ScheduledCodeGen An example of code generation with the provided scheduler. Semaphore An example of how to manipulate semaphores in the model. Tutorial This example is the phone system result of the Tutorial. PragmaDev Studio V5.3 Page 7

Studio examples The following examples are specific to PragmaDev Studio gathering all other modules. Demo This is the system we use for our demonstrations. It is an access control system to a building. It includes a prototyping GUI, test cases generated automatically by PragmaList, deployment diagrams, and a performance analysis. Advanced This example demonstrates the capacity of PragmaDev Studio to generate code that can be integrated in an external scheduler. ASN1_TTCN_SDLRT This example shows how to test an SDL-RT system with a TTCN-3 test suite using common ASN.1 data types. DeploymentSimulator This example shows how to use the Deployment Simulator in SDL and in SDL- RT. ExternalProcedures These examples show how to use the predefined external procedures in SDL and external functions in TTCN-3. NonRegression This example demonstrates how to verify non regression using MSC traces from a previous version of the system. ScheduledCodeGen This example shows how to generate code with PragmaDev C scheduler and PragmaDev C++ scheduler. Test It is an access control system to a building system with hand written and properly organized TTCN-3 test cases. Validation Examples showing how to use Diversity (PragmaList) verification tool, and Verimag verification tool. Tester examples The following examples are specific to PragmaDev Tester module. RequestAnswer This basic example illustrates how to integrate generated C code out of a test case and to integrate it with the SUT (System Under Test). The messages exchanged have only an integer parameter. RequestAnswerAdvanced A more advanced example of an integration with the SUT with more messages and more complex parameters. Tracer examples The following examples are specific to PragmaDev Tracer module. They can only be opened by the stand alone PragmaDev Tracer executable. OTF An Open Trace Format example file that can be imported in PragmaDev Tracer. PropertyVerification PragmaDev Studio V5.3 Page 8

Contains some examples of property verification based on Property Sequence Chart. It includes a chained constraint, a required or fail, and a time constraint example. Specification A simple example of verifying a specification on a trace. Traces Some basic traces. TracingMacros Examples of using the provided tracing macros in some C code. TracingPrograms Examples of tracing through a socket in three different situations: from a simple C client, from multiple C clients, and from a Python client. PragmaDev Studio V5.3 Page 9

2 - Windows installation 2.1 - PragmaDev Studio The installation is made by running setup.exe that should start automatically when the CD-ROM is inserted; if not, the installation will run by double-clicking on the executable which is located in the root directory of the CD-ROM. This setup starts an installation wizard to follow step by step. It is required to have administrator privileges in order to run the installation on Windows. The installation program creates the RTDS_HOME environment variable to point to the installation directory and %RTDS_HOME%/bin is added to the path. 2.2 - FLEXlm 2.2.1 FLEXlm server If possible, log in as an administrator to install FLEXlm license server as a Windows service. Otherwise, FLEXlm license server will have to be restarted each time the server is restarted. Go to $RTDS_HOME/share/flexlm/bin/windows directory and start lmtools from a Command Prompt as administrator (right click on the cmd.exe file and select Run as Administrator ): In the Service/License File tab check the Configuration using Services radio button. PragmaDev Studio V5.3 Page 10

Click the Config Services tab: In the Service Name, type the name of the service that will be defined, for example: PragmaDev license server. In the Path to the lmgrd.exe file field, enter or browse to the lmgrd.exe executable that was installed from the CD-ROM. In the Path to the license file field, enter or browse to the license file containing the license(s) for PragmaDev Studio. In the Path to the debug log file field, enter or browse to the debug log file. This file will contain all the debug messages from the server. If installation is done with administrator privilege, check the Use Services and the Start Server at Power Up boxes for a proper server installation. If installation is done with a non administrator account, the boxes can be left unchecked but the license server will have to be restarted each time the server is powered up. Save the new service and go to the Start/Stop/Restart tab. Click on the Start Server button. 2.2.2 FLEXlm client The FLEXlm client is embedded in PragmaDev Studio application, so it is started when the application is launched. PragmaDev Studio V5.3 Page 11

The FLEXlm client can be configured the first time PragmaDev Studio is started: This can be changed later via the menu Studio / Preferences... in the tab Licensing : The client should preferably refer to the license server: @<license server name> where the license server name is the one specified on the SERVER line in the license file. Note that if PragmaDev Studio does not work, another FLEXlm license server might be configured on the computer. To solve this problem, the new FLEXlm server must be declared by executing in a Command Prompt (as administrator) in %RTDS_HOME%/share/ flexlm/bin/windows: lmutil lmpath -add pragmad serverlocation where serverlocation is the name of the server machine (e.g. @myhost), or its IP address, or the full path to the license file. PragmaDev Studio V5.3 Page 12

2.3 - PLM 2.3.1 PLM server All the necessary files are located in %RTDS_HOME%\share\plm\plm_server\bin\win32 directory. The PLM_PORT_NUMBER environment variable should be defined as a system variable so that it is always defined. Its value should be set to a valid socket port number on the computer. We recommend a default value of 27042. The license file you will receive from PragmaDev should be named plm.lic and put in the same directory. Once you have received the license file, PLM server should be installed as a Windows service so that it is started automatically when the computer boots and even if no user is logged in. The utility PlmService will install a service that will start the executables defined in PlmService.ini. Make sure the path to splmserver.exe is correct within that file. Start a Command Prompt as administrator and go to the %RTDS_HOME%\share\plm\plm_server\bin\win32 directory. To install the service, run: PlmService -i To remove the service, run: PlmService -u Once the service is installed, it will appear in the list of Windows services that can be accessed with the Services utility through the Control Panel, and the Administrative Tools folder: The service should be set to start automatically. As installing the service does not actually starts it the first time, it is necessary to start it manually in order to check everything is fine: double click on the service and click on the start button. PragmaDev Studio V5.3 Page 13

Note it is also possible to manually start the server, to do so just type: splmserver in the Command Prompt. In this case all the log information will also be printed in the Command Prompt. 2.3.2 PLM client The PLM client can be configured the first time PragmaDev Studio is started: This can be changed later via the menu Studio / Preferences... in the tab Licensing : The PLM server is the server hostname or IP address and the PLM port number is the port number defined on the server (the PLM_PORT_NUMBER environment variable). The PLM client can be configured also by defining following environment variables: PLM_SERVER set to the server hostname or IP address, PLM_PORT_NUMBER set to the port number defined on the server. PragmaDev Studio V5.3 Page 14

If both environment variables are defined, their values will be picked up automatically when starting PragmaDev Studio the first time, or at any time via the Guess from environment button: Note that because name resolution is not always successful, if the hostname does not work use the IP address of the server. For example, if the license server and the client are the same computer, use 127.0.0.1 instead of localhost. 2.3.3 PLM management PLM includes a management tool to analyze license usage. It can be run on any computer on the network via the menu Studio / Manage PLM licenses... provided that a PLM licence was already configured (see PLM client on page 14). Another way is to run %RTDS_HOME%\share\plm\plm_manager\bin\win32\PLM_Manager.exe provided that both PLM_SERVER and PLM_PORT_NUMBER environment variables have been defined. PragmaDev Studio V5.3 Page 15

The following window will open and connect to the license server: The following features are available: Refresh This will ask the license server some updated information. This is usually not needed since the PLM Manager is refreshed automatically each time the a license is taken or given back. Reread When updating the license file on the server, Reread will read again the license file. When reading a new license file, licenses are not lost if available in the new license file. Log Retrieves the whole log file from the server and displays it on the top of the window. Rejected license requests Retrieves the whole log file - so it might take some time- and displays all license requests that I have rejected. Generates license usage charts Retrieves the whole log file - so it might take some time- and generates a basic license usage chart for each feature based on the log file such as the following: PragmaDev Studio V5.3 Page 16

Please note the window title is the name of the generated gif file for the graphic. Generate license usage high low average graph Retrieves the whole log file - so it might take some time- and generates a license usage chart for each feature based on the log file with the highs and lows for each day such as the following: PragmaDev Studio V5.3 Page 17

Please note the window title is the name of the generated gif file for the graphic. Force release of selected license As PLM does not implement any heartbeat mechanism to test the connection to each client, it might happen a license stays locked because the client did not release it. For that matter it is possible to force the release of a license in the license manager interface. Select a license to release and click on the Force release of selected license button. 2.4 - MinGW MinGW with gcc-4.8.1 and gdb-7.6.1 is included in PragmaDev Studio distribution and is installed with PragmaDev Studio in %RTDS_HOME%\share\3rdparty\MinGW directory and %RTDS_HOME%\share\3rdparty\MinGW\bin is added to the path. C code generation and graphical debugging on the host is therefore possible on Windows straight out of the box. PragmaDev Studio V5.3 Page 18

3 - UNIX installation 3.1 - PragmaDev Studio The installation is made by running the shell script install.sh located in the root directory of the CD-ROM. Once the questions asked by the script are answered, the installation will just copy the required files at the specified location. Make sure you have the proper permissions to write to the installation directory. The installation script installs PragmaDev Studio for the current platform. If you need to install for another platform (e.g. shared installation on a Unix server for Windows clients), you can give the target platform name as a parameter to the script. The possible platform names are linux, solaris and windows. Each PragmaDev Studio client account should then be configured as follow : Set RTDS_HOME environment variable to PragmaDev Studio installation directory. Add $RTDS_HOME/bin to PATH and LD_LIBRARY_PATH environment variables. 3.2 - PragmaDev Studio fonts This part of the installation is optional but recommended to ensure a WYSIWYG behavior of PragmaDev Studio when printing and exporting diagrams to images. To do so, PragmaDev Studio should preferably use the same font on the display and when printing and exporting. So the X server on each client must be configured to add PragmaDev Studio font directory to its font search path. This is done via the command : xset +fp $RTDS_HOME/share/print/fonts This command must be run on each account after the definition of the RTDS_HOME environment variable and after the X server is launched. The command is usually put in the.xsession script (if using xdm) or the.xinitrc script (if not). This is however highly dependent on the X server and the window manager. Please refer to the platform documentation for more information. 3.3 - FLEXlm 3.3.1 FLEXlm server A proper FLEXlm installation requires the license server to be started automatically at power up. root privileges are required for such an installation. Still the FLEXlm license server can be started without root privilege as explained in paragraph 3.3.1.2 Manual launch on page 20. 3.3.1.1 Production install The FLEXlm tools such as lmgrd, lmtools, pragmad,lmutil are located in the $RTDS_HOME/share/flexlm/bin/[solaris linux] directory. The way to start the license PragmaDev Studio V5.3 Page 19

server at power up is beyond the scope of this manual, however a template of a service script file automatically starting or stopping the lmgrd daemon on server boot / shutdown is provided in the subdirectory corresponding to the machine type of $RTDS_HOME/ share/flexlm/bin/[solaris linux]. The name of the service script file is flexlmd. To define the service, just edit the file to uncomment and modify the first lines defining the script variables. Then install the script wherever the service scripts are located on the machine. 3.3.1.2 Manual launch The license server can be started manually with the following command in $RTDS_HOME/ share/flexlm/bin/[solaris linux] directory: > lmgrd -c licensefile where licensefile is the file received by email. 3.3.2 FLEXlm client The FLEXlm client is embedded in PragmaDev Studio application, so it is started when the application is launched. The FLEXlm client can be configured the first time PragmaDev Studio is started: PragmaDev Studio V5.3 Page 20

This can be changed later via the menu Studio / Preferences... in the tab Licensing : 3.4 - PLM 3.4.1 PLM server All the necessary files are located in $RTDS_HOME/share/plm/plm_server/bin/<platform> directory. The PLM_PORT_NUMBER environment variable should be defined as a system variable so that it is always defined. Its value should be set to a valid socket port number on the computer. We recommend a default value of 27042. The license file you will receive from PragmaDev must be put in the directory where all the files are and named plm.lic. The PLM server requires a /tmp folder to exist. Once you have received the license file, PLM server should be installed as a Unix daemon to be started automatically when the computer boots. A sample script called plmd is provided to be put in /etc/init.d. We suggest to set up a symbolic link from rc5.d/s09plmd to that script so that it is started n 9 at startup level 5. In the example script, all the necessary files have been copied to: /opt/pragmadev/plm/bin If a PLM server is started while another one is running, the new server will start and the old one will eventually die by itself. PragmaDev Studio V5.3 Page 21

3.4.2 PLM client The PLM client can be configured the first time PragmaDev Studio is started: This can be changed later via the menu Studio / Preferences... in the tab Licensing : The PLM server is the server hostname or IP address and the PLM port number is the port number defined on the server (the PLM_PORT_NUMBER environment variable). The PLM client can be configured also by defining following environment variables: PLM_SERVER set to the server hostname or IP address, PLM_PORT_NUMBER set to the port number defined on the server. PragmaDev Studio V5.3 Page 22

If both environment variables are defined, their values will be picked up automatically when starting PragmaDev Studio the first time, or at any time via the Guess from environment button: 3.4.3 PLM management PLM includes a management tool to analyze license usage. It can be run on any computer on the network via the menu Studio / Manage PLM licenses... provided that a PLM licence was already configured (see PLM client on page 22). Another way is to run $RTDS_HOME/share/plm/plm_manager/bin/linux/PLM_Manager provided that both PLM_SERVER and PLM_PORT_NUMBER environment variables have been defined. PragmaDev Studio V5.3 Page 23

The following window will open and connect to the license server: The following features are available: Refresh This will ask the license server some updated information. This is usually not needed since the PLM Manager is refreshed automatically each time the a license is taken or given back. Reread When updating the license file on the server, Reread will read again the license file. When reading a new license file, licenses are not lost if available in the new license file. Log Retrieves the whole log file from the server and displays it on the top of the window. Rejected license requests Retrieves the whole log file - so it might take some time- and displays all license requests that I have rejected. Generates license usage charts Retrieves the whole log file - so it might take some time- and generates a basic PragmaDev Studio V5.3 Page 24

license usage chart for each feature based on the log file such as the following: Please note the window title is the name of the generated gif file for the graphic. Generate license usage high low average graph Retrieves the whole log file - so it might take some time- and generates a license usage chart for each feature based on the log file with the highs and lows for each PragmaDev Studio V5.3 Page 25

day such as the following: Please note the window title is the name of the generated gif file for the graphic. Force release of selected license As PLM does not implement any heartbeat mechanism to test the connection to each client, it might happen a license stays locked because the client did not release it. For that matter it is possible to force the release of a license in the license manager interface. Select a license to release and click on the Force release of selected license button. 3.5 - GNU environment 3.5.1 Installation In order to use GNU integration with PragmaDev Studio, gcc, gdb, and make utilities are required. By default PragmaDev Studio will use the gcc/gdb/make installed on the system. However, if these do not work properly with PragmaDev Studio, compatible versions are included in the PragmaDev Studio distribution. It is recommended to use one of the following versions: gcc: 2.95 or higher. gdb: 5.2 or higher. make: 3.78 or higher. PragmaDev Studio V5.3 Page 26

To retrieve the installed version on your system, type the command name with the --version option. If you need to install any of the 3 utilities, pre-built binaries are available as packages in: $RTDS_HOME/contrib/gnu-<platform> where $RTDS_HOME is the installation directory and <platform> is either linux or solaris. The installation process is described in the paragraphs below. 3.5.1.1 Installation on Solaris gcc, gdb and make are provided as standard Solaris packages. They both install in /usr/ local. To install them, become root and execute: pkgadd -d gcc-3.2.2-sol7-sparc-local pkgadd -d make-3.78.1-sol7-sparc-local gdb is provided as a single executable that should run on any Solaris 7 or 8 platform. It can be copied to any location in the PATH (/usr/local/bin is a good choice). More up-to-date version of the packages and pkgadd utility may be downloaded from http://www.sunfreeware.com. 3.5.1.2 Installation on Linux The 3 tools are provided as RPM packages. A fourth package containing the C pre-processor, must be installed before gcc. They all install in /usr. Installation is done with root privilege: rpm --install cpp-2.96-98.i386.rpm rpm --install gcc-2.96-98.i386.rpm rpm --install gdb-5.2-2.i386.rpm rpm --install make-3.79.1-8.i386.rpm You may have to use --upgrade instead of --install if a former version is already installed on your machine. More up-to-date versions may be downloaded from http:// rpmfind.net. 3.5.2 Configuration If the tools were installed in /usr, no additional configuration is needed. Otherwise, make sure that your PATH and LD_LIBRARY_PATH environment variables include the bin and lib sub-directories of the installation directory respectively. PragmaDev Studio V5.3 Page 27

4 - Mac installation 4.1 - PragmaDev Studio Download PragmaDev Studio and unzip it. Launch the MacOSX_RTDS_Install.tool application. The End User License Agreement window will pop up. Select a destination folder. PragmaDev Studio V5.3 Page 28

If you have a license server running, you can now start PragmaDev Studio. PragmaDev Studio V5.3 Page 29

4.2 - PLM 4.2.1 PLM Server 4.2.1.1 Manual startup What follows describes how to start the PLM server manually. The license file must be named plm.lic and must be saved in the PLM directory ($RTDS_HOME/share/plm/ plm_server/bin/macosx/). Open a bash shell and type the following commands: cd /Applications/RTDS/share/plm_server/bin/macosx export PLM_SERVER=127.0.0.1 export PLM_PORT_NUMBER=27042 PragmaDev Studio V5.3 Page 30

./splmserver PragmaDev Studio V5.3 Page 31

4.2.1.2 Automatic startup Make sure the script shell plm.tool will be executed with the terminal application. PragmaDev Studio V5.3 Page 32

Go to System / Account / Startup and have plm.tool to be started when logging in. 4.2.2 PLM Client The PLM client can be configured the first time PragmaDev Studio is started: PragmaDev Studio V5.3 Page 33

This can be changed later via the menu Studio / Preferences... in the tab Licensing : PragmaDev Studio V5.3 Page 34