]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Improvements to radosgw docs 1866/head
authorColin Mattson <colinmattson@gmail.com>
Sun, 25 May 2014 03:15:35 +0000 (20:15 -0700)
committerColin Mattson <colinmattson@gmail.com>
Sun, 25 May 2014 03:15:35 +0000 (20:15 -0700)
- Correct a typo (`rados-admin`) in admin docs
- Reorder sections in config so "above example" is in expected position

doc/radosgw/admin.rst
doc/radosgw/config.rst

index e9f851150e6ca7be1f61a69c45b72df9a10cbed1..642dc957d5427751abe223c11366ef616397c3b6 100644 (file)
@@ -43,7 +43,7 @@ Create a User
 
 To create a user (S3 interface), execute the following::
 
-       rados-admin user create --uid={username} --display-name="{display-name}" [--email={email}]
+       radosgw-admin user create --uid={username} --display-name="{display-name}" [--email={email}]
 
 For example::  
        
index 610bae42456185e3bf5626b6c6fced303014d4d7..f2dc2dfaca60a068bca0093b3eb66a4178345117 100644 (file)
@@ -118,24 +118,6 @@ you have created all of the foregoing pools::
        rados lspools
 
 
-Create Data Directory
-=====================
-
-Deployment scripts may not create the default Ceph Object Gateway data
-directory.  Create data directories for each instance of a ``radosgw`` daemon
-(if you haven't done so already). The ``host``  variables in the Ceph
-configuration file determine which host runs each instance of a ``radosgw``
-daemon. The typical form specifies the ``radosgw`` daemon, the cluster name and
-the daemon ID. ::
-
-       sudo mkdir -p /var/lib/ceph/radosgw/{$cluster}-{$id}
-
-Using the exemplary ``ceph.conf`` settings above, you would execute the following::
-
-       sudo mkdir -p /var/lib/ceph/radosgw/ceph-radosgw.gateway
-
-
-
 Add a Gateway Configuration to Ceph
 ===================================
 
@@ -260,6 +242,25 @@ On some distributions, you must also change the ownership to ``apache``. ::
        sudo chown apache:apache s3gw.fcgi
 
 
+
+Create Data Directory
+=====================
+
+Deployment scripts may not create the default Ceph Object Gateway data
+directory.  Create data directories for each instance of a ``radosgw`` daemon
+(if you haven't done so already). The ``host``  variables in the Ceph
+configuration file determine which host runs each instance of a ``radosgw``
+daemon. The typical form specifies the ``radosgw`` daemon, the cluster name and
+the daemon ID. ::
+
+       sudo mkdir -p /var/lib/ceph/radosgw/{$cluster}-{$id}
+
+Using the exemplary ``ceph.conf`` settings above, you would execute the following::
+
+       sudo mkdir -p /var/lib/ceph/radosgw/ceph-radosgw.gateway
+
+
+
 Create a Gateway Configuration
 ==============================