From 3111f080bcc4a747672ff1407906c112e063c23a Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Mon, 8 Mar 2021 12:48:13 -0500 Subject: [PATCH] doc/rgw: document zone features Signed-off-by: Casey Bodley --- doc/radosgw/multisite.rst | 60 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/doc/radosgw/multisite.rst b/doc/radosgw/multisite.rst index b216164d5d360..5f2ffbd331ab2 100644 --- a/doc/radosgw/multisite.rst +++ b/doc/radosgw/multisite.rst @@ -1489,5 +1489,65 @@ instance. +-------------------------------------+-----------------------------------+---------+-----------------------+ +Zone Features +============= + +Some multisite features require support from all zones before they can be enabled. Each zone lists its ``supported_features``, and each zonegroup lists its ``enabled_features``. Before a feature can be enabled in the zonegroup, it must be supported by all of its zones. + +On creation of new zones and zonegroups, all known features are supported/enabled. After upgrading an existing multisite configuration, however, new features must be enabled manually. + +Supported Features +------------------ + ++---------------------------+---------+ +| Feature | Release | ++===========================+=========+ +| :ref:`feature_resharding` | Quincy | ++---------------------------+---------+ + +.. _feature_resharding: + +resharding +~~~~~~~~~~ + +Allows buckets to be resharded in a multisite configuration without interrupting the replication of their objects. When ``rgw_dynamic_resharding`` is enabled, it runs on each zone independently, and zones may choose different shard counts for the same bucket. When buckets are resharded manunally with ``radosgw-admin bucket reshard``, only that zone's bucket is modified. A zone feature should only be marked as supported after all of its radosgws and osds have upgraded. + + +Commands +----------------- + +Add support for a zone feature +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On the cluster that contains the given zone:: + + $ radosgw-admin zone modify --rgw-zone={zone-name} --enable-feature={feature-name} + $ radosgw-admin period update --commit + +Remove support for a zone feature +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On the cluster that contains the given zone:: + + $ radosgw-admin zone modify --rgw-zone={zone-name} --disable-feature={feature-name} + $ radosgw-admin period update --commit + +Enable a zonegroup feature +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On any cluster in the realm:: + + $ radosgw-admin zonegroup modify --rgw-zonegroup={zonegroup-name} --enable-feature={feature-name} + $ radosgw-admin period update --commit + +Disable a zonegroup feature +~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +On any cluster in the realm:: + + $ radosgw-admin zonegroup modify --rgw-zonegroup={zonegroup-name} --disable-feature={feature-name} + $ radosgw-admin period update --commit + + .. _`Pools`: ../pools .. _`Sync Policy Config`: ../multisite-sync-policy -- 2.39.5