...
ssh
into factotum and edit/data/export/home/hysdsops/verdi/etc/supervisord.conf
Add the following specified to the desired parameters (note some parameters may be different and the parameters are <queue name> and <num workers>):
Code Block [program:<queue name>] directory=/export/home/hysdsops/verdi/ops/hysds environment=HYSDS_ROOT_WORK_DIR="/data/work", HYSDS_DATASETS_CFG="/export/home/hysdsops/verdi/etc/datasets.json" command=celery worker --app=hysds --concurrency=1 --loglevel=INFO -Q <queue name> -n %(program_name)s.%(process_num)02d.%%h -O fair --without-mingle --without-gossip --heartbeat-interval=60 process_name=%(program_name)s-%(process_num)02d priority=1 numprocs=<num workers> numprocs_start=0 redirect_stderr=true stdout_logfile=%(here)s/../log/%(program_name)s-%(process_num)02d.log stdout_logfile_maxbytes=70MB stdout_logfile_backups=5 startsecs=10
Save the file and run the following commands:
supervisorctl reread
supervisorctl update
Verify the changes were applied by seeing if the queue appears as an option in Tosca
For the changes to be permanent, add to factotum’s supervisord.conf on mozart:
/export/home/hysdsops/.sds/files/supervisord.conf.factotum
...