From: Tom Clegg Date: Tue, 26 Apr 2022 19:14:50 +0000 (-0400) Subject: 18794: Recommend "arvados-server check" after upgrade/config change. X-Git-Tag: 2.5.0~184^2~15 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/7edeceb6f2a768b37ee09500f8c87ca6a2fb0be6 18794: Recommend "arvados-server check" after upgrade/config change. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- diff --git a/doc/_includes/_restart_api.liquid b/doc/_includes/_restart_api.liquid index c3e0330b87..d6c5c3433e 100644 --- a/doc/_includes/_restart_api.liquid +++ b/doc/_includes/_restart_api.liquid @@ -1,8 +1,15 @@ +{% comment %} +Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: CC-BY-SA-3.0 +{% endcomment %} + h2(#restart-api). Restart the API server and controller *Make sure the cluster config file is up to date on the API server host* then restart the API server and controller processes to ensure the configuration changes are visible to the whole cluster.
# systemctl restart nginx arvados-controller
+# arvados-server check
 
diff --git a/doc/admin/maintenance-and-upgrading.html.textile.liquid b/doc/admin/maintenance-and-upgrading.html.textile.liquid index 0d517fe915..3cc80a3560 100644 --- a/doc/admin/maintenance-and-upgrading.html.textile.liquid +++ b/doc/admin/maintenance-and-upgrading.html.textile.liquid @@ -50,6 +50,8 @@ h3(#restart). Restart the services affected by the change If you know which Arvados service uses the specific configuration that was modified, restart those services. When in doubt, restart all Arvados system services. +To check for services that have not restarted since the configuration file was updated, run the @arvados-server check@ command on each system node. + h2(#upgrading). Upgrading Arvados Upgrading Arvados typically involves the following steps: @@ -61,4 +63,6 @@ Upgrading Arvados typically involves the following steps: # rebuild and deploy the "compute node image":{{site.baseurl}}/install/crunch2-cloud/install-compute-node.html (cloud only) # Install new packages using @apt-get upgrade@ or @yum upgrade@. # Wait for package installation scripts as they perform any necessary data migrations. +# Run @arvados-server config-check@ to detect configuration errors or deprecated entries. # Verify that the Arvados services were restarted as part of the package upgrades. +# Run @arvados-server check@ to detect services that did not restart properly. diff --git a/doc/install/install-api-server.html.textile.liquid b/doc/install/install-api-server.html.textile.liquid index 7d0353c9e7..6c3eabba4f 100644 --- a/doc/install/install-api-server.html.textile.liquid +++ b/doc/install/install-api-server.html.textile.liquid @@ -211,8 +211,7 @@ Confirm working Rails API server: Confirm that you can use the system root token to act as the system root user: -

-$ curl -H "Authorization: Bearer $system_root_token" https://ClusterID.example.com/arvados/v1/users/current
+
$ curl -H "Authorization: Bearer $system_root_token" https://ClusterID.example.com/arvados/v1/users/current
 
h3. Troubleshooting