]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/rgw: update section on global quotas 14252/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 29 Mar 2017 20:41:39 +0000 (16:41 -0400)
committerCasey Bodley <cbodley@redhat.com>
Mon, 3 Apr 2017 18:48:58 +0000 (14:48 -0400)
Signed-off-by: Casey Bodley <cbodley@redhat.com>
doc/radosgw/admin.rst

index cfbbb2b77241e292d289a33ed604e08273e0ee3d..06d0cc608d90af428a4984258add072480d85368 100644 (file)
@@ -413,18 +413,22 @@ new user, and that quota is enabled.  See ``rgw bucket default quota max objects
 Reading / Writing Global Quotas
 -------------------------------
 
-You can read and write quota settings in a region map. To get a
-region map, execute the following. :: 
+You can read and write global quota settings in the period configuration. To
+view the global quota settings::
 
-       radosgw-admin regionmap get > regionmap.json
+       radosgw-admin global quota get
 
-To set quota settings for the entire region, simply modify the 
-quota settings in the region map. Then, use ``region set`` to 
-update the region map. ::
+The global quota settings can be manipulated with the ``global quota``
+counterparts of the ``quota set``, ``quota enable``, and ``quota disable``
+commands. ::
 
-       radosgw-admin region set < regionmap.json
+       radosgw-admin global quota set --quota-scope bucket --max-objects 1024
+       radosgw-admin global quota enable --quota-scope bucket
 
-.. note:: After updating the region map, you must restart the gateway.
+.. note:: In a multisite configuration, where there is a realm and period
+   present, changes to the global quotas must be committed using ``period
+   update --commit``. If there is no period present, the rados gateway(s) must
+   be restarted for the changes to take effect.
 
 
 Usage