Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.eso.org/~qc/dfos/dfosrc.html
Дата изменения: Tue Mar 14 15:01:11 2006 Дата индексирования: Tue Oct 2 01:12:19 2012 Кодировка: Поисковые слова: п п п п п п п п п п п п п п п п п п п п п п п п |
Common DFOS tools:
|
dfos = Data Flow Operations System, the common tool set for DFO |
The initialization file .dfosrc contains all environment variables which are shared amongst DFOS tools. E.g., $DFO_RAW_DIR is the directory root with raw data which may be defined e.g. as /data07/data/raw. Important for the DFOS system is
All common tools can then rely on the same convention. If no DFO variable is defined, the tools will stop. If the variables don't make sense, their reaction is unpredictable. So please check for proper variable settings before submitting problem reports.
Here is the current scheme for sourcing initialisation files on the QC machines:
sourcing sequence: | |||
login: .bashrc | .pecs files | .qcrc | .dfosrc |
The first three steps are all set up by a standard DFS installation. Step number 4 must be enabled by editing .qcrc to contain "source $HOME/.dfosrc" at the end. If set up this way, a single sourcing of .bashrc makes the whole environment available to e.g. a cronjob tool.
printenv | grep DFO
The template file is filled with valid entry for the GIRAFFE
account. Some of the variables don't need to be changed (database server names
etc.).
In general it's a good idea to follow the file structure examplified as close as possible. But for the DFOS tools it is sufficient to have the environment variables defined as such. Likely, a simple replacement of 'dfo03' by your machine name, and 'flames1' by your account name, may already produce a valid system.
Please note that in the present phase of implementation the structure and content of .dfosrc may incrementally change. To make sure that your version is logically compliant with the most recent version, check out the GIRAFFE version here.