Fix 2.4.2 upgrade notes formatting refs #19330
[arvados.git] / doc / admin / maintenance-and-upgrading.html.textile.liquid
1 ---
2 layout: default
3 navsection: installguide
4 title: Maintenance and upgrading
5 ...
6 {% comment %}
7 Copyright (C) The Arvados Authors. All rights reserved.
8
9 SPDX-License-Identifier: CC-BY-SA-3.0
10 {% endcomment %}
11
12 # "Commercial support":#commercial_support
13 # "Maintaining Arvados":#maintaining
14 ## "Modification of the config.yml file":#configuration
15 ## "Distributing the configuration file":#distribution
16 ## "Restart the services affected by the change":#restart
17 # "Upgrading Arvados":#upgrading
18
19 h2(#commercial_support). Commercial support
20
21 Arvados is "100% open source software":{{site.baseurl}}/user/copying/copying.html. Anyone can download, install, maintain and upgrade it. However, if this is not something you want to spend your time and energy doing, "Curii Corporation":https://curii.com provides managed Arvados installations as well as commercial support for Arvados. Please contact "info@curii.com":mailto:info@curii.com for more information.
22
23 If you'd prefer to do things yourself, a few starting points for maintaining and upgrading Arvados can be found below.
24
25 h2(#maintaining). Maintaining Arvados
26
27 After Arvados is installed, periodic configuration changes may be required to adapt the software to your needs. Arvados uses a unified configuration file, which is normally found at @/etc/arvados/config.yml@.
28
29 Making a configuration change to Arvados typically involves three steps:
30
31 * modification of the @config.yml@ file
32 * distribution of the modified file to the machines in the cluster
33 * restarting of the services affected by the change
34
35 h3(#configchange). Modification of the @config.yml@ file
36
37 Consult the "configuration reference":{{site.baseurl}}/admin/config.html or another part of the documentation to identify the change to be made.
38
39 Preserve a copy of your existing configuration file as a backup, and make the desired modification.
40
41 Run @arvados-server config-check@ to make sure the configuration file has no errors and no warnings.
42
43 h3(#distribution). Distribute the configuration file
44
45 We recommend to keep the @config.yml@ file in sync between all the Arvados system nodes, to avoid issues with services running on different versions of the configuration.
46
47 Distribution of the configuration file can be done in many ways, e.g. scp, configuration management software, etc.
48
49 h3(#restart). Restart the services affected by the change
50
51 If you know which Arvados service uses the specific configuration that was modified, restart those services. When in doubt, restart all Arvados system services.
52
53 To check for services that have not restarted since the configuration file was updated, run the @arvados-server check@ command on each system node.
54
55 h2(#upgrading). Upgrading Arvados
56
57 Upgrading Arvados typically involves the following steps:
58
59 # consult the "upgrade notes":{{site.baseurl}}/admin/upgrading.html and the "release notes":https://arvados.org/releases/ for the release you want to upgrade to
60 # Wait for the cluster to be idle and stop Arvados services.
61 # Make a backup of your database, as a precaution.
62 # update the configuration file for the new release, if necessary (see "Maintaining Arvados":#maintaining above)
63 # rebuild and deploy the "compute node image":{{site.baseurl}}/install/crunch2-cloud/install-compute-node.html (cloud only)
64 # Install new packages using @apt-get upgrade@ or @yum upgrade@.
65 # Wait for package installation scripts as they perform any necessary data migrations.
66 # Run @arvados-server config-check@ to detect configuration errors or deprecated entries.
67 # Verify that the Arvados services were restarted as part of the package upgrades.
68 # Run @arvados-server check@ to detect services that did not restart properly.