File:  [TIS-4000 Rel T60] / scripts / starttis4000
Revision 1.3: download - view: text, annotated - select for diffs
Fri Sep 1 11:36:57 2000 UTC (17 years, 3 months ago) by tis4000
Branches: MAIN
CVS tags: LMC_baseline, HEAD, Duluth_baseline
Added call to startJava. Documented calls. - Steel

#!/bin/csh
##################################################################
#  /tis4000/tasks/starttis4000
#
#  Purpose:  Startup the TIS4000 System.
#
#    Modification Log:
#
#    Date      Person     Change
#    ----      ------     ------
#
#################################################################
#
setenv HOME /tis4000
cd /tis4000
source .cshrc

umask 000
limit descriptors 200
limit coredumpsize unlimited
setenv host `/usr/ucb/hostname`
#
#	Begin the TIS4000 software
#
echo
echo "Reindex the alarmlog file...."
cd /tis4000db
/tis4000/tasks/dbFix -x alarmlog.dbf
/tis4000/tasks/dbFix -x op_trak.dbf
/tis4000/tasks/dbFix -x alarmlog.dbf
/tis4000/tasks/dbFix -x op_trak.dbf
#
echo
echo "Checking for Channel Access data file...."
/tis4000/tasks/dbTree
#
#echo "Entering startup audit item"
#/tis4000/tasks/auditReport -c 64 -s 4 -e "Workstation DAS system started"
#echo
#
echo "Starting channelAccess...."
/tis4000/tasks/channelAccess &
#
sleep 30
#
# Starting dbClient, see documentation for dbClient start-up
#    -r allows download to iocs and connect to dataVu
#	/tis4000/tasks/dbClient -r >/dev/null &
#    same as -r but also connect to workstation amsop1
#	/tis4000/tasks/dbClient -r amsop1 >/dev/null &
#    same as -r but with debug level set to 3
#	/tis4000/tasks/dbClient -v3 -r &
#    no connect except to workstations amsop1 and amsop2
#	/tis4000/tasks/dbClient -- amsop1 amsop2  > /dev/null &	
echo "Starting dbClient -r..."
/tis4000/tasks/dbClient -r >/dev/null &
#
#echo "Starting hsync..."
#/tis4000/tasks/hsync -x 300 snwseng1 snwseng2 &
#
# Starting alarmMgr, see documentation for startup options
#	/tis4000/tasks/alarmMgr &
#	/tis4000/tasks/alarmMgr -f /tis4000/ims/alarms &
#
echo "Starting alarmMgr..."
/tis4000/tasks/alarmMgr &
#
sleep 15
#Temporary alarmMgr line
#/tis4000/tasks/alarmMgr -f /tis4000/ims/alarms &
#
# Starting alarmTalk and connect to the DECtalk
# device via the Milan Print Server 1 - Serial Port 1 (snwsps4b:2020)
# in the Operator Control Room.
#
#echo "Starting alarmTalk..."
#echo ""
#/tis4000/tasks/alarmTalk snwsps4b:2020 >/dev/null &
#sleep 60;
#
# Starting Trending and odss
#
echo "Starting Historical Trending..."
echo ""
/tis4000/tasks/trendProcessor &
sleep 15
#
/tis4000/tasks/trendServer &
sleep 15
#
#echo "Starting Historical Oracle Trending..."
#echo ""
#/tis4000/tasks/oracleTrendProcessor &
#sleep 15
#
#/tis4000/tasks/oracleTrendServer &
#sleep 15
#
# Starting odss
#
#echo "Starting odss..."
#echo ""
#/tis4000/tasks/odss &
#sleep 15
#
# Starting tisCard 
#
#echo "Starting tisCard on $host ..."
#echo ""
#setenv DISPLAY:0.0
#setenv LD_LIBRARY_PATH /usr/dt/lib
#/tis4000/tasks/tisCard &
#sleep 5
#
# Temporarilyo Only start dpa and png2
#
#echo Starting ping program ....
#/tis4000/tasks/png2 -m 60 &
#sleep 15
#
#echo Starting dpa ....
#/tis4000/tasks/dpa &
#sleep 5
#
sleep 5
#
#echo "Starting Host RTU Communications Watchdog..."
#echo ""
#/tis4000/snws_scripts/host-rtu-comm >/dev/null &
#
#sleep 5
#
echo "Starting java servers ...."
pushd /tis4000/tasks
startJava
popd


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>