Project

General

Profile

Installing controller service » History » Version 1

Tom Clegg, 06/15/2018 04:27 PM

1 1 Tom Clegg
h1. Installing controller service
2
3
Add to "upgrading to master" section of doc.arvados.org:
4
* Create /etc/arvados/config.yml on your API server node, if you haven't already
5
* Add to /etc/arvados/config.yml: <pre><code class="yaml">
6
Clusters:
7
  {your-uuid-prefix}:
8
    SystemNodes:
9
      *:
10
        arvados-controller:
11
          Listen: ":9004" # choose a port
12
        arvados-api-server:
13
          Listen: ":8000" # must match Rails server port in your Nginx config
14
</code></pre>
15
* Install the arvados-controller package on your API server node
16
* Update your Nginx configuration so incoming traffic for $ARVADOS_API_HOST is routed to port 9004 (or whichever port you chose for arvados-controller in your config).
17
** Add: <pre>
18
upstream arvados-controller {
19
  server                  127.0.0.1:9004;
20
}
21
</pre>
22
** Update server section that currently forwards traffic to @http://api@: <pre><code class="diff">
23
 server {
24
   listen                  [your public IP address]:443 ssl;
25
   server_name             uuid_prefix.your.domain;
26
   # ...
27
   location  / {
28
-    proxy_pass            http://api;
29
+    proxy_pass            http://arvados-controller;
30
     # ...
31
   }
32
 }
33
</code></pre>
34
35
Update install docs:
36
* Add arvados-controller to the list of deb/rpm packages to install
37
* Create /etc/arvados/config.yml (as above)
38
* If using systemd, run @systemctl start arvados-controller@ and confirm running status
39
* If not using systemd, set up a supervised service using runit