keep.py: python-api https certificate align pycurl with httplib2 certificate finder
[arvados.git] / doc / install / crunch2-slurm / install-compute-node.html.textile.liquid
index 19f86623015880727ff909ac0f64604c879be938..e93332c92cb5b0081d58720898d93ac113defc84 100644 (file)
@@ -3,37 +3,40 @@ layout: default
 navsection: installguide
 title: Set up a compute node
 ...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
 
-h2. Install dependencies
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
 
-First, "add the appropriate package repository for your distribution":{{ site.baseurl }}/install/install-manual-prerequisites.html#repos.
+# "Introduction":#introduction
+# "Set up Docker":#docker
+# "Update fuse.conf":#fuse
+# "Update docker-cleaner.json":#docker-cleaner
+# "Configure Linux cgroups accounting":#cgroups
+# "Install Docker":#install_docker
+# "Configure the Docker daemon":#configure_docker_daemon
+# "Install'python-arvados-fuse and crunch-run and arvados-docker-cleaner":#install-packages
 
-{% include 'note_python_sc' %}
+h2(#introduction). Introduction
 
-On CentOS 6 and RHEL 6:
+This page describes how to configure a compute node so that it can be used to run containers dispatched by Arvados.
 
-<notextile>
-<pre><code>~$ <span class="userinput">sudo yum install python27-python-arvados-fuse crunch-run arvados-docker-cleaner</span>
-</code></pre>
-</notextile>
+* If you are using the cloud dispatcher, apply these step and then save a compute node virtual machine image.  The virtual machine image id will go in @config.yml@.
+* If you are using SLURM on a static custer, these steps must be duplicated on every compute node, preferrably using a devops tool such as Puppet.
 
-On other Red Hat-based systems:
+h2(#docker). Set up Docker
 
-<notextile>
-<pre><code>~$ <span class="userinput">echo 'exclude=python2-llfuse' | sudo tee -a /etc/yum.conf</span>
-~$ <span class="userinput">sudo yum install python-arvados-fuse crunch-run arvados-docker-cleaner</span>
-</code></pre>
-</notextile>
+See "Set up Docker":../install-docker.html
 
-On Debian-based systems:
-
-<notextile>
-<pre><code>~$ <span class="userinput">sudo apt-get install python-arvados-python-client crunch-run arvados-docker-cleaner</span>
-</code></pre>
-</notextile>
-
-{% include 'install_compute_docker' %}
+{% assign arvados_component = 'python-arvados-fuse crunch-run arvados-docker-cleaner' %}
 
 {% include 'install_compute_fuse' %}
 
 {% include 'install_docker_cleaner' %}
+
+{% include 'install_packages' %}
+
+{% assign arvados_component = 'arvados-docker-cleaner' %}
+
+{% include 'start_service' %}