From: Peter Amstutz Date: Mon, 30 Dec 2019 15:02:36 +0000 (-0500) Subject: Merge branch 'master' into 15572-new-install-docs X-Git-Tag: 2.0.0~72^2~1 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/dc021c3b57dcdebe464c148d55f9990a74e8246b Merge branch 'master' into 15572-new-install-docs Arvados-DCO-1.1-Signed-off-by: Peter Amstutz --- dc021c3b57dcdebe464c148d55f9990a74e8246b diff --cc doc/install/install-ws.html.textile.liquid index b2605d86c6,0db21573e2..e7b20f45a0 --- a/doc/install/install-ws.html.textile.liquid +++ b/doc/install/install-ws.html.textile.liquid @@@ -9,25 -9,58 +9,25 @@@ Copyright (C) The Arvados Authors. All SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} - 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. + 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/arvados/arvados/services/ws for additional information. -By convention, we use the following hostname for the websocket service. +# "Update config.yml":#update-config +# "Update nginx configuration":#update-nginx +# "Install arvados-ws package":#install-packages +# "Start the service":#start-service +# "Restart the API server and controller":#restart-api +# "Confirm working installation":#confirm-working - -
ws.uuid_prefix.your.domain
-
- -The above hostname should resolve from anywhere on the internet. - -h2. Install arvados-ws - -Typically arvados-ws runs on the same host as the API server. - -On Debian-based systems: - - -
~$ sudo apt-get install arvados-ws
 -
-
- -On Red Hat-based systems: - - -
~$ sudo yum install arvados-ws
 -
-
+h2(#configure). Update config.yml -Verify that @arvados-ws@ is functional: +Edit the cluster config at @config.yml@ and set @Services.Websocket.ExternalURL@ and @Services.Websocket.InternalURLs@. Replace @zzzzz@ with your cluster id. -
~$ arvados-ws -h
 -Usage of arvados-ws:
 -  -config path
 -        path to config file (default "/etc/arvados/config.yml")
 -  -dump-config
 -        show current configuration and exit
 -
-
- -h3. Update cluster config - -Edit the cluster config at @/etc/arvados/config.yml@ and set @Services.Websocket.ExternalURL@ and @Services.Websocket.InternalURLs@. Replace @zzzzz@ with your cluster id. - - -
Clusters:
 -  zzzzz:
 -    Services:
 -      Websocket:
 -        ExternalURL: wss://ws.uuid_prefix.your.domain/websocket
 +
    Services:
 +      Websocket:
          InternalURLs:
 -	  "http://localhost:9003": {}
 +	  "http://localhost:8005": {}
 +        ExternalURL: wss://ws.ClusterID.example.com/websocket