Table of Contents Previous Chapter 3 Installation Procedure

3 Installation Procedure

This chapter contains stepwise instructions that will guide you throughout the installation procedure. Before you start installing the software, you should spend a few minutes reading chapter 2, System Prerequisites. Then, you can proceed with this chapter, taking care to follow the instructions exactly as they are given. In case you run into problems, do not hesitate to contact Telelogic Customer Support. Phone and fax number can be found on page 1 of this manual.

Overview

The installation procedure will help you to install SDT and help you to customize your SDT installation.

If not already done, we recommend you to read chapter 1, SDT 3.02 Media and chapter 2, System Prerequisites before proceeding with the installation procedure.

Installation Options

During the installation you can choose what components to install. The default answer to most of the questions will be to install all components. If you choose to not install some of the components, you may always add them afterwards by running the installation procedure again (see "Adding SDT Components to an Existing Installation" on page 36).

The components that may be installed are:

You will also obtain information of how you may configure the license control mechanism.

Installation Procedure

For a successful SDT installation the following steps must be carried out:

  1. Inserting the CD-ROM
  2. Mounting the CD-ROM
  3. Installing SDT (running an installation script)
  4. Installing the SDT Product License Key
  5. Starting the SDT License Server
  6. Setting Up Shared Libraries (HP and IBM only)
  7. Configuring the SDT Installation
  8. Add the SDT bin directory to your path.

Inserting the CD-ROM

Follow the instructions provided with your CD-ROM drive to install the drive on your system. Insert the disk into a CD-ROM caddy with the "SDT 3.02" text visible. Insert the caddy into the CD drive with the arrow on the caddy pointing into the drive.

Mounting the CD-ROM

Create a directory (if not already existing) to be the mount point for the CD. The examples below use the directory /cdrom.

mount -r -t hsfs /dev/sr0 /cdrom
mount -r -f hsfs /dev/sr0 /cdrom
/etc/mount /dev/dsk/c9d2s2 /cdrom -r -t cdfs
or
/etc/mount /dev/dsk/c201d2s0 /cdrom -r -t cdfs
/etc/mount /dev/dsk/1s0 /cdrom
mount -t cdfs -o noversion -r /dev/rz0c /cdrom
The commands may slightly differ from system to system. If any of the device names are unknown on your system, consult your system manager.

Installing SDT

Before starting the installation script, you should find a suitable location in your file system where to store the SDT 3.02 installation. This directory is called the installation root directory. It is to be used for all Telelogic products of the same release, such as SDT 3.02 and ITEX 3.02.

Therefore, if you already have ITEX 3.02 installed, you should use the same root directory when installing SDT 3.02. The installation procedure will create a subdirectory to this root directory, called sdt.

Within this installation procedure we will use /appl/telelogic as the root directory for the SDT installation.

----------------------------------------------------------------------
Note:                                                                   
SDT 3.02 cannot be installed in the same root directory as SDT          
3.0 or 3.01. If there already exists an SDT 3.0 or 3.01 installation,   
please make a copy of the license.dat file, since it can be used        
together with SDT 3.02. When it is time to update the license.dat       
file in the new installation, the old license.dat file can be used.     
----------------------------------------------------------------------
  1. Decide upon a suitable installation root directory, according to the above advice. Also, check the amount of available disk space and verify it against the required space (see "Installation Prerequisites" on page 17 in chapter 2, System Prerequisites).
  2. You will now start the installation script, which will guide you through the installation. The script will also print some information during the installation procedure. Please read all the printed information.
    On the Sun platforms:
   cd /cdrom
   ./SDTINST.CD
On the IBM platform:
   cd /cdrom
   ./sdtinst.cd
On the HP platforms:
   cd /cdrom
   ./SDTINST.CD\;1
On the DEC platform, do as follows:
   cd /home/tmp
   cp /cdrom/SDTINST.CD .
   mkdir BIN
   cp /cdrom/BIN/INSTALL.DEC BIN/.
   ln -s /cdrom/TARFILES .
   ls TARFILES
You should get a list of 19 different files, with file suffix .TAR and .CR
   ./SDTINST.CD
   cd ..
   rm -r tmp
  1. Specify the installation root directory:
      Specify the root-directory for your Telelogic products?
>>        Enter path-name: [x]: /appl/telelogic
  1. Enter the SDT binary key for the workstation architecture you are installing. The binary key consists of the numbers printed on the sticker in the left margin on this page.
>>        Please enter your SDT binary key? [x]:  12345678901234
  1. For each component you will be asked if you want to install it or not. The default answer is Yes to install it. See "Installation Options" on page 23 for more information.
  2. After you have answered all the questions, you will get a list of the currently selected components and the required amount of disk space.
  >>     The following components will be installed.
           SUNOS4  SUNOS5  DEMO  HTML  FRAME  PS  TEXT  
  !!     This installation will require:   xxx  MB
  !!     of disk space at file system:    /appl/telelogic 
  >>     Are you satisfied with the following setup? (y/n) [y]:
  1. After you receive the message "No further questions will be asked", information is echoed to the console to inform you about the progress of the installation procedure.
  2. You finally get the message "Completed..." when the installation script is finished.
  3. Change your working directory to the root directory you specified during step 3. above, e.g.
cd /appl/telelogic
  1. "Source" the following file to set up a few environment variables:
The environment variable $telelogic now points to the installation root directory. We will refer to this variable throughout the rest of this manual.

Installing the SDT Product License Key

The SDT licenses are controlled by a third party software, FLEXlm\xaa . FLEXlm is designed to serve multiple applications.

  1. Fill in the Product License Key application form with information about the license server's hostname and hostid (the name and id of the computer where you want the license server to run). The information is needed by Telelogic Customer Support in order to generate the software license keys. In response, you will receive a Product License Key, with information about how to edit the file
    license.dat. You can send your request for the Product License Key via E-Mail if you find it convenient. In the root directory of your SDT 3.02 installation you can find the file licensekey.via_email. Please fill in the missing information and send it to Telelogic Customer Support at the following address: support@telelogic.se
  2. Edit the license.dat file according to the instructions provided in the document Product License Key.
    ---------------------------------------------------------------------
    Note:                                                                  
    The Product License Keys that come with SDT 3.02 are not               
    compatible with license keys used in earlier versions of SDT.          
    This means that you cannot run earlier versions of SDT (i.e. 3.0 and   
    3.01) using the 3.02 FEATURES in the license.dat file in the           
    SDT 3.02 distribution.                                                 
    If you want to be able to switch between earlier versions of SDT and   
    SDT 3.02, you must do as follows:                                      
    1.  Save the existing (3.0 / 3.01) license.dat file before updating    
    it with the new FEATURES that come in the Product License              
    Key from Telelogic Customer Support.                                   
    2.  Assign the environment variable LM_LICENSE_FILE a value            
    that designates the appropriate license.dat file before start          
    ing SDT.                                                               
    ---------------------------------------------------------------------
    
    -----------------------------------------------------------------
    Note:                                                              
    All information in the file license.dat file is case significant.  
    -----------------------------------------------------------------
    

Starting the SDT License Server

  1. Make sure you are logged in on the computer where the license server is to run.
    -----------------------------------------------------------------
    Note:                                                              
    ·  On SunOS 5.X: The license server must be started with group-    
    id sys. To achieve this you have to do the following (as root):
    chgrp sys $telelogic/flex/sunos5flex/telelogic
    chmod g+s $telelogic/flex/sunos5flex/telelogic · On HP 9000/300 and 400: The license server must be started as user root. -----------------------------------------------------------------
  2. Before you start the license server, make sure no license servers for SDT are currently running. Search for the license demons lmgrd and telelogic in the current process list. If you have any license demons running, terminate them using the kill command and the PID number.
  3. Change to the installation root directory:
cd $telelogic
(The $telelogic variable is set up when you "source" the file described in step 10. on page 28.)
  1. Start the license server:
./bin/startlicd
  1. You may check that the license server has been started correctly with the following command:
./bin/stat -a
Example 2 : stat Output Sample  
lmstat - Copyright (C) 1989, 1992 Highland Software, Inc.
Flexible License Manager status on Fri 2/3/95 8:52
License server status:
   hostname: license server UP (MASTER)
Vendor daemon status (on hostname):
 telelogic (v3.x): UP
Feature usage info:
    Users of SDT-Base:  (Total of 3 licenses available)
    Users of SDT-MSCE:  (Total of 3 licenses available)
    Users of SDT-Cbasic:  (Total of 3 licenses available)
    Users of SDT-Cadvanced:  (Total of 3 licenses available)
    Users of SDT-Cmicro:  (Total of 1 licenses available)
    Users of SDT-Chill:   (Total of 1 licenses available)
    Users of SDT-Simulator:  (Total of 2 licenses available)
    Users of SDT-Validator:  (Total of 1 licenses available)
    Users of SDT-Performance:  (Total of 1 licenses available)
    Users of SDT-TTCN-Link:  (Total of 2 licenses available)  
  
  1. If the startup has failed, check the license.dat file and make sure that the information is correct according to the Product License Key.
  2. In order to start up the SDT License Server automatically at boot time, a line like the following should be placed in /etc/rc
/appl/telelogic/bin/startlicd
where /appl/telelogic should be replaced by your installation root directory. (You cannot use the $telelogic variable in this case.)

Setting Up Shared Libraries (HP and IBM only)

------------------------------------------------------------------
Caution!                                                            
SDT will not operate properly on HP and IBM systems unless you      
have set up the SDT shared libraries as described in this section.  
------------------------------------------------------------------
The SDT applications are linked dynamically with a number of shared libraries X11R5libs and SDTlibs in the directory

$sdtrelease/sdtlib/hppasdtlib (on HP PA-RISC)
$sdtrelease/sdtlib/hpmcsdtlib (on HP Motorola)
$sdtrelease/sdtlib/ibmsdtlib (on IBM)
You have to create a symbolic link from /usr/local/SDT3.02/lib to the appropriate directory. The following examples illustrate how to do this. You probably need root privileges in order to perform the actions required.

-----------------------------------------------------------------------
Note:                                                                    
The environment variable $sdtrelease is referring to the sub-
directory sdt in your installation root directory. The variable is set up when you "source" the file described in step 10. on page 28. -----------------------------------------------------------------------
  1. Create a subdirectory SDT3.02 and a soft link from there to the SDT installation, according to the following commands:
Example 3  (HP PA-RISC):  
mkdir /usr/local/SDT3.02
ln -s $sdtrelease/sdtlib/hppasdtlib /usr/local/SDT3.02/lib
  
Example 4  (HP Motorola):  
mkdir /usr/local/SDT3.02
ln -s $sdtrelease/sdtlib/hpmcsdtlib /usr/local/SDT3.02/lib
  
Example 5  (IBM AIX):  
mkdir /usr/local/SDT3.02
ln -s $sdtrelease/sdtlib/ibmsdtlib /usr/local/SDT3.02/lib
  

Configuring the SDT Installation

The sdtconfig program configures your SDT installation according to the information in the license.dat file. The following optional SDT C Code Generator libraries will be installed when running the
sdtconfig program, if you have a valid license for these features:

The sdtconfig program will also check the contents of the file license.dat and will issue warnings if any inconsistencies are detected.

  1. Change to the installation root directory:
cd $telelogic
  1. Run the sdtconfig program with the command:
./bin/sdtconfig
---------------------------------------------------------------------
Note:                                                                  
This program is also used when adding new features to an existing      
installation. It has to be run each time a new binary component has    
been added to an existing SDT Installation. You should run it logged   
on to the machine for which you added the binaries.                    
---------------------------------------------------------------------

Starting Up SDT

The startup of SDT 3.0/3.01/3.02 is slightly changed compare to previous versions of SDT. We recommend the SDT users to add the SDT 3.02 binary directory to their existing PATH variable.

------------------------------------------------------------------
Note:                                                               
The X Windows System and Motif Window Manger have to be             
started before starting SDT!                                        
In the case the computers on which you run the X Windows server     
and the client (the SDT applications) coincide, make sure the envi  
ronment variable DISPLAY is set to unix:0.0 before starting         
SDT. Do not use the notation hostname:0.0                           
------------------------------------------------------------------
  1. Below the SDT 3.02 installation root directory, you will find a sub directory called bin. This directory should be added to the user's path, e.g.
set path = ( $path $telelogic/bin )
  1. After the path is updated, start SDT by the command:
    sdt

Post Installation

After this installation we do recommend you to read chapter 5, System Setup. This chapter is useful both for the individual SDT user and the SDT system administrator. For the system administrator it might also be of interest to read through chapter 4, The Software License Server, where additional information regarding the software license control mechanism in SDT may be found.

Adding SDT Components to an Existing Installation

If you already have an SDT 3.02 installation and want to add components to this installation, follow the instructions below. For more information on available components, see "Installation Options" on page 23.

  1. Insert the CD, as described in "Inserting the CD-ROM" on page 24.
  2. Mount the CD, as described in "Mounting the CD-ROM" on page 24.
  3. Follow all steps described in "Installing SDT" on page 25.
     This directory already contains a sub-directory: sdt/
>>   Do you like to update your existing SDT-3.02 installation? 
[y]:
Answer y or press just press <Return>
  1. If you added a component with binaries for HP or IBM, you have to set up the shared libraries as described in "Setting Up Shared Libraries (HP and IBM only)" on page 33.
  2. If you have received a new SDT Product License Key, you have to perform the actions described in "Installing the SDT Product License Key" on page 29. After that, you should also perform the actions described in "Configuring the SDT Installation" on page 34.

Footnotes

(1)
Available on SUN and HP 9000/700-800 only.
 
Table of Contents Next Chapter