TOC PREV NEXT INDEX

Put your logo here!


3 INSTALLATION

The purpose of this installation manual is to guide the process of installing or upgrading the VLT Software. Please read this document carefully and follow the instructions provided. This will help you save time and get a better understanding of the VLTSW. Please report errors, misprinting and suggestions to improve this document (see 4.7).


The installation procedure assumes that you start from scratch. If you have already installed a previous version of the VLT Software and required environment, you are familiar (and expert) enough to understand each installation pass and to act as appropriate to be compatible with your existing installation.

There are three possible ways of installing the VLTSW:

Full CCS
is the default one. It uses the RTAP product as core engine for the Workstation application.
CCSlite
uses a proprietary implementation of a subset of RTAP functionality.
NOCCS
a minimum set of features, including panel editor, sequencer and *slx family.

According to your project, you have to select one of the three.

The installation has been divided into steps and allows selective installation according to your needs: The installation steps are:

1. preparing the Operating System.
2. downloading the tape.
3. verification/installation of pre-required software:
a. X11 & Motif
b. GNU utilities
c. creation of VLTROOT/VLTDATA areas
d. Tcl/Tk
e. VxWorks.
f. RTAP
g. JAVA
h. MIDAS
i. verification of the environment.
4. installation of VLT Common Software:
a. VLT development utilities.
b. CCS
c. LCC
d. Panel Editor
e. Sequencer
f. installation of Motor Control
g. (optional) installation of INS Common Software
h. (optional) installation of ICS Common Software
i. (optional) installation of Telescope Control Software
j. (optional) installation of CCD Control Software
k. (optional) installation of FIERA Control Software
l. (optional) installation of Infrared Control Software

You can choose between an automatic procedure that, according to the current environment, installs everything that can be installed, or to go through each step of the installation procedure.

Each step requires that the appropriate previous ones have been completed successfully and has a simple verification test at the end. Section 4 provides an overall verification test. The verification test is part of the installation and provides a tutorial on how to configure both WS and LCU: you should execute it. Section 5 provides a trouble-shooting guide.

Actually, the installation procedure is a wrapper built around the installation procedure of each module that is part of the VLT Software. To have more details or to work selectively on a specific module, please refer to the section INSTALLATION GUIDE in the appropriate User Manual. The INSTALLATION section of each User Manual has been written to allow the installation of the module as a stand-alone action. For this reason, those INSTALLATION sections may contain redundant information with respect to the present section, where many modules are installed at the same time and by semi-automatic procedures. In addition, although correct as concerns the description of the behavior of the module, a User Manual may contain out-of-date information as concerns the installation because the installation philosophy has been recently improved (standardization). In the event of contradiction between the module User Manual and the present document, the second takes priority.


REMARKS:
· each installation procedure produces in the INSTALL directory two log files:
buildXxxxOutput.hostname the detailed output produced by make,
buildXxxxError.hostname possible errors occurring during the compilation.
The utility tail -f can be used to monitor the contents of such files during installation.
· during installation, directories are added to the PATH list and files are installed in directories that are in the PATH. Be aware that:
hash -r shall be issued to make new commands "known" to the system.
which may be incorrect because it is unaware of any path changes that have occurred in the current shell session (see which(1)).

3.1 INSTALLATION REQUIREMENTS

3.1.1 Hardware Requirements

Required hardware as defined in 2.2.1. Additional DAT tape drive to load the tape.

Disk space (WS):
· to download tape and generate the VLT Software (including the public domain software): 600 MBytes. This value can increase up to 1000 MBytes during generation process.
· to use the VLT Software: minimum 350 MBytes (VLTROOT Full CCS; for CCSLite: 250 MBytes) and 600 MBytes for the utilities (gnu, tcltk, VxWorks etc).
We suggest you to keep on-line the VLTSW sources (300 MBytes), so you can access them any time as examples.

3.2 UPGRADING THE VLTSW FROM "NOV2000"

If you are installing from scratch on either an HP or a SUN or if you are upgrading a machine that is running a version earlier than NOV2000 skip this section.

If you have a correctly installed NOV2000 you can do an UPGRADE:

1. stop any VLT process that may be running (qsemu, RTAP/CCS environments, etc.).
2. backup the current installation, both code (/vlt) and data (/vltdata),
3. remove the current installation of the VLTSW.
4. execute all the remaining steps as for an installation from scratch. For each step is indicated under the label UPGRADE any additional information concerning an upgrade from NOV2000. If there is no special information, do the step. If you are doing an upgrade and in the section there is a comment UPDATE, please be sure to read it ***BEFORE*** doing the actions described in the section.

Section 3.10 explain how to rubuild the existing configuration after the installation of the new VLT Software.

REMARK: upgrading from OCT99 or FEB2000 requires a re-installation of the operative system. Upgrading from NOV2000 requires *on HP11 only* the installation of new patches. Please, refer to [8] for any further information about the operative system.

3.3 PREPARING THE OPERATING SYSTEM

REMARK: if you are installing a FIERA SLCU, refer first to the manual in [9].

3.3.1 Installing the OS

The WS must run one of the UNIX operating systems listed in section 2.2.2 and must be installed according to the provided installation procedure. Use [8] for anything concerning the Operative System installation (HP or SUN).

3.3.2 Add Users and Groups

All users shall belong to the same group, called "vlt" with group-id 300; so add this new group using as root the command "groupadd". The following entry:

vlt::300:

should be in the /etc/group file.

The following users, belonging to the same group as any other developer, shall be defined at WS level (if possible, please use the same UID and GID, at Paranal the one listed below will be used) :

vltmgr
used to download the tape and to perform the installation. Be sure that this user can have access to the amount of disk space as required by the installation (3.1). Such a user should be the only one authorized to make a new installation of any VLT software in the VLT root area. This user can be also used to perform the verification process. In alternative, any user of the same group of vltmgr can be used. If there are several machines, it is suggested to have vltmgr only in one machine, automounted from the others. Example:
vltmgr:<your_password>:450:300:VLT Manager,,,:/home/vltmgr1:/bin/bash
vlt
used to run the default environment and the msqld daemon at boot time and the logging system clean-up procedure. This user must be local to each machine and having /vlt/vlt as $HOME. Example:
vlt:<your_password>:2684:300:VLT User:/vlt/vlt:/bin/bash
vx
used by LCU to access VxWorks kernel at boot time. It shall contain only a .rhosts file that allows access to LCU node(s). This user must be local to each machine and having /vlt/vx as $HOME. Example:
vx:<your_password>:138:300:Vx,,,:/vlt/vx:/bin/csh
pecsmgr
his home directory (that must be /etc/pecs) is the repository for everything conserning the standard environment (see 3.6). Example:
pecsmgr:<your_password>:3262:300:PECS Sw Mgr:/etc/pecs:/bin/bash
rtap
it is the RTAP/PLUS administrator. For backward compatibility, create it on a CCSLite machine too. Example:
rtap:<your_password>:300:100:RTAP/Plus Admin:/opt/rtap/A.06.70:/bin/csh

REMARK: To create these users, it is recommended to use as root the command "useradd". In this way, the home directory will be automatically created and all the necessary files (/etc/passwd and, on SUN, /etc/shadow) will be automatically and correctly upgraded.

UPGRADE: define only the pecsmgr user. You should already have the other users.

3.3.3 Define Disk Areas

The VLTSW is using three different areas:

/vlt to store binaries (products & VLT SW)

/vltdata to store ENVIRONMENTS related data

/data to store observation data

The three areas are implemented as separate logical volumes (on the same or on different physical disks). The layout used for operational machines is standardised as follows:

/vlt 2500 MB

/vltdata 1000 MB

/data 500 MB (or bigger depending on the available disk(s))

Depending on the available disks, development computers may have different layouts. Directory names are mandatory. As an alternative to a separate logical volume, you can use a symbolic link to a directory somewhere, for instance:

$ mkdir <physicalDir>
$ ln -s <physicalDir> /vlt

Depending on your current configuration, in the following steps you may need to become "root" to add/change directories.

The ownership of the three areas shall be as follows:

/vlt drwxrwxr-x vltmgr vlt

/vltdata drwxrwxr-x vltmgr vlt

/data drwxrwxr-x vltmgr vlt


REMARKS2: the VLT directories will be NFS-mounted by the LCUs. Remember to declare /vlt, /vltdata, /data as exportable from the host. Exported file systems are controlled by:
· /etc/exports on HP (use SAM to change it)
· /etc/dfs/dfstab on SUN
see your UNIX documentation and/or the man-pages for more. In general, after having changed any of those files, run as root:
# exportfs -av on HP
or
# shareall on SUN

REMEMBER: to use the physical name of the directories ( for instance: /diskb/vlt) and not to mount directory that are already mounted from another system.

UPGRADE: you should have already these directories, but with different size. Please refer to [8] for the correct size for the machine you have. Use the standard HP-UX - SUN tools to change the size.

3.4 DOWNLOADING THE SOFTWARE FROM THE CD

The VLT Software is delivered as a compressed Unix tar file on a CD labeled VLTSW-MAR2001.

In what follows, we suppose that the cdrom is mounted under the directory /cdrom.

Where you have the required disk space to generate the VLT Software, untar the sources (in the rest of the document we assume that ~vltmgr is where the content of the tape is available).

1. login as vltmgr
2. $ mkdir VLTSW
3. $ cd /home/vltmgr/VLTSW
4. $ zcat /cdrom/VLTSW.tar.Z | tar xf -
You will get the following subdirectories:
./CCD/ CCD Control Software
./CCS/ WS Common Software
./COPYING copyright notice
./DICB/ Data Dictionaries
./DMD/ RTD & CATLIB
./Drivers/ available drivers
./FCD/ FIERA CCD
./HOS/ HOS/Sequencer
./ICB/ INS Base ICS
./INS/ INS Common Software
./IRD/ Infrared Detector Software
./Kit/ VLT development utilities
./LCC/ LCU Common Software
./Motor/ Motor Control Module
./OSB/ Observation Software base modules
./PANEL/ Panel editor
./PRODUCTS/ GNU tools
./Qserver/ WS-LCU Communication Software
./RTAPpatches/ RTAP patches
./SLX/ Setup file tool
./TCS/ Telescope Control Software
./TPOINT/ Telescope Pointing Model
./examples/ examples of applications
./tcltk/ tcl/tk and extensions

IMPORTANT: GET THE LATEST NEWS ABOUT THE INSTALLATION!
Doing an installation manual absolutely error free and tested in all possible configurations is pratically impossible, but, when discovered, there is no point to repeat the same error in every site the VLT Software is going to be installed. To ease the installation process, from JUN96 onward, via the ESO WWW, the latest report about errors, installation problems, tips, etc is available on-line. Before starting the installation, please read the URL:

http://www.eso.org/vlt/sw-dev/vltsw

If you do not have access to it, you can still request the latest news by e-mailing/faxing/calling at the addresses given in [6] for reporting problems.

3.5 GET THE INSTALL PROCEDURE

Before starting, be sure that "/usr/ccs/bin" is in the PATH. For these preliminary steps, we are going to use the native make, that is normally under that directory.

Installation procedures are delivered as part of the vltsw module, but for convenience a temporary copy is done from these original files:

$ cd ~/VLTSW/Kit/vltsw/src
$ make -f Makefile.boot \
TAPE_INSTALL=$HOME/VLTSW/INSTALL prepare_installation

3.6 SET THE ENVIRONMENT

3.6.1 PECS

The standard environment consists of a set of environment variables (PATH, MANPATH, etc). To be sure that the environment is always properly defined, a standard set of files is provided.

To install it, we prepared a simple procedure that must be run as root:

# cd /home/vltmgr/VLTSW/PRODUCTS/pecs/install
# ./buildPECS

Now you have the basic standard environment with all the necessary variables.

This environment has to be customised. For this purpose a configuration file is supplied:

/etc/pecs/releases/000/etc/locality/apps-`hostname`.env

Now:

1. edit your configuration file according to the instruction given in the file itself
2. have a look also at the general configuration file
/etc/pecs/releases/000/etc/locality/apps-all.env
and edit it as appropriate; basically comment out the last two lines:
#SOFTWARE_ROOTS=/usr/server
#ACC_HOST=te13
3. for each of the users vltmgr and vlt:
a. login as that user
b. execute the following:
$ /etc/pecs/bin/pecssh mklinks -i
PECS_ROOTDIR [/etc/pecs]: "return"
PECS_RELEASE [000]: "return"
[...]
Do you wish to install VUE support files? [y]: "n"
c. logout and login again (if you are using the CDE, exit and re-login)

PECS allows customization at user level, whenever the user wants to change any of the default settings.. For example, if you want to change the VLTROOT definition, edit the file

$HOME/.pecs/apps-all.env

The new VLTROOT will be valid for that user on all the machines he logs in (provided the home directory is exported on more than one machine). If you want to change the VLTROOT on a specified machine texx, put the new VLTROOT setting in the file:

$HOME/.pecs/apps-texx.env

More information can be obtained in Appendix A.

3.6.2 Define the VLT Root and VLT Data Areas

The VLT Root area is where binaries, includes, scripts, etc. of the VLT Common Software will be located. This area is normally indicated by the environment variable VLTROOT and it is located under the /vlt directory:

/vlt/<RELEASE>/CCS for Full CSS installation

/vlt/<RELEASE>/CCSlite for CSSlite installation

/vlt/<RELEASE>/NOCCS for NOCCS installation

where <RELEASE> is a directory whose name should be e.g. FEB2000 if you are installing the FEB2000 Release and so on. This directory <RELEASE> is created under /vlt during the PECS installation.

The VLT data area is where the environments, configuration and temporary data are located. This area is normally indicated by the environment variable VLTDATA and it is located under:

/vltdata for all installation types

VLTROOT and VLTDATA shall be correctly defined in /etc/pecs/releases/000/etc/locality/apps-`hostname`.env.

Populate them, as vltmgr:

$ cd ~/VLTSW/INSTALL
$ buildVLTROOT
$ hash -r

3.7 INSTALL PRODUCTS

WARNING: (for existing installations) before any of the following installations, check that neither INTROOT is defined nor $INTROOT/bin is in the PATH

3.7.1 GNU tools

The VLT Software project has adopted the GNU tools as standard development tools (make, compiler, debugger, etc. See 2.3.1 for the complete list).

The installation of public domain software shall be done using the provided kits (in VLTSW/PRODUCTS/gnu).

The installation is performed as "vltmgr" and according to the standard scheme: all the required libraries and scripts in directories under a dedicated directory defined by the GNU_ROOT environment variable. /usr/local is not touched.

The standard environment provides the following definitions::

$ export GNU_ROOT=/vlt/<RELEASE>/gnu
$ echo $PATH -> ${GNU_ROOT}/bin:${PATH}
$ echo $MANPATH -> ${GNU_ROOT}/man:${MANPATH}
$ echo $LPATH -> ${GNU_ROOT}/lib:${LPATH} (HP only)
$ echo $SHLIB_PATH -> ${GNU_ROOT}/lib:${SHLIB_PATH} (HP only)
$ echo $LD_LIBRARY_PATH -> ${GNU_ROOT}/lib:${LD_LIBRARY_PATH}(SUN only)

Before starting, be sure that "." is in the PATH and /usr/local exists with the ownerships:

drwxr-xr-x 8 root root 1024 Dec 22 1999 /usr/local/

To install:

$ cd ~/VLTSW/INSTALL/
$ buildGNU > buildGNU.log 2>&1

In case of errors or for more detailed information, please refer to the INSTALL file of each package.

To save disk space, after installation you can remove the directory ~/VLTSW/PRODUCTS/gnu/<OS>.

A simple test is performed by the procedure itself at the end of the installation.

UPDATE: remove current /vlt/gnu and regenerate under /vlt/<RELEASE>/gnu.

3.7.2 Tcl/Tk

The basic Tcl/Tk and the extensions are required by several components of the VLT Software.

For your convenience, the original tar-files of the products listed in 2.3.1 have been included in the tape directory ./tcltk. We preferred to include the distribution kits in their original format so that you may change/adapt according to your needs.

The installation is performed as "vltmgr" and according to the standard scheme: all the required libraries and scripts in directories under a dedicated directory defined by the TCLTK_ROOT environment variable. /usr/local is not touched.

The standard environment provides the following definitions::

$ TCLTK_ROOT=/vlt/<RELEASE>/tcltk
$ echo $PATH -> ${TCLTK_ROOT}/bin:${PATH}
$ echo $MANPATH -> ${TCLTK_ROOT}/man:${MANPATH}
$ echo $LPATH -> ${TCLTK_ROOT}/lib:${LPATH} (HP)
$ echo $SHLIB_PATH -> ${TCLTK_ROOT}/lib:${SHLIB_PATH} (HP)
$ echo $LD_LIBRARY_PATH -> ${TCLTK_ROOT}/lib:${LD_LIBRARY_PATH}(SUN)

Before starting, be sure that "." is in the PATH , $DISPLAY is defined and the application can access the graphic server (xhost, authorize), if not verification will fail!

To install:

$ cd ~/VLTSW/INSTALL/
$ buildTcltk > buildTcltk.log 2>&1

REMARK: In case of errors or for more detailed information, please refer to the INSTALL file of each package.

A simple test is performed by the procedure itself at the end of the installation.

To save disk space, after installation you can remove the directory ~/VLTSW/tcltk/<OS>.

UPDATE: remove current $TCLTK_ROOT directory and regenerate.

3.7.3 VxWorks-TORNADO

If you want to generate the LCU software, a fully installed VxWorks (also called TORNADO) environment is required.

The procedure currently used at ESO to install and configure VxWorks for the VLTSW is available in ~/VLTSW/doc/install_<Release>_Tornado.ascii

TORNADO is a licensed product of WindRiver. During installation, you will be asked to provide some information for ESO to be able to supply the appropriate license. In doubt, please verify with your official ESO contact person.

Remember that the VxWorks directory shall be read-accessible by the LCU, i.e., the file downloaded at boot time is readable by the username (vx) used by the LCU to access the host system.

To use VxWorks, each user needs the environment variable setup as described in the installation procedure and provided by the standard environment.

UPDATE: remove current $WIND_BASE directory and regenerate.

3.7.4 RTAP

Full CCS requires RTAP3:

HP-10.20: version 6.7

RTAP is a licensed product of Hewlett-Packard. Before installing/using it, be sure you have the proper licenses. In doubt, please verify with your official ESO contact person.

The procedure currently used at ESO to install and configure RTAP for the VLTSW is available in ~/VLTSW/doc/install_<Release>_RTAP.ascii

3.7.5 OS configuration for CCSlite

A CCSlite installation requires a customization of kernel parameters.

Install according to ~VLTSW/doc/install_<Release>_CCSlite.ascii

3.7.6 MIDAS

The MIDAS distribution is included in the tape under ~/VLTSW/PRODUCTS/midas. Before using MIDAS please check the license conditions: you may need to sign an official agreement with ESO.

The procedure currently used at ESO to install and configure MIDAS for the VLTSW is available in ~/VLTSW/doc/install_<Release>_MIDAS.ascii

3.7.7 JAVA

A binary distribution of jdk 1.1.8 and SWING 1.1 is included in the tape under ~/VLTSW/PRODUCTS/java.

The procedure currently used at ESO to install and configure JAVA for the VLTSW is available in ~/VLTSW/doc/install_<Release>_Java.ascii

3.8 ENVIRONMENT VERIFICATION

The following steps assume that your environment is properly set. Unpredictable results may arise if not.

As said, you should have already recorded in your shell startup file (or, better, in a file you source at any login) all the environment definitions needed in the previous steps. To check this:

1. logout the current session

2. login again (if not done by .cshrc, source your file)

3. check that all environment variables you need (VLTROOT, VLTDATA, PATH, MANPATH, VxWorks environment variables, etc.) are properly set, i.e., they contain the path to access GNU, tcl/tk, VLT, etc.

4. check that the right version of the GNU tools are accessible:
$ make -version
GNU Make version 3.75, . . .

$ gcc -v
Reading specs from ....
gcc version 2.95.2


5. (for existing installations) check that neither INTROOT is defined nor $INTROOT/bin is in the PATH

6. check that DISPLAY variable is defined and your server can display windows (e.g.: xhost +)

3.9 VLT COMMON SOFTWARE INSTALLATION

The whole installation can be performed by only one command. The prerequisite is that the environment has been properly configured and all the needed tools are available. The installation procedure uses NOCCS, WIND_BASE and RTAPROOT to decide what to to, according to the following table:


NOCCS (1)
CCS-lite-WS
CCS-lite
CCS-WS
Full CCS
WIND_BASE
ignored
not defined
defined
not defined
defined
RTAPROOT
ignored
not defined
not defined
defined
defined
./buildVLTROOT
./buildKit
./buildDMD
./buildPanel
./buildCCSinclude
./buildDrivers
./buildQserver
./buildLCC
./buildCCS++
./buildSlx
./buildCCS
./buildHOS
./buildDriversEi
./buildTools
./buildMotor
./buildLSF
./buildTPOINT(4)
./buildTcssim(4)(8)
./buildCatif(4)(8)
./buildDICB(4)(8)
./buildICB(3)
./buildINS(2)
./buildOSB
./buildCCD(5)
./buildFCD(6)
./buildIRD(7)
./buildExamples
X
X
X
X





X

X

X











X
X
X
X
X
X
X

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X

In alternative to the automatic procedure, you can execute each step independently. This may be convenient if you need to save space, by default the whole software is built, or if you want to repeat only one specific step. Each build procedure is individually described in the next section.

The automatic build procedure can be forced to skip some of the software by defining (to any value) one or more of the following environment variables:

(1) NOCCS
to get a NOCCS installation this variable MUST be defined! For instance: setenv NOCCS on
(2) NOINS
the Instrumentation Common Software is not build
(3) NOICB
the Base ICS Software is not build (only if NOTCS also is defined)
(4) NOTCS
the Telescope Control Simulation Software is not build
(5) NOCCD
the CCD Detector Control Software is not build
(6) NOFCD
the FIERA Detector Control Software is not build
(7) NOIRD
the InfraRed Detector Software is not build
(8) this build is run on HP only

If needed, such variables must be defined as accessible to sub-shells (i.e., use setenv or export) before running the installation procedure. Any string is a valid value, for instance:

$ export NOICB=abc

forces build to skip buildICB.

REMARK: by default, the VLTSW LCU code is built for both types of supported CPU: Motorola 68k and Power PC. If you use only one type of CPU and want to save time and space, you can set accordingly the following variables:

NOPPC=on if you don't want to build the LCU code for Power PC LCUs;

NO68K=on if you don't want to build the LCU code for Motorola 68k LCUs.

3.9.1 Automatic Installation

To perform the automatic installation:

$ cd ~/VLTSW/INSTALL
$ ./build > build.log 2>&1

From another xterm you can spy the building process using:

$ tail -f ~/VLTSW/INSTALL/build.log

Unless you are doing a NOCCS installation, the build procedure will ask you to execute some "change" command as root. Execute as required.

For a Full CCS installation:

# chown root /vlt/<RELEASE>/CCS/bin/msgServer1
# chmod u+s /vlt/<RELEASE>/CCS/bin/msgServer1

For a CCSLite installation:

# chown root /vlt/<RELEASE>/CCS/bin/msgServer1
# chmod u+s /vlt/<RELEASE>/CCS/bin/msgServer1
# chown root /vlt/<RELEASE>/CCS/bin/ccsScheduler
# chmod u+s /vlt/<RELEASE>/CCS/bin/ccsScheduler

To save time, the build[Xxxxx] procedures do not execute the make clean. An additional procedure (buildClean) is provided to:

· clean up after a successful installation in order to save space
· clean up after a failure or a change of configuration (for instance defining/undefining RTAPROOT)

To execute the clean-up:

$ cd ~/VLTSW/INSTALL
$ ./buildClean

For a preliminary verification, execute some of the verification test according to the steps that have been executed (see table), as described in the next section. A more complete verification is described in Section 4.

If you had already a VLT Software installation do not forget to restore the previous configuration (see 3.10).

3.9.2 Step-by-step Installation

In alternative to the automatic installation, each installation step can be individually executed using:

$ cd ~/VLTSW/INSTALL
$ ./build<xxxxx>

The table in 3.9 provides the list of build<xxxxx> scripts that must be executed. Follow the order of the table, because there could be dependencies among the different builds. In particular, if you want to run the buildCCS, run always before that the buildCCSinclude.

3.9.3 Quick Verification

In this section, few simple utilities are executed to have a first check on the installed code. A complete verification and validation procedure is described in chapter 4.

To check installation and the environment setup (VLTROOT, PATH, etc.) try the man-page browser:

$ vltMan

On the new window (TkMan):
click "OK" to dismiss message about new features
set "Mono" ON (located on the lower-right corner)
click "Volumes" (upper-right)
click "(5) File Formats"
single-click vltDirectoryStructure to display the man-page
click "Quit" (lower right)

In the same way you can access the man-pages of all the installed software.

Sequencer is available on all type of installation:

· start up the Sequencer shell:
$ seqWish
... a new window (Main Console TkCon) appears showing
MainConsole display active
(<username>)1 %

· get the tcl version and the list of [incr Tcl] commands:
seqWish> info tclversion
8.0
seqWish> info command itcl*
itcl_info itcl_class
· except get the list of available "sequencer" commands:
seqWish> info command seq*
· NOCCS:
· seq_logData seq_findFile seqIcon seq_fitsDate seq_errCloseStack seq_errResetStack seq_isoTimeToClock seq_isoTime seq_errAdd seq_relToAbsPath seq_timeOfDay
· CCSlite:
seq_ccsExit seq_ccsExitOrig seq_logData seq_evtSingleDisable seq_findFile seq_dbListPut seq_errGetStackSize seq_msgSendReply seq_dbGetAttrNames seq_ccsInit seq_errGetFromStack seq_dbDirAddrToName seq_dbListDestroy seq_dbMultiWrite seq_msgDispatch seq_waitTillActive seq_dbGetAlias seq_evtAttach seq_dbGetFamilyNames seq_dbListList seq_msgRecvReply seq_dbGetDirAddr seq_dbMultiRead seqIcon seq_fitsDate seq_errCloseStack seq_errPrint seq_evtSingleEnable seq_evtList seq_msgDispatchBreak seq_dbListCreate seq_dbGetFieldNames seq_dbListRemove seq_dbLockPoint seq_errResetStack seq_dbUnlockPoint seq_msgCheck seq_deleteHandle seq_dbWriteSymbolic seq_dbListAdd seq_isoTimeToClock seq_isoTime seq_errAdd seq_dbSetCwp seq_dbReadSymbolic seq_ccsAsyncInput seq_dbGetCwp seq_dbGetAttrInfo seq_msgSendCommand seq_dbListExtract seq_waitTillDead seq_relToAbsPath seq_timeOfDay seq_evtDetach seq_msgList
· CCS:
seq_ccsExit seq_ccsExitOrig seq_logData seq_evtSingleDisable seq_findFile seq_dbListPut seq_errGetStackSize seq_msgSendReply seq_dbGetAttrNames seq_ccsInit seq_errGetFromStack seq_dbDirAddrToName seq_dbListDestroy seq_dbMultiWrite seq_msgDispatch seq_waitTillActive seq_dbGetAlias seq_evtAttach seq_dbGetFamilyNames seq_dbListList seq_msgRecvReply seq_dbGetDirAddr seq_dbMultiRead seqIcon seq_fitsDate seq_errCloseStack seq_errPrint seq_evtSingleEnable seq_evtList seq_msgDispatchBreak seq_dbListCreate seq_dbGetFieldNames seq_dbListRemove seq_dbLockPoint seq_errResetStack seq_dbUnlockPoint seq_msgCheck seq_deleteHandle seq_dbWriteSymbolic seq_dbListAdd seq_isoTimeToClock seq_isoTime seq_errAdd seq_dbSetCwp seq_dbReadSymbolic seq_ccsAsyncInput seq_dbGetCwp seq_dbGetAttrInfo seq_msgSendCommand seq_dbListExtract seq_waitTillDead seq_relToAbsPath seq_timeOfDay seq_evtDetach seq_msgList

· exit the shell:
seqWish> exit

The panel editor and the UIF library are also present in all installation:

$ panel
The "PanelEditor" window should appear. Ignore warnings concerning ccsInit failing because the environment is not yet active. Click "File" "Quit" "Yes" to close it

This complete this first quick test of your installation. The complete procedure is described in chapter 4.

3.9.4 Whatis database creation

After the installation (from scratch or upgrade), run as vltmgr:

On HP-UX:

$ su root -c \

"MANPATH=$VLTROOT/man:$TCLTK_ROOT/man:$GNU_ROOT/man:$MANPATH \

/usr/sbin/catman -w"

On SUN:

$ su root -c \

"MANPATH=$VLTROOT/man:$TCLTK_ROOT/man:$GNU_ROOT/man:$MANPATH \

/bin/catman -w"

3.10 RESTORING THE PREVIOUS CONFIGURATION

If you were already using any previous VLT software version, please:


1. remove any existing INTROOTs and recreate their content from scratch. DO NOT MIX OLD AND NEW CODE!!!!

2. Check the existing application before regenerating them. The "Release notes" points out the differences between this version and the previous one.
The compat utility can help in locating the lines of code that may need to be changed. At the present time, there is not a compatibily check for NOV2000. The latest available keywords are OCT1999 and Y2000. It is also still valid the Tcltk check, with the keyword TclTk8. To use compat:
$ cd <yourModule>
$ compat <KEYWORD> `find . -print`
See compat(7) man-page for more.

3. regenerate your code.

4. regenerate the existing environments both WS(s) and LCU(s) using the configuration tools provided by the new version. If any, remember to add your database definition to the basic one.

At this point your existing applications should be able to run using the new version of the VLT Common Software.

1
On FIERA machines, the convention is to create the home directory of vltmgr as /export/home/vltmgr

2
These remarks apply to Full-CCS and CCS-lite installations only.

3
RTAP is available on HP10.20 only. HP11.00 and SUN use CCSLite and NOCCS only.



Quadralay Corporation
http://www.webworks.com
Voice: (512) 719-3399
Fax: (512) 719-3606
sales@webworks.com
TOC PREV NEXT INDEX