Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeMidnight
/nfs/slac/g/lcls/tools/archiver_appliance_automation/lclsResumePausedPVs/lclsResumePausedPVs.log

 


Schedule: Every hour


Description:
Gets a list of PVs that are paused and then resumes the archive request for each active PV.
Optionally, we can pass in a folder with a list of .archive files.
Only those paused PV's which are present in archive files that have been modified recently will be checked.

...


Description:
This is one of the steps used in automation of archiver configuration.
This assumes the requests for the archiver are somehow stored in the IOC (perhaps in INFO fields) and then submitted as archive files.
Archive files are consolidated together into a IOC_DATA like folder and can be identified using a bash glob expression.
Archive files are space/tab separated text files with these rules
1) They can have blank lines
2) They can have comment lines beginning with a #
3) Space/tab separated lines are interpreted as PVName, sampling period (in secs), sampling method (one of scan/monitor).
4) The PVName is mandatory; the other two are optional in which case defaults (optional arguments to this script)  are applied.

 


Example report:

Sent to: controls-software-reports@slac.stanford.edu, ppascual@slac.stanford.edu, bhill@slac.stanford.edu

...


Description:
Gets a list of PVs that are disconnected and then pauses those that have not connected for a specified amount of time.

 


Example report:

Sent to: controls-software-reports@slac.stanford.edu, ppascual@slac.stanford.edu, bhill@slac.stanford.edu

...

Info
Sets IOC_DATA to LCLS production directory (/u1/lcls/epics/ioc/data)