X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/4415cbfb461d331af78257838a91d1c1f3d9bb41..102df19458ef2c97d1ef4ba0e571e3204d7073e6:/doc/install/install-ws.html.textile.liquid?ds=sidebyside diff --git a/doc/install/install-ws.html.textile.liquid b/doc/install/install-ws.html.textile.liquid index 2a0baa7506..f3319fa4cc 100644 --- a/doc/install/install-ws.html.textile.liquid +++ b/doc/install/install-ws.html.textile.liquid @@ -26,7 +26,7 @@ Edit the cluster config at @/etc/arvados/config.yml@ and set @Services.Websocket
    Services:
       Websocket:
         InternalURLs:
-	  "http://ws.ClusterID.example.com:8005": {}      
+	  "http://ws.ClusterID.example.com:8005": {}
         ExternalURL: wss://ws.ClusterID.example.com/websocket
 
@@ -63,55 +63,13 @@ server { } -h2(#install-packages). Install arvados-ws +{% assign arvados_component = 'arvados-ws' %} -h3. Centos 7 +{% include 'install_packages' %} - -
# yum install arvados-ws
-
-
- -h3. Debian and Ubuntu - - -
# apt-get --no-install-recommends install arvados-ws
-
-
- -h3. Start the service - -If your system does not use systemd, skip this section and follow the "runit instructions":#runit instead. +{% include 'start_service' %} -If your system uses systemd, the arvados-ws service should already be set up. Start it and check its status: - - -
~$ sudo systemctl restart arvados-ws
-~$ sudo systemctl status arvados-ws
-● 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/
- Main PID: 9421 (arvados-ws)
-   CGroup: /system.slice/arvados-ws.service
-           └─9421 /usr/bin/arvados-ws
-
-Dec 06 11:20:48 zzzzz arvados-ws[9421]: {"level":"info","msg":"started","time":"2016-12-06T11:20:48.207617188-05:00"}
-Dec 06 11:20:48 zzzzz arvados-ws[9421]: {"Listen":":9003","level":"info","msg":"listening","time":"2016-12-06T11:20:48.244956506-05:00"}
-Dec 06 11:20:48 zzzzz systemd[1]: Started Arvados websocket server.
-
-
- -If it is not running, use @journalctl@ to check logs for errors: - - -
~$ sudo journalctl -n10 -u arvados-ws
-...
-Dec 06 11:12:48 zzzzz systemd[1]: Starting Arvados websocket server...
-Dec 06 11:12:48 zzzzz arvados-ws[8918]: {"level":"info","msg":"started","time":"2016-12-06T11:12:48.030496636-05:00"}
-Dec 06 11:12:48 zzzzz arvados-ws[8918]: {"error":"pq: password authentication failed for user \"arvados\"","level":"fatal","msg":"db.Ping failed","time":"2016-12-06T11:12:48.058206400-05:00"}
-
-
+{% include 'restart_api' %} h2(#restart-api). Restart the API server and controller @@ -122,7 +80,7 @@ After adding the SSO server to the Services section, make sure the cluster confi -h3(#confirm). Confirm working installation +h2(#confirm). Confirm working installation Confirm the service is listening on its assigned port and responding to requests.