]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/dbstore: Update README
authorSoumya Koduri <skoduri@redhat.com>
Thu, 29 Jun 2023 10:30:43 +0000 (16:00 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Thu, 29 Jun 2023 10:30:43 +0000 (16:00 +0530)
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
src/rgw/driver/dbstore/README.md

index 0867bc2cca45f9eeebe2195b2b3e2bcbd06dcc7c..f7e5df331ccaf8a33ce9035b556dd68bef1f08ae 100644 (file)
@@ -19,21 +19,23 @@ Edit ceph.conf to add below option
 
     [client]
         rgw backend store = dbstore
+        rgw config store = dbstore
 
 Start vstart cluster
 
-    [..] RGW=1 ../src/vstart.sh -o rgw_backend_store=dbstore -n -d
+    MON=1 RGW=1 ../src/vstart.sh -o rgw_backend_store=dbstore -o rgw_config_store=dbstore -n -d
 
-The above vstart command brings up RGW server on dbstore and creates few default users (eg., testid) to be used for s3 operations.
+The above vstart command brings up RGW server on dbstore. It creates default zonegroup, zone and few default users (eg., testid) to be used for s3 operations.
 
-`radosgw-admin` can be used to create and remove other users.
+`radosgw-admin` can be used to create and remove other users, zonegroups and zones.
 
 
-By default, dbstore creates .db file *'/var/lib/ceph/radosgw/dbstore-default_ns.db'* to store the data. This can be configured using below options in ceph.conf
+By default, dbstore creates .db file *'/var/lib/ceph/radosgw/dbstore-default_ns.db'* to store the data and *'/var/lib/ceph/radosgw/dbstore-config.db'* file to store the configuration. This can be configured using below options in ceph.conf
 
     [client]
         dbstore db dir = <path for the directory for storing the db backend store data>
         dbstore db name prefix = <prefix to the file names created by db backend store>
+        dbstore config uri = <Config database URI. URIs beginning with file: refer to local files opened with SQLite.>
 
 
 ## DBStore Unit Tests