Channel Archiver 
  Introduction 
The channel archiver is usually running on lxg0434 visible to the GSI LAN
  Manuals 
  
  Sources 
  CVS 
 
-  CVS repository  
 -  
:ext:scs@lx-pool.gsi.de:/misc/hadesprojects/slowcontrol/cvsroot
  -  CVS module  
 -  
EPICS/tools/Archiver
 
 
  Tarball (Jan 25, 2013) 
 
-  CVS tarball  
 -  Archiver.tar.bz2
 
 
  Changes / Editing 
   The production directory of the Archiver configuration is at: 
 
-  
~scs/epics_apps/Archiver/config
 
 
   Here you will find several *.cfg configuration files -- for the syntax have a look at the manual -- with the easier (?) to edit pure ASCII Ansatz: 
-  
hadesArchive.cfg 
     The main configuration file including all the other files as groups, and optionally having also ordinary config entries
  -  several task/detector related 
*.cfg
 
 
  Creating the XML code 
               
      cd ~scs/epics_apps/Archiver/config && 
 ConvertEngineConfig.pl -o hadesArchive.xml hadesArchive.cfg
    
                  
  Operation 
  Starting the Channel Archiver Engine on lxg0434 
Since the data is stored on a local disk of 
lxg0434 this service is bound to this machine, but can be easily transfered since besides those data directories everything else is global to GSI.
  via crontab 
   A crontab job of user scs calling ~/epics_apps/Archiver/config/startEngine.crontab.sh is set up, which is called on reboot. 
-  crontab entry: 
-  
@reboot /u/scs/epics_apps/Archvier/config/startEngine.crontab.sh > /tmp/archiver.crontab.start 2>&1
 
 
  -  To change the beamtime, edit the content of the 
startEngine.crontab.sh file.
 
 
  by Hand 
  
  Note : the system produces a lock-file when active and removes it on exit. Incorrect program termination causes the lock-file to stay, that will prevent the data engine from starting next time. 
  NEW : Taken care by engine.sh script on startup, which checks for zombie files and removes them 
  Starting the Channel Archiver Data Server on lxg0434 
  Introduction / Settings 
 The current Channel Archiver Data Server ( StandAloneDataServer ) provides the data taken by the archiver and provides them via RPCXML to clients via a web server.
 It can be accessed via http://lxg0434.gsi.de:<Port>\RPC2.
 It initiates by reading in the file abyss.conf which provides the assignments of the ethernet port number to the corresponding archives 
 and executes for each pair a Stand Alone Data Server - since the abyss server is used only one archiv per server service is allowed, so we have to call multiple server/port. 
 The current (-- PeterZumbruch - 31 May 2012) settings are:
     
  via crontab 
   A crontab job of user scs calling ~/epics_apps/Archiver/StandAloneServer/startServer.crontab.sh is set up, which is called on reboot. 
-  crontab entry: 
-  
@reboot sleep 60 && /u/scs/epics_apps/Archvier/StandAloneServer/startServer.crontab.sh > /tmp/archiver.dataServer.crontab.start 2>&1
 
 
  -  To change the beamtime, edit the content of the 
startServer.crontab.sh file.
 
 
  by Hand 
  
  Backup 
At the moment (26 Apr 2016) the file base channel archiver stores its data to 
scs@lxhadeb06:/data01/scs/archiver.
Therefore two ways of backup are: 
-  daily, 
cron based rsync on lxhadeb07 retrieving the data from lxhadeb06:/data01/scs to lxhadeb07:/data01/scs  
  -  
TSM/DSM backup of lxhadeb06:/data01/scs  
 
 
-- 
PeterZumbruch - 26 Apr 2016