Feature #8404
closed
allow environment variable replacement of path in leginon.cfg parsing
Added by Anchi Cheng almost 5 years ago.
Updated about 4 years ago.
Description
SEMC starts to have more than one data storage system as we expand. We want to allow local staff with the same LDAP to collect to the different system depending on the leginon linux computer they log into.
Usage:
Use ${} to enclose the case sensitive variable name in leginon.cfg. For example
If you login as my_name and have an environment variable setup as
CRYOEM_BIG_STORAGE=data01
Then
[Images]
path: /${CRYOEM_BIG_STORAGE}/${USER}/leginon
is parsed as
[Images]
path: /data01/my_name/leginon
- Status changed from Assigned to Closed
- Status changed from Closed to In Test
The environment variable "CRYOEM_BIG_STORAGE" needs to be set withing "betaleginon" or "nccatleginon".
What changes have to be made for the transfer monitor script?
Anchi's suggestion is to have two different monitoring scripts each monitoring a different directory path (e.g. one for /ingest1data/beegfs another for /ingest1data/gpfs)
- File NYSBC Leginon_Client.bat added
- File NCCAT Leginon_Client.bat added
2 batch files for NCCAT and NYSBC leginon files
- Related to Feature #2990: generalize environment variable assigned cfg file path added
- Status changed from In Test to Closed
- File deleted (
NYSBC Leginon_Client.bat)
- File deleted (
NCCAT Leginon_Client.bat)
Also available in: Atom
PDF