Skip to content

Commit 579c140

Browse files
committed
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 <[email protected]>
1 parent 329f496 commit 579c140

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

doc/radosgw/multisite.rst

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -751,15 +751,21 @@ to a multi-site system, follow these steps:
751751
radosgw-admin zonegroup rename --rgw-zonegroup default --zonegroup-new-name=<name>
752752
radosgw-admin zone rename --rgw-zone default --zone-new-name us-east-1 --rgw-zonegroup=<name>
753753

754-
3. Configure the master zonegroup. Replace ``<name>`` with the realm name or
754+
3. Rename the default zonegroup's ``api_name``. Replace ``<name>`` with the zonegroup name:
755+
756+
.. prompt:: bash #
757+
758+
radosgw-admin zonegroup modify --api-name=<name> --rgw-zonegroup=<name>
759+
760+
4. Configure the master zonegroup. Replace ``<name>`` with the realm name or
755761
zonegroup name. Replace ``<fqdn>`` with the fully qualified domain name(s)
756762
in the zonegroup:
757763

758764
.. prompt:: bash #
759765

760766
radosgw-admin zonegroup modify --rgw-realm=<name> --rgw-zonegroup=<name> --endpoints http://<fqdn>:80 --master --default
761767

762-
4. Configure the master zone. Replace ``<name>`` with the realm name, zone
768+
5. Configure the master zone. Replace ``<name>`` with the realm name, zone
763769
name, or zonegroup name. Replace ``<fqdn>`` with the fully qualified domain
764770
name(s) in the zonegroup:
765771

@@ -770,7 +776,7 @@ to a multi-site system, follow these steps:
770776
--access-key=<access-key> --secret=<secret-key> \
771777
--master --default
772778

773-
5. Create a system user. Replace ``<user-id>`` with the username. Replace
779+
6. Create a system user. Replace ``<user-id>`` with the username. Replace
774780
``<display-name>`` with a display name. The display name is allowed to
775781
contain spaces:
776782

@@ -781,13 +787,13 @@ to a multi-site system, follow these steps:
781787
--access-key=<access-key> \
782788
--secret=<secret-key> --system
783789

784-
6. Commit the updated configuration:
790+
7. Commit the updated configuration:
785791

786792
.. prompt:: bash #
787793

788794
radosgw-admin period update --commit
789795

790-
7. Restart the Ceph Object Gateway:
796+
8. Restart the Ceph Object Gateway:
791797

792798
.. prompt:: bash #
793799

0 commit comments

Comments
 (0)