Skip to content

Commit c837584

Browse files
Merge pull request ceph#50360 from tgfree7/wip-doc-2023-03-03-multisite-migrating-a-single-site
doc/radosgw: multisite - edit "migrating a single-site"
2 parents a089373 + 579c140 commit c837584

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
@@ -770,15 +770,21 @@ to a multi-site system, follow these steps:
770770
radosgw-admin zonegroup rename --rgw-zonegroup default --zonegroup-new-name=<name>
771771
radosgw-admin zone rename --rgw-zone default --zone-new-name us-east-1 --rgw-zonegroup=<name>
772772

773-
3. Configure the master zonegroup. Replace ``<name>`` with the realm name or
773+
3. Rename the default zonegroup's ``api_name``. Replace ``<name>`` with the zonegroup name:
774+
775+
.. prompt:: bash #
776+
777+
radosgw-admin zonegroup modify --api-name=<name> --rgw-zonegroup=<name>
778+
779+
4. Configure the master zonegroup. Replace ``<name>`` with the realm name or
774780
zonegroup name. Replace ``<fqdn>`` with the fully qualified domain name(s)
775781
in the zonegroup:
776782

777783
.. prompt:: bash #
778784

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

781-
4. Configure the master zone. Replace ``<name>`` with the realm name, zone
787+
5. Configure the master zone. Replace ``<name>`` with the realm name, zone
782788
name, or zonegroup name. Replace ``<fqdn>`` with the fully qualified domain
783789
name(s) in the zonegroup:
784790

@@ -789,7 +795,7 @@ to a multi-site system, follow these steps:
789795
--access-key=<access-key> --secret=<secret-key> \
790796
--master --default
791797

792-
5. Create a system user. Replace ``<user-id>`` with the username. Replace
798+
6. Create a system user. Replace ``<user-id>`` with the username. Replace
793799
``<display-name>`` with a display name. The display name is allowed to
794800
contain spaces:
795801

@@ -800,13 +806,13 @@ to a multi-site system, follow these steps:
800806
--access-key=<access-key> \
801807
--secret=<secret-key> --system
802808

803-
6. Commit the updated configuration:
809+
7. Commit the updated configuration:
804810

805811
.. prompt:: bash #
806812

807813
radosgw-admin period update --commit
808814

809-
7. Restart the Ceph Object Gateway:
815+
8. Restart the Ceph Object Gateway:
810816

811817
.. prompt:: bash #
812818

0 commit comments

Comments
 (0)