2012-06-26 15:21:05 +00:00
=======================================
RADOS Gateway Configuration Reference
=======================================
2012-08-28 20:25:44 +00:00
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.
2012-06-26 15:21:05 +00:00
`` rgw data ``
2012-08-28 20:25:44 +00:00
:Description: Sets the location of the data files for RADOS Gateway.
:Type: String
2012-06-26 15:21:05 +00:00
:Default: ``/var/lib/ceph/radosgw/$cluster-$id``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw cache enabled ``
:Description: Whether the RADOS Gateway cache is enabled.
2012-08-28 20:25:44 +00:00
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``true``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw cache lru size ``
:Description: The number of entries in the RADOS Gateway cache.
2012-08-28 20:25:44 +00:00
:Type: Integer
2012-06-26 15:21:05 +00:00
:Default: ``10000``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` 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.
2012-08-28 20:25:44 +00:00
:Type: String
2012-06-26 15:21:05 +00:00
:Default: N/A
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw dns name ``
2012-08-28 20:25:44 +00:00
:Description: The DNS name of the served domain.
:Type: String
:Default: None
2012-06-26 15:21:05 +00:00
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw swift url ``
:Description: The URL for the RADOS Gateway Swift API.
2012-08-28 20:25:44 +00:00
:Type: String
:Default: None
2012-06-26 15:21:05 +00:00
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw swift url prefix ``
:Description: The URL prefix for the Swift API.
:Default: ``swift``
2012-08-28 20:25:44 +00:00
:Example: http://fqdn.com/swift
2012-06-26 15:21:05 +00:00
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw enforce swift acls ``
:Description: Enforces the Swift Access Control List (ACL) settings.
2012-08-28 20:25:44 +00:00
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``true``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw print continue ``
:Description: Enable ``100-continue`` if it is operational.
2012-08-28 20:25:44 +00:00
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``true``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw remote addr param ``
2012-08-28 20:25:44 +00:00
:Description: The remote address parameter. For example, the HTTP field containing the remote address, or the ``X-Forwarded-For`` address if a reverse proxy is operational.
:Type: String
2012-06-26 15:21:05 +00:00
:Default: ``REMOTE_ADDR``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw op thread timeout ``
2012-08-28 20:25:44 +00:00
:Description: The timeout in seconds for open threads.
:Type: Integer
2012-06-26 15:21:05 +00:00
:Default: 600
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw op thread suicide timeout ``
2012-08-28 20:25:44 +00:00
:Description: The time ``timeout`` in seconds before a RADOS Gateway process dies. Disbled if set to ``0``.
:Type: Integer
:Default: ``0``
2012-06-26 15:21:05 +00:00
`` rgw thread pool size ``
2012-08-28 20:25:44 +00:00
:Description: The size of the thread pool.
:Type: Integer
2012-06-26 15:21:05 +00:00
:Default: 100 threads.
2012-08-28 20:25:44 +00:00
`` rgw num control oids ``
2012-06-26 15:21:05 +00:00
2012-08-28 20:25:44 +00:00
:Description: The number of notification objects used for cache synchronization between different ``rgw`` instances.
:Type: Integer
:Default: ``8``
2012-06-26 15:21:05 +00:00
`` rgw log nonexistent bucket ``
2012-08-28 20:25:44 +00:00
:Description: Enables RADOS Gateway to log a request for a non-existent bucket.
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``false``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw log object name ``
2012-08-28 20:25:44 +00:00
:Description: The logging format for an object name. See manpage :manpage:`date` for details about format specifiers.
:Type: Date
:Default: ``%Y-%m-%d-%H-%i-%n``
2012-06-26 15:21:05 +00:00
`` rgw log object name utc ``
2012-08-28 20:25:44 +00:00
:Description: Whether a logged object name includes a UTC time. If ``false``, it uses the local time.
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``false``
`` rgw usage max shards ``
2012-08-28 20:25:44 +00:00
:Description: The maximum number of shards for usage logging.
:Type: Integer
:Default: ``32``
2012-06-26 15:21:05 +00:00
`` rgw usage max user shards ``
2012-08-28 20:25:44 +00:00
:Description: The maximum number of shards used for a single user's usage logging.
:Type: Integer
:Default: ``1``
2012-06-26 15:21:05 +00:00
`` rgw enable ops log ``
2012-08-28 20:25:44 +00:00
:Description: Enable logging for RGW operations.
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``true``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw enable usage log ``
2012-08-28 20:25:44 +00:00
:Description: Enable the usage log.
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``true``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw usage log flush threshold ``
2012-08-28 20:25:44 +00:00
:Description: The number of dirty merged entries in the usage log before flushing synchronously.
:Type: Integer
2012-06-26 15:21:05 +00:00
:Default: 1024
`` rgw usage log tick interval ``
2012-08-28 20:25:44 +00:00
:Description: Flush pending usage log data every ``n`` seconds.
:Type: Integer
:Default: ``30``
2012-06-26 15:21:05 +00:00
`` rgw intent log object name ``
2012-08-28 20:25:44 +00:00
:Description: The logging format for the intent log object name. See manpage :manpage:`date` for details about format specifiers.
:Type: Date
:Default: ``%Y-%m-%d-%i-%n``
2012-06-26 15:21:05 +00:00
`` rgw intent log object name utc ``
2012-08-28 20:25:44 +00:00
:Description: Whether the intent log object name includes a UTC time. If ``false``, it uses the local time.
:Type: Boolean
2012-06-26 15:21:05 +00:00
:Default: ``false``
2012-08-28 20:25:44 +00:00
2012-06-26 15:21:05 +00:00
`` rgw init timeout ``
2012-08-28 20:25:44 +00:00
:Description: The number of seconds before RGW gives up on initialization.
:Type: Integer
:Default: ``30``
2012-06-26 15:21:05 +00:00
`` rgw mime types file ``
2012-08-28 20:25:44 +00:00
:Description: The path and location of the MIME types. Used for Swift auto-detection of object types.
:Type: String
2012-06-26 15:21:05 +00:00
:Default: ``/etc/mime.types``
2012-11-06 23:49:18 +00:00
`` 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``
2012-11-26 23:54:06 +00:00
`` rgw enable ops log ``
:Description: Whether rgw will log each successful operation
:Type: Boolean
:Default: ``true``
`` rgw ops log rados ``
:Description: Whether rgw operations logging should be written into the RADOS backend
:Type: Boolean
:Default: ``true``
`` rgw ops log socket path ``
:Description: The path of a unix domain socket to which operations logging data will be written.
:Type: String
:Default: N/A
`` rgw ops log data backlog ``
:Description: Total backlog data size for unix domain socket operations logging
:Type: Integer
:Default: ``5ul << 20``