Yerba
Summary
Yerba is the job execution engine used by CoGe. For more details on why the job engine is used by CoGe refer to Job Execution Framework.
Installation
For installation instructions please refer to the github repository or the README.md in the repository.
To clone the repository run the command:
git clone https://github.com/LyonsLab/Yerba.git
Usage
Yerba has two components the job daemon yerbad and the command line client yerba. The job daemon is started started when the server is first booted. Additionally, cctool's catalog and worker pool need to be running. yerba' is a command line interface to the job engine to check the status of the job engine. More features are planned in the future.
yerbad
To start the job engine you need to start each script.
sudo /etc/init.d/catalog_server start sudo /etc/init.d/work_queue_pool start sudo start yerba
yerba
This command currently only checks for a response from the job engine.
$YERBA_DIR/bin/yerba
Another method to check the status of the job engine is:
sudo /etc/init.d/yerba status
CoGe yerba utilities
CoGe has several utilities that provide functionality beyond the scope of the job engine.
update_jobs
This script keeps the CoGe jobs table up to date. By default the command will perform a dry run and not update the database.
coge/scripts/update-jobs coge.conf
To update the database the command can then be ran with the update argument.
coge/scripts/update-jobs coge.conf --update