Feature #8404
closedallow environment variable replacement of path in leginon.cfg parsing
0%
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.
Updated by Anchi Cheng almost 5 years ago
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
Updated by Shaker Krit over 4 years ago
- 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)
Updated by Swapnil Bhatkar over 4 years ago
- File NYSBC Leginon_Client.bat added
- File NCCAT Leginon_Client.bat added
2 batch files for NCCAT and NYSBC leginon files
Updated by Anchi Cheng about 4 years ago
- Related to Feature #2990: generalize environment variable assigned cfg file path added
Updated by Swapnil Bhatkar about 4 years ago
- File deleted (
NYSBC Leginon_Client.bat)
Updated by Swapnil Bhatkar about 4 years ago
- File deleted (
NCCAT Leginon_Client.bat)