X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/b05be6e2d1db4e63074fc28e978c40a271376f1f..3618d1f8e8a79e7b976fa5df61dc5097d18ff2e4:/doc/admin/config-migration.html.textile.liquid diff --git a/doc/admin/config-migration.html.textile.liquid b/doc/admin/config-migration.html.textile.liquid index 13cd7585b4..fd4942527f 100644 --- a/doc/admin/config-migration.html.textile.liquid +++ b/doc/admin/config-migration.html.textile.liquid @@ -10,7 +10,7 @@ Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} -Arvados is migrating to a centralized configuration file for all components. The centralized Arvados configuration is @/etc/arvados/config.yml@. Components that support the new centralized configuration are listed below. +Arvados is migrating to a centralized configuration file for all components. The centralized Arvados configuration is @/etc/arvados/config.yml@. Components that support the new centralized configuration are listed below. Components not listed here do not yet support centralized configuration. During the migration period, legacy configuration files will continue to be loaded and take precedence over the centralized configuration file. h2. API server @@ -33,10 +33,39 @@ $ bundle exec rake config:diff This command will also report if no migrations are required. +h2. Workbench + +The legacy workbench configuration is stored in @config/application.yml@ and @config/database.yml@. After migration to @/etc/arvados/config.yml@, both of these files should be moved out of the way and/or deleted. + +Change to the workbench server directory and use the following commands: + +
+$ bundle exec rake config:migrate > config.yml
+$ cp config.yml /etc/arvados/config.yml
+
+ +This will print the contents of @config.yml@ after merging with legacy @application.yml@. It may then be redirected to a file and copied to @/etc/arvados/config.yml@. + +If you wish to update @config.yml@ configuration by hand, or check that everything has been migrated, use @config:diff@ to print configuration items that differ between @application.yml@ and the system @config.yml@. + +
+$ bundle exec rake config:diff
+
+ +This command will also report if no migrations are required. + +h2. crunch-dispatch-slurm + +Currently only reads @InstanceTypes@ from centralized configuration. Still requires component-specific configuration file. + +h2. keepstore + +Currently only reads @RemoteClusters@ from centralized configuration. Still requires component-specific configuration file. + h2. arvados-controller -Only supports centralized config file. No migration needed. +Already uses centralized config exclusively. No migration needed. h2. arvados-dispatch-cloud -Only supports centralized config file. No migration needed. +Already uses centralized config exclusively. No migration needed.