[Halld-online] [New Logentry] Modifications to run_prestart
davidl at jlab.org
davidl at jlab.org
Sat Dec 13 08:50:03 EST 2014
Logentry Text:
--
Two modifications were made to the $DAQ_HOME/scripts/run_prestart script that is run by the DAQ during the prestart transition:
1. The online monitoring line was uncommented so that online monitoring is once again activated.
2. Creating of the output directory and the symbolic link at $DAQ_HOME/DATA are done via "ssh gluonraid1". This is to address the issue of data files getting placed into the wrong output directories. That happens because the run_prestart script is run on one computer (gluon100) and creates the directory and link on a NFS mounted volume. Sometimes, the changes don't propagate to gluonraid1 where the Event Recorder process runs until after it has tried opening the file. Using ssh to do the operation on gluonraid1 itself should ensure that it's view of the file system is up to date before it tries opening the output file.
The solution to 2. is not final. The system should be modified so that the directory and link creation code is broken off into a separate script that is run on gluonraid1 to handle this part rather than sending just the "mkdir" and "ln -s" commands. The way it is now, all checks on the directory sturcture are done on gluon100 and modifications applied via ssh to gluonraid1. This has the potential of leading to inconsistencies. This will be fixed sometime soon, but the current system should be an improvement over the previous situation.
---
This is a plain text email for clients that cannot display HTML. The full logentry can be found online at https://logbooks.jlab.org/entry/3313467
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.jlab.org/pipermail/halld-online/attachments/20141213/2957956c/attachment.html
More information about the Halld-online
mailing list