Administering a multi-region object deployment environment
Use the following information to administer a multi-region object deployment environment.
A multi-region environment consists of several independent storage clusters that are linked together to provide unified object access. Configuration changes in one cluster that affect the multi-region environment are not automatically distributed to all clusters.
The cluster that makes the configuration change must export the relevant multi-region data. Then, the other regions must import that data to synchronize the multi-region configuration. Changes that affect multi-region are:
- Changes to the CES IP pool, such as adding or deleting addresses, which affect the ring layout.
- Changes to the object services ports used for the account, container, and object servers (ports 6200-6202).
- Creation, deletion, or modification of storage policies.
- Changes to the swift.conf configuration file.
Use the following commands to manage the configuration of the multi-region environment:
As part of the export or import commands, a region checksum
is printed. This
checksum
can be used to ensure that the regions are synchronized. If the
checksums
values match, then the multi-region configuration of the clusters match.
In some cases, the checksums
do not match after import. The
checksums
do not match because the cluster that imports have local configuration
changes that are synchronized with the other regions. For example, a storage policy was created but
the multi-region configuration was not synchronized with the other regions. If that happens, the
import command prints a message that the regions are not fully synchronized because of the local
configuration and that the region data must be exported and imported to the other regions. After all
regions have matching checksums
, the multi-region environment is synchronized.
An existing region can be removed from the multi-region environment. This action permanently removes the region configuration, and the associated cluster cannot rejoin the multi-region environment.
The cluster of the removed region needs to disable object services because it is usable as a standalone object deployment.