Project

General

Profile

Buffer(Ingestion) Server setup » History » Revision 2

Revision 1 (Anchi Cheng, 03/11/2019 05:06 PM) → Revision 2/6 (Anchi Cheng, 03/11/2019 05:07 PM)

h1. Buffer(Ingestion) Server setup 

 NRAMM/SEMC uses a redundant system that keeps pre-processing (frame alignment and ctf estimation) independent between each Krios.    The buffer server also has a large enough storage to hold two weeks to a month of movie frames in case primary storage needs service. 

 {{include(NRAMM buffer server hardware)}} 

 The software and configuration requirement is described here: 

 h2. Software requirement for preprocessing 

 The same as any appion processing server. 

 Two files are essential which we run as root all the time. 

 * rawtransfer.py (Found in myami/leginon of your git clone) is used to move the movies from camera computer to the buffer server and change its name to match those of the Leginon sum images 
 * transfermonitor.sh (Found in myami/leginon) is used to move the movies to the primary storage. 

 
 * A third program run as cron job that removes frame movies accumulate on the buffer server after they are expired (Not included). expired. 

 h2. Activate the use of buffer server in leginon database. 

 Run myami/dbschema/tools/buffer_host_setup.py in Leginon environment.