X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2a62b82e96a6f56357e913117e04c36b1ccf7585..d640a546f2cd55cfbd0a959bcfb84be1eecdd6a6:/doc/install/install-ws.html.textile.liquid diff --git a/doc/install/install-ws.html.textile.liquid b/doc/install/install-ws.html.textile.liquid index ffbaf5e81b..f5f816cd79 100644 --- a/doc/install/install-ws.html.textile.liquid +++ b/doc/install/install-ws.html.textile.liquid @@ -3,14 +3,13 @@ layout: default navsection: installguide title: Install the websocket server ... +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. -{% include 'notebox_begin_warning' %} +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} -This websocket server is an alternative to the puma server that comes with the API server. It is available as an *experimental pre-release* and is not recommended for production sites. - -{% include 'notebox_end' %} - -The arvados-ws server provides event notifications to websocket clients. It can be installed anywhere with access to Postgres database and the Arvados API server, typically behind a web proxy that provides SSL support. See the "godoc page":http://godoc.org/github.com/curoverse/arvados/services/keep-web for additional information. +The arvados-ws server provides event notifications to websocket clients. It can be installed anywhere with access to Postgres database and the Arvados API server, typically behind a web proxy that provides SSL support. See the "godoc page":http://godoc.org/github.com/curoverse/arvados/services/ws for additional information. By convention, we use the following hostname for the websocket service. @@ -55,8 +54,7 @@ h3. Create a configuration file Create @/etc/arvados/ws/ws.yml@ using the following template. Replace @xxxxxxxx@ with the "password you generated during database setup":install-postgresql.html#api. -
~$ arvados-ws -h
-Client:
+
Client:
   APIHost: uuid_prefix.your.domain:443
 Listen: ":9003"
 Postgres:
@@ -76,7 +74,7 @@ If your system uses systemd, the arvados-ws service should already be set up. St
 
 
~$ sudo systemctl restart arvados-ws
 ~$ sudo systemctl status arvados-ws
-● arvados-ws.service - Arvados websocket server
+● arvados-ws.service - Arvados websocket server
    Loaded: loaded (/lib/systemd/system/arvados-ws.service; enabled)
    Active: active (running) since Tue 2016-12-06 11:20:48 EST; 10s ago
      Docs: https://doc.arvados.org/
@@ -176,7 +174,9 @@ server {
 }
 
-If Nginx is already configured to proxy @ws@ requests to puma, move that configuration out of the way or change its @server_name@ so it doesn't conflict. +{% include 'notebox_begin' %} +If you are upgrading a cluster where Nginx is configured to proxy @ws@ requests to puma, change the @server_name@ value in the old configuration block so it doesn't conflict. When the new configuration is working, delete the old Nginx configuration sections (i.e., the "upstream websockets" block, and the "server" block that references @http://websockets@), and disable/remove the runit or systemd files for the puma server. +{% include 'notebox_end' %} h3. Update API server configuration @@ -187,7 +187,7 @@ Ensure the websocket server address is correct in the API server configuration f
-Restart the Nginx to reload the API server configuration. +Restart Nginx to reload the API server configuration.
$ sudo nginx -s reload