From 30b5989e98c4a18b2e8d4af844f64b6f08cf49a2 Mon Sep 17 00:00:00 2001 From: tgfree Date: Fri, 3 Mar 2023 11:17:59 +0800 Subject: [PATCH] doc/radosgw: multisite - edit "migrating a single-site" Add the import step of the section "Migrating a Single-Site Deployment to Multi-Site" in doc/radosgw/multisite.rst. The field "name" and "api_name" should be matched. Signed-off-by: Qi Tao (cherry picked from commit 579c14055d202429ad25a469c30a3d68e0329391) --- doc/radosgw/multisite.rst | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/radosgw/multisite.rst b/doc/radosgw/multisite.rst index 1c3e58b2a64d0..c7627371de74b 100644 --- a/doc/radosgw/multisite.rst +++ b/doc/radosgw/multisite.rst @@ -770,7 +770,13 @@ to a multi-site system, follow these steps: radosgw-admin zonegroup rename --rgw-zonegroup default --zonegroup-new-name= radosgw-admin zone rename --rgw-zone default --zone-new-name us-east-1 --rgw-zonegroup= -3. Configure the master zonegroup. Replace ```` with the realm name or +3. Rename the default zonegroup's ``api_name``. Replace ```` with the zonegroup name: + + .. prompt:: bash # + + radosgw-admin zonegroup modify --api-name= --rgw-zonegroup= + +4. Configure the master zonegroup. Replace ```` with the realm name or zonegroup name. Replace ```` with the fully qualified domain name(s) in the zonegroup: @@ -778,7 +784,7 @@ to a multi-site system, follow these steps: radosgw-admin zonegroup modify --rgw-realm= --rgw-zonegroup= --endpoints http://:80 --master --default -4. Configure the master zone. Replace ```` with the realm name, zone +5. Configure the master zone. Replace ```` with the realm name, zone name, or zonegroup name. Replace ```` with the fully qualified domain name(s) in the zonegroup: @@ -789,7 +795,7 @@ to a multi-site system, follow these steps: --access-key= --secret= \ --master --default -5. Create a system user. Replace ```` with the username. Replace +6. Create a system user. Replace ```` with the username. Replace ```` with a display name. The display name is allowed to contain spaces: @@ -800,13 +806,13 @@ to a multi-site system, follow these steps: --access-key= \ --secret= --system -6. Commit the updated configuration: +7. Commit the updated configuration: .. prompt:: bash # radosgw-admin period update --commit -7. Restart the Ceph Object Gateway: +8. Restart the Ceph Object Gateway: .. prompt:: bash # -- 2.39.5