Project

General

Profile

File Server Setup Considerations Shared » History » Revision 7

Revision 6 (Anchi Cheng, 12/05/2011 08:51 AM) → Revision 7/14 (Anchi Cheng, 07/11/2014 11:37 AM)

h1. File Server Setup Considerations 

 A specific file tree structure has been assumed as default in Appion/Leginon.    Until v2.2 release, this can not be altered.    Here is a description of it: 

 # Leginon default image path is defined in [[Configure leginoncfg|leginon.cfg]].    The acceptable form is */your_file_server_mount_point/whatever/leginon*.    The images are saved by sessionname under subdirectory of this directory in a form such as  
 */your_file_server_mount_point/whatever/leginon/sessionname/rawdata/*. 
 # Leginon DD movie frames path is defined relative to the Leginon image path once it is set for the session.    In the case of the above example, the resulting path is 
 */your_file_server_mount_point/whatever/frames/sessionname/rawdata/*. 
 # Appion processing is default under appion directory parrallel to leginon directory, i.e., /your_file_server_mount_point/whatever/appion.    This relationship is hard-coded until v2.2 release.    In later releases, the parent directory can be set differently in the webserver myamiweb config.php.    The processing are divided by sessionname and then processingtype and then runname of the process.    Therefore, your processing results are saved in the following default appion path: */your_file_server_mount_point/whatever/appion/sessionname/processing_type/runname/* 

 The following permission rule is required for multi-unix-user usage of Leginon/Appion: 

 For Leginon: 

 # The web server apache user need to have read permission to all images in the rawdata directories in order to display them in the viewer. 
 # all users need to have permission to create directory in */your_file_server_mount_point/whatever/leginon* 
 # If DD frames are saved and managed by Leginon, the user running the frame rawtransfer.py need to have permission to create directory in */your_file_server_mount_point/whatever/frames* 
 # all users need to have read permission in a leginon rawdata directory that contains reference images. 
 # Users need to have write permission to the session they created, of course. 

 For Appion: 

 # Images uploaded to Appion is considered as a Leginon session.    See above for its file tree structure. 
 # The web server apache user need to have read permission to processing directories to display the results. 
 # All users need to have permission to create directory in */your_file_server_mount_point/whatever/appion* 
 # If more than one user will be processing data in the same session, they all need write permission to the session directory */your_file_server_mount_point/whatever/appion/sessionname/*