X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8e1e7e6bf355eb0f1defc7278f1434c393a75a75..4abdedc4baddd6ed80b180b8820fba19068c1c3a:/doc/install/install-crunch-dispatch.html.textile.liquid?ds=inline diff --git a/doc/install/install-crunch-dispatch.html.textile.liquid b/doc/install/install-crunch-dispatch.html.textile.liquid index d632f9bbd6..b89d42b3cb 100644 --- a/doc/install/install-crunch-dispatch.html.textile.liquid +++ b/doc/install/install-crunch-dispatch.html.textile.liquid @@ -58,7 +58,12 @@ On Debian-based systems: -On Red Hat-based systems, "install SLURM and munge from source following their installation guide":https://computing.llnl.gov/linux/slurm/quickstart_admin.html. +On Red Hat-based systems: + + +
~$ sudo yum install slurm munge
+
+
Now we need to give SLURM a configuration file in @/etc/slurm-llnl/slurm.conf@. Here's an example: @@ -163,7 +168,9 @@ To dispatch Arvados jobs: * @crunch-job@ needs the installation path of the Perl SDK in its @PERLLIB@. * @crunch-job@ needs the @ARVADOS_API_HOST@ (and, if necessary, @ARVADOS_API_HOST_INSECURE@) environment variable set. -We recommend you run @crunch-dispatch.rb@ under "runit":http://smarden.org/runit/ or a similar supervisor. Here's an example runit service script: +Install runit to monitor the Crunch dispatch daemon. {% include 'install_runit' %} + +Install the script below as the run script for the Crunch dispatch service, modifying it as directed by the comments.
#!/bin/sh
@@ -175,6 +182,7 @@ rvmexec=""
 
 export ARVADOS_API_HOST=uuid_prefix.your.domain
 export CRUNCH_DISPATCH_LOCKFILE=/var/lock/crunch-dispatch
+export HOME=$(pwd)
 export RAILS_ENV=production
 
 ## Uncomment this line if your cluster uses self-signed SSL certificates: