openstack-manuals/doc/common/tables/swift-proxy-server-app-proxy-server.xml
Christian Berendt 2cc66311cb Update Swift configuration tables
Change-Id: Ib57f5db125421e317c7d0cf0c14ec744b4066a46
2015-03-02 13:06:05 +01:00

150 lines
8.7 KiB
XML

<?xml version='1.0' encoding='UTF-8'?>
<para xmlns="http://docbook.org/ns/docbook" version="5.0">
<!-- The tool that generated this table lives in the
openstack-doc-tools repository. The editions made in
this file will *not* be lost if you run the script again. -->
<table rules="all">
<caption>Description of configuration options for
<literal>[app-proxy-server]</literal> in <filename>proxy-server.conf</filename>
</caption>
<col width="50%"/>
<col width="50%"/>
<thead>
<tr>
<th>Configuration option = Default value</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><option>account_autocreate</option> = <replaceable>false</replaceable></td>
<td>If set to 'true' authorized accounts that do not yet exist within the Swift cluster will be automatically created.</td>
</tr>
<tr>
<td><option>allow_account_management</option> = <replaceable>false</replaceable></td>
<td>Whether account PUTs and DELETEs are even callable</td>
</tr>
<tr>
<td><option>auto_create_account_prefix</option> = <replaceable>.</replaceable></td>
<td>Prefix to use when automatically creating accounts</td>
</tr>
<tr>
<td><option>client_chunk_size</option> = <replaceable>65536</replaceable></td>
<td>Chunk size to read from clients</td>
</tr>
<tr>
<td><option>conn_timeout</option> = <replaceable>0.5</replaceable></td>
<td>Connection timeout to external services</td>
</tr>
<tr>
<td><option>deny_host_headers</option> = <replaceable></replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>error_suppression_interval</option> = <replaceable>60</replaceable></td>
<td>Time in seconds that must elapse since the last error for a node to be considered no longer error limited</td>
</tr>
<tr>
<td><option>error_suppression_limit</option> = <replaceable>10</replaceable></td>
<td>Error count to consider a node error limited</td>
</tr>
<tr>
<td><option>log_handoffs</option> = <replaceable>true</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>max_containers_per_account</option> = <replaceable>0</replaceable></td>
<td>If set to a positive value, trying to create a container when the account already has at least this maximum containers will result in a 403 Forbidden. Note: This is a soft limit, meaning a user might exceed the cap for recheck_account_existence before the 403s kick in.</td>
</tr>
<tr>
<td><option>max_containers_whitelist</option> = <replaceable></replaceable></td>
<td>is a comma separated list of account names that ignore the max_containers_per_account cap.</td>
</tr>
<tr>
<td><option>max_large_object_get_time</option> = <replaceable>86400</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>node_timeout</option> = <replaceable>10</replaceable></td>
<td>Request timeout to external services</td>
</tr>
<tr>
<td><option>object_chunk_size</option> = <replaceable>65536</replaceable></td>
<td>Chunk size to read from object servers</td>
</tr>
<tr>
<td><option>object_post_as_copy</option> = <replaceable>true</replaceable></td>
<td>Set object_post_as_copy = false to turn on fast posts where only the metadata changes are stored anew and the original data file is kept in place. This makes for quicker posts; but since the container metadata isn't updated in this mode, features like container sync won't be able to sync posts.</td>
</tr>
<tr>
<td><option>post_quorum_timeout</option> = <replaceable>0.5</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>put_queue_depth</option> = <replaceable>10</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>read_affinity</option> = <replaceable>r1z1=100, r1z2=200, r2=300</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>recheck_account_existence</option> = <replaceable>60</replaceable></td>
<td>Cache timeout in seconds to send memcached for account existence</td>
</tr>
<tr>
<td><option>recheck_container_existence</option> = <replaceable>60</replaceable></td>
<td>Cache timeout in seconds to send memcached for container existence</td>
</tr>
<tr>
<td><option>recoverable_node_timeout</option> = <replaceable>node_timeout</replaceable></td>
<td>Request timeout to external services for requests that, on failure, can be recovered from. For example, object GET. from a client external services</td>
</tr>
<tr>
<td><option>request_node_count</option> = <replaceable>2 * replicas</replaceable></td>
<td>* replicas Set to the number of nodes to contact for a normal request. You can use '* replicas' at the end to have it use the number given times the number of replicas for the ring being used for the request. conf file for values will only be shown to the list of swift_owners. The exact default definition of a swift_owner is headers&gt; up to the auth system in use, but usually indicates administrative responsibilities. paste.deploy to use for auth. To use tempauth set to: `egg:swift#tempauth` each request</td>
</tr>
<tr>
<td><option>set log_address</option> = <replaceable>/dev/log</replaceable></td>
<td>Location where syslog sends the logs to</td>
</tr>
<tr>
<td><option>set log_facility</option> = <replaceable>LOG_LOCAL0</replaceable></td>
<td>Syslog log facility</td>
</tr>
<tr>
<td><option>set log_level</option> = <replaceable>INFO</replaceable></td>
<td>Log level</td>
</tr>
<tr>
<td><option>set log_name</option> = <replaceable>proxy-server</replaceable></td>
<td>Label to use when logging</td>
</tr>
<tr>
<td><option>sorting_method</option> = <replaceable>shuffle</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>swift_owner_headers</option> = <replaceable>x-container-read, x-container-write, x-container-sync-key, x-container-sync-to, x-account-meta-temp-url-key, x-account-meta-temp-url-key-2, x-container-meta-temp-url-key, x-container-meta-temp-url-key-2, x-account-access-control</replaceable></td>
<td>These are the headers whose conf file for values will only be shown to the list of swift_owners. The exact default definition of a swift_owner is headers&gt; up to the auth system in use, but usually indicates administrative responsibilities. paste.deploy to use for auth. To use tempauth set to: `egg:swift#tempauth` each request</td>
</tr>
<tr>
<td><option>timing_expiry</option> = <replaceable>300</replaceable></td>
<td>No help text available for this option.</td>
</tr>
<tr>
<td><option>use</option> = <replaceable>egg:swift#proxy</replaceable></td>
<td>Entry point of paste.deploy in the server</td>
</tr>
<tr>
<td><option>write_affinity</option> = <replaceable>r1, r2</replaceable></td>
<td>This setting lets you trade data distribution for throughput. It makes the proxy server prefer local back-end servers for object PUT requests over non-local ones. Note that only object PUT requests are affected by the write_affinity setting; POST, GET, HEAD, DELETE, OPTIONS, and account/container PUT requests are not affected. The format is r&lt;N&gt; for region N or r&lt;N&gt;z&lt;M&gt; for region N, zone M. If this is set, then when handling an object PUT request, some number (see the write_affinity_node_count setting) of local backend servers will be tried before any nonlocal ones. Example: try to write to regions 1 and 2 before writing to any other nodes: write_affinity = r1, r2</td>
</tr>
<tr>
<td><option>write_affinity_node_count</option> = <replaceable>2 * replicas</replaceable></td>
<td>This setting is only useful in conjunction with write_affinity; it governs how many local object servers will be tried before falling back to non-local ones. You can use '* replicas' at the end to have it use the number given times the number of replicas for the ring being used for the request: write_affinity_node_count = 2 * replicas</td>
</tr>
</tbody>
</table>
</para>