Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure a workflow scheduler on Test
- Loading branch information
Showing
5 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
env/common/templates/galaxy/config/workflow_schedulers_conf.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0"?> | ||
<workflow_schedulers default="core"> | ||
<core id="core" /> | ||
<handlers default="schedulers"> | ||
{%- for i in range(galaxy_workflow_scheduler_count) %} | ||
|
||
<handler id="{{ galaxy_host_codename }}_workflow_scheduler0" tags="schedulers"/> | ||
{%- endfor %} | ||
|
||
</handlers> | ||
</workflow_schedulers> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
env/common/templates/supervisor/galaxy_workflow_scheduler.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
;; | ||
;; This file is maintained by Ansible - CHANGES WILL BE OVERWRITTEN | ||
;; | ||
|
||
[program:galaxy_workflow_scheduler] | ||
command = /usr/bin/sg {{ galaxy_system_group }} '{{ galaxy_venv_dir }}/bin/python ./scripts/galaxy-main -c {{ galaxy_config_dir }}/galaxy.ini --server-name={{ galaxy_host_codename }}_workflow_scheduler%(process_num)s' | ||
directory = {{ galaxy_server_dir }} | ||
process_name = workflow_scheduler%(process_num)s | ||
numprocs = {{ galaxy_workflow_scheduler_count }} | ||
umask = 022 | ||
autostart = true | ||
autorestart = true | ||
startsecs = 30 | ||
user = {{ galaxy_user }} | ||
environment = HOME={{ ('~' ~ galaxy_user) | expanduser }},VIRTUAL_ENV={{ galaxy_venv_dir }},PATH={{ galaxy_venv_dir }}/bin:/cvmfs/{{ galaxy_instance_codename }}.galaxyproject.org/deps/_conda/envs/set_meta/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin,PYTHONPATH={{ galaxy_dynamic_rule_dir }} | ||
stdout_logfile = {{ galaxy_log_dir }}/workflow_scheduler%(process_num)s.log | ||
stdout_logfile_maxbytes = 128MB | ||
stdout_logfile_backups = 64 | ||
redirect_stderr = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
env/test/templates/galaxy/config/workflow_schedulers_conf.xml.j2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../../../common/templates/galaxy/config/workflow_schedulers_conf.xml.j2 |