#*****************************************************************************
# E.S.O. - VLT project
#
# "@(#) $Id: RtapEnvTable,v 1.2 1999/04/22 14:53:16 vltsccm Exp $"
#
# who       when      what
# --------  --------  ----------------------------------------------
# xxxxxxxx  dd/mm/yy  created
#
# b.gilli   22/08/95  For July release, added Rtap alarm related processes
#                                       and changed cmd handling processes.
# b.gilli   25/08/95  disable alarm processes
# b.gilli   12/01/96  suppressed obsolete cmdSetup, replaced cmdStartup by
#                     cmdManager with autoRestart if terminating abnormally.
#                     alternative would be to shutdown the environment
#                     if terminating in any manner.
# b.gilli   13/02/96  scan core processes running under rtap user for booking.
# b.gilli   18/03/96  added envsKill to shutdown env when killed.
# b.gilli   11/04/96  allowed multiple copies of cmdSetup utility.
# gfilippi  14/04/96  updated as in envName 1.10
# b.gilli   12/06/97  envsKill not started as user rtap.
# fcarbogn  30/10/97  added sampHistInit and sampPlotInit after db loading

#************************************************************************
#   NAME
#   RtapEnvTable.normal - rtap environment table
# 
#   SYNOPSIS
#   $VLTROOT/ENVIRONMENTS/<envName>/RtapEnvTable
# 
#------------------------------------------------------------------------
# 
#
#   P        R  M  C  G    S   P    C
#   R        E  U  L  E    H   R    O
#   O  P  U  S  L  E  T    U   I    M
#   C  H  S  T  T  A  O    T   O    M
#   N  A  E  A  I  N  B    D   R    A
#   U  S  R  R  P  U  I    W   T    N
#___M__E__?__T__L__P__T____N___Y____D_______________________________________
#
#  These are the core processes which I will always want to run.
#
    1  0  N  N  N  N  N  100  128   RtapScheduler
    2  1  N  P  N  N  Y   99  128   RtapMonitor -a -s > rtap_log 2>&1
    3  1  N  P  N  A  Y  100  128   RtapQServer
    4  1  N  N  N  A  N   80  128   RtapEventTrig
    5  1  N  N  N  A  Y   80  128   RtapEventConfg
    6  1  N  E  N  A  Y   80  128   RtapTimeKeeper
# First thing for CCS : setup of the shared memory area.
# imunoz  28.10.1996  ccsSHManager default to 50.000 to cope with increased CDTs
    0  1  Y  N  N  A  N  100  128   ccsSHManager -s 50000
#    
    7  1  N  N  N  A  N    1  128   RtapDbStartup
#
#RtapDbStartup requests to proceed to next phase. i.e. phase 2
#
   58  0  N  E  N  A  N   80  128   RtapMQDBM
    9  2  N  Y  N  A  N    1  128   RtapDbCfServer
#
# Process that handle plot & history tables
#
   20  2  Y  N  N  N  N   100 128   sampHistInit
   21  2  Y  N  N  N  N   100 128   sampPlotInit

# Miscellaneous Tasks which may have to be performed.
#
    0  2  N  P  N  N  E  100  128   logManager
#
# WARNING: on empty databases the RtapScanMngr MUST be started with -f 300
#          Later on, once scan configuration has been performed, a
#          factor -f 4 is enough. When more scan links will be used, this
#          might have to be reduced again.

   10  2  Y  N  N  A  N   20  128   RtapScanMngr -f 300
# To be tried after confirmation of necessary space
#   10  2  Y  N  N  A  N   20  128   RtapScanMngr -m 100000
#   10  2  Y  N  N  A  N   20  128   RtapScanMngr -f 4
# CCS tasks
   11  0  Y  N  N  Y  Y    1  128   ccsScan
    0  0  Y  N  N  Y  Y    1  128   scanOut
    0  0  N  N  N  N  N    1  128   scanConfig
    0  2  N  E  N  A  N  100  128   envsKill
   13  2  N  N  N  A  N  100  128   msgServer
   14  2  N  P  N  N  N  100  128   cmdManager
    0  0  N  N  Y  A  N  100  128   cmdSetup
    0  0  N  N  N  Y  N  100  128   accServer
    0  0  N  N  N  N  N  100  128   bookServer
#
#  Rtap utilities
#
# New Rtap processes for handling of alarms have been added hereafter.
# Once the environment is started, an alarm display can be invoked with
# one of the run strings:
#   history mode: RtapASDisplay -c -H 40 -F All &
#   summary mode: RtapASDisplay &
#*********************************************************************
   15  2  Y  P  N  A  N  100  128   RtapASServer
    0  0  Y  N  N  A  N  100  128   RtapASDisplay
# the next entry is for logging of alarms.
# REMARK:
# rtap must be able to create/write the file "alarmsLog" in the environment
# directory.
#
   16  2  N  N  N  A  N  100  128   RtapASLogger -f alarmsLog -F All   
   17  2  Y  P  N  A  N   50  128   RtapDHMngr
   18  0  N  N  N  A  N    1  128   RtapDHConfig
    0  0  N  N  Y  A  N    1  128   RtapDHStatus
    0  0  N  N  Y  A  N    1  128   RtapTPConfig
   19  0  Y  N  N  A  N   40  128   RtapCmdServer
    0  0  N  N  N  A  N    1  128   RtapCmdSched
    0  0  N  N  Y  A  N    1  128   RtapRpBuilder
    0  0  N  N  N  A  N    1  128   RtapDbConfig
    0  0  N  Y  Y  A  N    1  128   RtapPtDisplay
    0  0  N  Y  Y  A  N    1  128   RtapPtSelector
    0  0  N  N  Y  A  N    1  128   RtapDbLoader
    0  0  N  N  Y  A  N    1  128   RtapDbUnloader

    0  0  N  Y  Y  A  N    1  128   RtapPlotDisp -s -p -q
#
# Applications
#
    0  0  N  N  N  N  N    1  128   dbRead
    0  0  N  N  N  N  N    1  128   dbWrite

#
#___oOo___
