summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wilkins <john.wilkins@inktank.com>2013-08-05 14:13:52 -0700
committerJohn Wilkins <john.wilkins@inktank.com>2013-08-05 14:13:52 -0700
commitcafccfaf068f08b73a9031d0772807a0b87d21e9 (patch)
tree421e6b6d4ea4962bb46463d65707f7f1afbbcbe1
parenta5d86057970d0d9d2f5409896bbd11020f70e40b (diff)
downloadceph-cafccfaf068f08b73a9031d0772807a0b87d21e9.tar.gz
doc: Added many new fields to config reference.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
-rw-r--r--doc/radosgw/config-ref.rst437
1 files changed, 370 insertions, 67 deletions
diff --git a/doc/radosgw/config-ref.rst b/doc/radosgw/config-ref.rst
index 0ef8520f23b..790fafdc854 100644
--- a/doc/radosgw/config-ref.rst
+++ b/doc/radosgw/config-ref.rst
@@ -1,30 +1,37 @@
-=======================================
- RADOS Gateway Configuration Reference
-=======================================
+======================================
+ Ceph Object Gateway Config Reference
+======================================
-The following settings may added to the ``ceph.conf`` file under the
-``[client.radosgw.gateway]`` section. The settings may contain default values.
-If you do not specify each setting in ``ceph.conf``, the default value will be
-set automatically.
+The following settings may added to the Ceph configuration file (i.e., usually
+``ceph.conf``) under the ``[client.radosgw.gateway]`` section. The settings may
+contain default values. If you do not specify each setting in the Ceph
+configuration file, the default value will be set automatically.
``rgw data``
-:Description: Sets the location of the data files for RADOS Gateway.
+:Description: Sets the location of the data files for Ceph Object Gateway.
:Type: String
:Default: ``/var/lib/ceph/radosgw/$cluster-$id``
+``rgw enable apis``
+
+:Description: Enables the specified APIs.
+:Type: String
+:Default: ``s3, swift, swift_auth, admin`` All APIs.
+
+
``rgw cache enabled``
-:Description: Whether the RADOS Gateway cache is enabled.
+:Description: Whether the Ceph Object Gateway cache is enabled.
:Type: Boolean
:Default: ``true``
``rgw cache lru size``
-:Description: The number of entries in the RADOS Gateway cache.
+:Description: The number of entries in the Ceph Object Gateway cache.
:Type: Integer
:Default: ``10000``
@@ -32,15 +39,33 @@ set automatically.
``rgw socket path``
:Description: The socket path for the domain socket. ``FastCgiExternalServer``
- uses this socket. If you do not specify a socket path, RADOS
- Gateway will not run as an external server. The path you specify
- here must be the same as the path specified in the ``rgw.conf``
- file.
+ uses this socket. If you do not specify a socket path, Ceph
+ Object Gateway will not run as an external server. The path you
+ specify here must be the same as the path specified in the
+ ``rgw.conf`` file.
:Type: String
:Default: N/A
+``rgw host``
+
+:Description: The host for the Ceph Object Gateway instance. Can be an IP
+ address or a hostname.
+
+:Type: String
+:Default: ``0.0.0.0``
+
+
+``rgw port``
+
+:Description: Port the instance listens for requests. If not specified,
+ Ceph Object Gateway runs external FastCGI.
+
+:Type: String
+:Default: None
+
+
``rgw dns name``
:Description: The DNS name of the served domain.
@@ -48,9 +73,28 @@ set automatically.
:Default: None
+``rgw script uri``
+
+:Description: The alternative value for the ``SCRIPT_URI`` if not set
+ in the request.
+
+:Type: String
+:Default: None
+
+
+``rgw request uri``
+
+:Description: The alternative value for the ``REQUEST_URI`` if not set
+ in the request.
+
+:Type: String
+:Default: None
+
+
+
``rgw swift url``
-:Description: The URL for the RADOS Gateway Swift API.
+:Description: The URL for the Ceph Object Gateway Swift API.
:Type: String
:Default: None
@@ -62,12 +106,77 @@ set automatically.
:Example: http://fqdn.com/swift
+``rgw swift auth url``
+
+:Description: Default URL for verifying v1 auth tokens (if not using internal
+ Swift auth).
+
+:Type: String
+:Default: None
+
+
+``rgw swifth auth entry``
+
+:Description: The entry point for a Swift auth URL.
+:Type: String
+:Default: ``auth``
+
+
+``rgw keystone url``
+
+:Description: The URL for the Keystone server.
+:Type: String
+:Default: None
+
+
+``rgw keystone admin token``
+
+:Description: The Keystone admin token (shared secret).
+:Type: String
+:Default: None
+
+
+``rgw keystone accepted roles``
+
+:Description: The roles requires to serve requests.
+:Type: String
+:Default: ``Member, admin``
+
+
+``rgw keystone token cache size``
+
+:Description: The maximum number of entries in each Keystone token cache.
+:Type: Integer
+:Default: ``10000``
+
+
+``rgw keystone revocation interval``
+
+:Description: The number of seconds between token revocation checks.
+:Type: Integer
+:Default: ``15 * 60``
+
+
+``rgw admin entry``
+
+:Description: The entry point for an admin request URL.
+:Type: String
+:Default: ``admin``
+
+
``rgw enforce swift acls``
:Description: Enforces the Swift Access Control List (ACL) settings.
:Type: Boolean
:Default: ``true``
+
+``rgw swift token expiration``
+
+:Description: The time in seconds for expiring a Swift token.
+:Type: Integer
+:Default: ``24 * 3600``
+
``rgw print continue``
@@ -95,8 +204,8 @@ set automatically.
``rgw op thread suicide timeout``
-:Description: The time ``timeout`` in seconds before a RADOS Gateway process
- dies. Disbled if set to ``0``.
+:Description: The time ``timeout`` in seconds before a Ceph Object Gateway
+ process dies. Disbled if set to ``0``.
:Type: Integer
:Default: ``0``
@@ -118,9 +227,69 @@ set automatically.
:Default: ``8``
+.. deprecated:: v.67
+
+``rgw cluster root pool``
+
+:Description: The Ceph Storage Cluster pool to store ``radosgw`` metadata for
+ this instance. Not used in Ceph version v.67 and later. Use
+ ``rgw zone root pool`` instead.
+
+:Type: String
+:Required: No
+:Default: ``.rgw.root``
+:Replaced By: ``rgw zone root pool``
+
+
+.. versionadded:: v.67
+
+``rgw zone``
+
+:Description: The name of the zone for the gateway instance.
+:Type: String
+:Default: None
+
+
+.. versionadded:: v.67
+
+``rgw zone root pool``
+
+:Description: The pool for storing zone-specific information.
+:Type: String
+:Default: ``.rgw.root``
+
+
+.. versionadded:: v.67
+
+``rgw region``
+
+:Description: The name of the region for the gateway instance.
+:Type: String
+:Default: None
+
+.. versionadded:: v.67
+
+``rgw region root pool``
+
+:Description: The pool for storing all region-specific information.
+:Type: String
+:Default: ``.rgw.root``
+
+
+.. versionadded:: v.67
+
+``rgw default region info oid``
+
+:Description: The OID for storing the default region.
+:Type: String
+:Default: ``default.region``
+
+
``rgw log nonexistent bucket``
-:Description: Enables RADOS Gateway to log a request for a non-existent bucket.
+:Description: Enables Ceph Object Gateway to log a request for a non-existent
+ bucket.
+
:Type: Boolean
:Default: ``false``
@@ -161,7 +330,7 @@ set automatically.
``rgw enable ops log``
-:Description: Enable logging for RGW operations.
+:Description: Enable logging for each successful Ceph Object Gateway operation.
:Type: Boolean
:Default: ``false``
@@ -173,6 +342,31 @@ set automatically.
:Default: ``false``
+``rgw ops log rados``
+
+:Description: Whether the operations log should be written to the
+ Ceph Storage Cluster backend.
+
+:Type: Boolean
+:Default: ``true``
+
+
+``rgw ops log socket path``
+
+:Description: The Unix domain socket for writing operations logs.
+:Type: String
+:Default: None
+
+
+``rgw ops log data backlog``
+
+:Description: The maximum data backlog data size for operations logs written
+ to a Unix domain socket.
+
+:Type: Integer
+:Default: ``5 << 20``
+
+
``rgw usage log flush threshold``
:Description: The number of dirty merged entries in the usage log before
@@ -209,7 +403,9 @@ set automatically.
``rgw init timeout``
-:Description: The number of seconds before RGW gives up on initialization.
+:Description: The number of seconds before Ceph Object Gateway gives up on
+ initialization.
+
:Type: Integer
:Default: ``30``
@@ -223,44 +419,64 @@ set automatically.
:Default: ``/etc/mime.types``
-``rgw resolve cname``
+``rgw gc max objs``
-:Description: Whether ``rgw`` should use DNS CNAME record of the request hostname
- field (if hostname is not equal to ``rgw dns name``).
+:Description: The maximum number of objects that may be handled by
+ garbage collection in one garbage collection processing cycle.
-:Type: Boolean
-:Default: ``false``
+:Type: Integer
+:Default: ``32``
-``rgw enable ops log``
+``rgw gc obj min wait``
-:Description: Whether rgw will log each successful operation
-:Type: Boolean
-:Default: ``true``
+:Description: The minimum wait time before the object may be removed
+ and handled by garbage collection processing.
+
+:Type: Integer
+:Default: ``2 * 3600``
-``rgw ops log rados``
-:Description: Whether ``rgw`` operations logging should be written into the
- RADOS backend.
+``rgw gc processor max time``
-:Type: Boolean
-:Default: ``true``
+:Description: The maximum time between the beginning of two consecutive garbage
+ collection processing cycles.
-``rgw ops log socket path``
+:Type: Integer
+:Default: ``3600``
-:Description: The path of a UNIX domain socket to which operations logging
- data will be written.
-:Type: String
-:Default: N/A
+``rgw gc processor period``
+
+:Description: The cycle time for garbage collection processing.
+:Type: Integer
+:Default: ``3600``
+
+
+``rgw s3 success create obj status``
+
+:Description: The alternate success status response for ``create-obj``.
+:Type: Integer
+:Default: ``0``
+
+
+``rgw resolve cname``
+
+:Description: Whether ``rgw`` should use DNS CNAME record of the request
+ hostname field (if hostname is not equal to ``rgw dns name``).
+
+:Type: Boolean
+:Default: ``false``
-``rgw ops log data backlog``
-:Description: Total backlog data size for UNIX domain socket
- operations logging.
+``rgw object stripe size``
+
+:Description: The size of an object stripe for Ceph Object Gateway objects.
+ See `Architecture`_ for details on striping.
:Type: Integer
-:Default: ``5ul << 20``
+:Default: ``4 << 20``
+
``rgw extended http attrs``
@@ -270,45 +486,132 @@ set automatically.
fields when doing GET/HEAD on the object.
:Type: String
-:Default: N/A
+:Default: None
:Example: "content_foo, content_bar"
-``rgw cluster root pool``
+``rgw exit timeout secs``
-:Description: RADOS pool to store ``radosgw`` metadata for this instance.
-:Type: String
-:Required: No
-:Default: ``.rgw.root``
+:Description: Number of seconds to wait for a process before exiting
+ unconditionally.
+:Type: Integer
+:Default: ``120``
-``rgw gc max objs``
-:Description: Number of objects to collect garbage collection data.
-:Type: 32-bit Integer
-:Default: 32
+``rgw get obj window size``
+:Description: The window size in bytes for a single object request.
+:Type: Integer
+:Default: ``16 << 20``
-``rgw gc obj min wait``
-:Description: Minimum time to wait before object's removal and its processing
- by the garbage collector.
+``rgw get obj max req size``
-:Type: 32-bit Integer
-:Default: 2 hours. ``2*60*60``
+:Description: The maximum request size of a single get operation sent to the
+ Ceph Storage Cluster.
+:Type: Integer
+:Default: ``4 << 20``
-``rgw gc processor max time``
+
+``rgw relaxed s3 bucket names``
+
+:Description: Enables relaxed S3 bucket names rules for US region buckets.
+:Type: Boolean
+:Default: ``false``
+
+
+``rgw list buckets max chunk``
+
+:Description: The maximum number of buckets to retrieve in a single operation
+ when listing user buckets.
+
+:Type: Integer
+:Default: ``1000``
+
+
+``rgw md log max shards``
+
+:Description: The maximum number of shards for the metadata log.
+:Type: Integer
+:Default: ``64``
+
+
+``rgw num zone opstate shards``
+
+:Description: The maximum number of shards for keeping inter-region copy
+ progress information.
+
+:Type: Integer
+:Default: ``128``
+
+
+``rgw opstate ratelimit sec``
+
+:Description: The minimum time between opstate updates on a single upload.
+ ``0`` disables the ratelimit.
+
+:Type: Integer
+:Default: ``30``
+
+
+``rgw curl wait timeout ms``
+
+:Description: The timeout in milliseconds for certain ``curl`` calls.
+:Type: Integer
+:Default: ``1000``
-:Description: Max time for a single garbage collection process run.
-:Type: 32-bit Integer
-:Default: 1 hour. ``60*60``
+``rgw copy obj progress``
-``rgw gc processor max period``
+:Description: Enables output of object progress during long copy operations.
+:Type: Boolean
+:Default: ``true``
+
+
+``rgw copy obj progress every bytes``
+
+:Description: The minimum bytes between copy progress output.
+:Type: Integer
+:Default: ``1024 * 1024``
+
+
+``rgw data log window``
+
+:Description: The data log entries window in seconds.
+:Type: Integer
+:Default: ``30``
+
+
+``rgw data log changes size``
+
+:Description: The number of in-memory entries to hold for the data changes log.
+:Type: Integer
+:Default: ``1000``
+
+
+``rgw data log num shards``
+
+:Description: The number of shards (objects) on which to keep the
+ data changes log.
+
+:Type: Integer
+:Default: ``128``
+
+
+``rgw data log obj prefix``
+
+:Description: The object name prefix for the data log.
+:Type: String
+:Default: ``data_log``
+
+
+``rgw replica log obj prefix``
+
+:Description: The object name prefix for the replica log.
+:Type: String
+:Default: ``replica log``
-:Description: Max time between the beginning of two consecutive garbage
- collection processes run.
-:Type: 32-bit Integer
-:Default: 1 hour. ``60*60``
+.. _Architecture: ../../architecture#data-striping \ No newline at end of file