use the same API host for all examples
[arvados.git] / doc / install / install-crunch-dispatch.textile
index bdc63d871bc6344816b3b5a9a4878f6c2d1240ab..e95f807f8876488f3eef5e9b82b0ed6c7d8f4fd0 100644 (file)
@@ -7,6 +7,8 @@ navorder: 3
 
 h1. Crunch setup
 
+The dispatcher normally runs on the same host/VM as the API server.
+
 h4. Perl SDK dependencies
 
 * @apt-get install libjson-perl libwww-perl libio-socket-ssl-perl libipc-system-simple-perl@
@@ -24,6 +26,10 @@ On compute nodes:
 
 * @pip install --upgrade pyvcf@
 
+h4. Redis
+
+* @apt-get install redis-server@
+
 h4. Repositories
 
 Crunch scripts must be in git repositories in @/var/cache/git/*/.git@ (or whatever is configured in @services/api/config/environments/production.rb@).
@@ -72,7 +78,7 @@ Example @/var/service/arvados_crunch_dispatch/run@ script:
 set -e
 export PATH="$PATH":/path/to/arvados/services/crunch
 export PERLLIB=/path/to/arvados/sdk/perl/lib:/path/to/warehouse-apps/libwarehouse-perl/lib
-export ARVADOS_API_HOST=xyzzy.arvadosapi.com
+export ARVADOS_API_HOST={{ site.arvados_api_host }}
 
 ## Only if your SSL cert is unverifiable:
 # export ARVADOS_API_HOST_INSECURE=yes