Setting Storages configuration#
To correctly prepare the environment, you need to configure the Storages configuration so that the utility can interact with various services, databases, buckets and other resources. The required Storages settings can be specified using:
- Storages service configuration file.
- Running Configurator service (during update/downgrade).
The method for transferring settings is specified using the arguments of the corresponding commands (see below). If no argument is given, the Storages utility will use the default configuration file. If both arguments are given, priority will be given to receiving settings from the running Configurator service.
Using Storages configuration file
By default, the configuration file is located in the Storages container. If you need to specify settings other than the default settings, you can change a copy of the default configuration file located in the distribution package at the path luna_v.5.84.0/extras/conf/storages_config.conf
and specify it using the argument --config. The configuration file must also be mounted to the Storages container.
This method is listed as an example in the installation and upgrade manuals using Storages.
Using settings from running Configurator service
The address of the running Configurator service is passed in the --luna-config argument of the corresponding command.
This method requires preliminary preparation of the environment for the new version of the Configurator service. An example of using this method is given in the section "Environment upgrade scenario".