LCLS use of Channel Archiver
Manual
Author's Web Site
EPICS Extensions Download
EPICS Extensions Home Page
EPICS Extensions at LCLS
EPICS at LCLS
Channel Archiver LCLS Groups browser must be run from lcls-prod02 (lclsdmz) to view
Table 1-1 |
Description |
CVS Repository |
CVS Reference Directory |
Source |
[ epics/extensions/src/ChannelArchiver |
http://www.slac.stanford.edu/cgi-wrap/cvsweb/epics/extensions/src/ChannelArchiver/?cvsroot=LCLS ] |
/afs/slac/g/lcls/epics/extensions/src/ChannelArchiver |
Configuration |
[ tools/ChannelArchiver |
http://www.slac.stanford.edu/cgi-wrap/cvsweb/tools/ChannelArchiver/?cvsroot=LCLS ] |
/afs/slac/g/lcls/tools/ChannelArchiver |
Table 1-2 |
Description |
Directory |
Log |
/home/tools/ChannelArchiver |
Note: Log files are accessible from the host lcls-dev only. Log files are not stored in CVS.
The Archiver process runs under the laci account on the hosts listed in Table 1-3 below.
All scripts are located in /afs/slac/g/lcls/tools/ChannelArchiver/script
Table 1-3 |
Host |
Account |
Start Script |
Stop Script |
Watchdog Script |
PV List |
Data Files |
lcls-dev |
laci |
start.archiver |
stop.archiver |
tscron.watchdog |
|
|
Start Archiver
Method 1:
- Log into host lcls-dev from the laci account
- cd $LCLS_TOOLS/channelArchiver/script
- ./start.archiver ArchiveEngineOra
Method 2:
- Log into host lcls-dev from the laci account
Stop Archiver
Method 1:
- Log into host lcls-dev from the laci account
- cd $LCLS_TOOLS/channelArchiver/script
- ./stop.archiver ArchiveEngineOra
Method 2:
- Log into host lcls-dev from the laci account
- Determine the process id to kill by typing the following from the Unix shell ps -ef | grep ArchiveEngineOra
- The process that you want to stop will have "lcls" in the pathname. Once you have determined the correct process id type the following from the Unix shell kill -9 <process_id>
View Status Archiver Process
Archiver Watchdog
The cron job tscron.watchdog is use to monitor the status of the Archive Process running on the host lcls-dev. The cron job generates the log file /tmp/watchdog.log. This log file provides status information for diagnostic purposes only. The cron job also read and write the files listed in Table 1-2 below.
To restart a cron job:
- login directly to lcls-dev from the laci account
- crontab -r
- cd /afs/slac/g/lcls/tools/ChannelArchiver/script
- crontab < crontab.watchdog
Table 1-4 |
Directory: /home/tools/ChannelArchiver/dev/log |
Host Access: lcls-dev |
Filename |
Description |
Access |
archEngine.log |
Archive Engine Log |
read-only |
scannerConfig.txt |
Archiver watchdog config info |
read-only |
logScanner.txt |
Values for the overall health of the Archiver |
read-write |
connectStatus.txt |
Archived PV connection information |
read-write |
System Administration