X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f721928e89bb06f6df21432da521c9163ff722e3..9fcd7e96ad9ed8c7f3a343663a06ee9cbaa15aa9:/doc/install/install-crunch-dispatch.html.textile.liquid diff --git a/doc/install/install-crunch-dispatch.html.textile.liquid b/doc/install/install-crunch-dispatch.html.textile.liquid index afb67cd874..46ce04289e 100644 --- a/doc/install/install-crunch-dispatch.html.textile.liquid +++ b/doc/install/install-crunch-dispatch.html.textile.liquid @@ -91,13 +91,13 @@ Please make sure to update the value of the @ControlMachine@ parameter to the ho h2. Enable SLURM job dispatch -h4. Crunch user account +In your API server's @application.yml@ configuration file, add the line @crunch_job_wrapper: :slurm_immediate@ under the appropriate section. (The second colon is not a typo. It denotes a Ruby symbol.) -* @adduser crunch@ +h2. Crunch user account -The crunch user should have the same UID, GID, and home directory on all compute nodes and on the dispatcher (api server). +Run @sudo adduser crunch@. The crunch user should have the same UID, GID, and home directory on all compute nodes and on the dispatcher (API server). -h4. Repositories +h2. Git Repositories Crunch scripts must be in Git repositories in the directory configured as @git_repositories_dir@/*.git (see the "API server installation":install-api-server.html#git_repositories_dir). @@ -139,6 +139,10 @@ export PATH="$PATH":/path/to/arvados/services/crunch export ARVADOS_API_HOST={{ site.arvados_api_host }} export CRUNCH_DISPATCH_LOCKFILE=/var/lock/crunch-dispatch +# This is the path to docker on your compute nodes. You might need to +# change it to "docker", "/opt/bin/docker", etc. +export CRUNCH_JOB_DOCKER_BIN=docker.io + fuser -TERM -k $CRUNCH_DISPATCH_LOCKFILE || true ## Only if your SSL cert is unverifiable: