Merge "Make sample configs more readable."
This commit is contained in:
commit
4077252f23
@ -9,28 +9,35 @@
|
|||||||
# devices = /srv/node
|
# devices = /srv/node
|
||||||
# mount_check = true
|
# mount_check = true
|
||||||
# disable_fallocate = false
|
# disable_fallocate = false
|
||||||
|
#
|
||||||
# You can specify default log routing here if you want:
|
# You can specify default log routing here if you want:
|
||||||
# log_name = swift
|
# log_name = swift
|
||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# comma separated list of functions to call to setup custom log handlers.
|
# comma separated list of functions to call to setup custom log handlers.
|
||||||
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
||||||
# adapted_logger
|
# adapted_logger
|
||||||
# log_custom_handlers =
|
# log_custom_handlers =
|
||||||
|
#
|
||||||
# If set, log_udp_host will override log_address
|
# If set, log_udp_host will override log_address
|
||||||
# log_udp_host =
|
# log_udp_host =
|
||||||
# log_udp_port = 514
|
# log_udp_port = 514
|
||||||
|
#
|
||||||
# You can enable StatsD logging here:
|
# You can enable StatsD logging here:
|
||||||
# log_statsd_host = localhost
|
# log_statsd_host = localhost
|
||||||
# log_statsd_port = 8125
|
# log_statsd_port = 8125
|
||||||
# log_statsd_default_sample_rate = 1.0
|
# log_statsd_default_sample_rate = 1.0
|
||||||
# log_statsd_sample_rate_factor = 1.0
|
# log_statsd_sample_rate_factor = 1.0
|
||||||
# log_statsd_metric_prefix =
|
# log_statsd_metric_prefix =
|
||||||
|
#
|
||||||
# If you don't mind the extra disk space usage in overhead, you can turn this
|
# If you don't mind the extra disk space usage in overhead, you can turn this
|
||||||
# on to preallocate disk space with SQLite databases to decrease fragmentation.
|
# on to preallocate disk space with SQLite databases to decrease fragmentation.
|
||||||
# db_preallocation = off
|
# db_preallocation = off
|
||||||
|
#
|
||||||
# eventlet_debug = false
|
# eventlet_debug = false
|
||||||
|
#
|
||||||
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
||||||
# reserve, whether there is space for the given file size or not.
|
# reserve, whether there is space for the given file size or not.
|
||||||
# fallocate_reserve = 0
|
# fallocate_reserve = 0
|
||||||
@ -46,8 +53,10 @@ use = egg:swift#account
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_requests = True
|
# set log_requests = True
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# auto_create_account_prefix = .
|
# auto_create_account_prefix = .
|
||||||
# max_clients = 1024
|
# max_clients = 1024
|
||||||
|
#
|
||||||
# Configure parameter for creating specific server
|
# Configure parameter for creating specific server
|
||||||
# To handle all verbs, including replication verbs, do not specify
|
# To handle all verbs, including replication verbs, do not specify
|
||||||
# "replication_server" (this is the default). To only handle replication,
|
# "replication_server" (this is the default). To only handle replication,
|
||||||
@ -72,22 +81,29 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# vm_test_mode = no
|
# vm_test_mode = no
|
||||||
# per_diff = 1000
|
# per_diff = 1000
|
||||||
# max_diffs = 100
|
# max_diffs = 100
|
||||||
# concurrency = 8
|
# concurrency = 8
|
||||||
# interval = 30
|
# interval = 30
|
||||||
|
#
|
||||||
# How long without an error before a node's error count is reset. This will
|
# How long without an error before a node's error count is reset. This will
|
||||||
# also be how long before a node is reenabled after suppression is triggered.
|
# also be how long before a node is reenabled after suppression is triggered.
|
||||||
# error_suppression_interval = 60
|
# error_suppression_interval = 60
|
||||||
|
#
|
||||||
# How many errors can accumulate before a node is temporarily ignored.
|
# How many errors can accumulate before a node is temporarily ignored.
|
||||||
# error_suppression_limit = 10
|
# error_suppression_limit = 10
|
||||||
|
#
|
||||||
# node_timeout = 10
|
# node_timeout = 10
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# The replicator also performs reclamation
|
# The replicator also performs reclamation
|
||||||
# reclaim_age = 604800
|
# reclaim_age = 604800
|
||||||
|
#
|
||||||
# Time in seconds to wait between replication passes
|
# Time in seconds to wait between replication passes
|
||||||
# run_pause = 30
|
# run_pause = 30
|
||||||
|
#
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
[account-auditor]
|
[account-auditor]
|
||||||
@ -96,8 +112,10 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# Will audit each account at most once per interval
|
# Will audit each account at most once per interval
|
||||||
# interval = 1800
|
# interval = 1800
|
||||||
|
#
|
||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# accounts_per_second = 200
|
# accounts_per_second = 200
|
||||||
@ -109,14 +127,17 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# concurrency = 25
|
# concurrency = 25
|
||||||
# interval = 3600
|
# interval = 3600
|
||||||
# node_timeout = 10
|
# node_timeout = 10
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# Normally, the reaper begins deleting account information for deleted accounts
|
# Normally, the reaper begins deleting account information for deleted accounts
|
||||||
# immediately; you can set this to delay its work however. The value is in
|
# immediately; you can set this to delay its work however. The value is in
|
||||||
# seconds; 2592000 = 30 days for example.
|
# seconds; 2592000 = 30 days for example.
|
||||||
# delay_reaping = 0
|
# delay_reaping = 0
|
||||||
|
#
|
||||||
# If the account fails to be be reaped due to a persistent error, the
|
# If the account fails to be be reaped due to a persistent error, the
|
||||||
# account reaper will log a message such as:
|
# account reaper will log a message such as:
|
||||||
# Account <name> has not been reaped since <date>
|
# Account <name> has not been reaped since <date>
|
||||||
|
@ -9,31 +9,39 @@
|
|||||||
# devices = /srv/node
|
# devices = /srv/node
|
||||||
# mount_check = true
|
# mount_check = true
|
||||||
# disable_fallocate = false
|
# disable_fallocate = false
|
||||||
|
#
|
||||||
# This is a comma separated list of hosts allowed in the X-Container-Sync-To
|
# This is a comma separated list of hosts allowed in the X-Container-Sync-To
|
||||||
# field for containers.
|
# field for containers.
|
||||||
# allowed_sync_hosts = 127.0.0.1
|
# allowed_sync_hosts = 127.0.0.1
|
||||||
|
#
|
||||||
# You can specify default log routing here if you want:
|
# You can specify default log routing here if you want:
|
||||||
# log_name = swift
|
# log_name = swift
|
||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# comma separated list of functions to call to setup custom log handlers.
|
# comma separated list of functions to call to setup custom log handlers.
|
||||||
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
||||||
# adapted_logger
|
# adapted_logger
|
||||||
# log_custom_handlers =
|
# log_custom_handlers =
|
||||||
|
#
|
||||||
# If set, log_udp_host will override log_address
|
# If set, log_udp_host will override log_address
|
||||||
# log_udp_host =
|
# log_udp_host =
|
||||||
# log_udp_port = 514
|
# log_udp_port = 514
|
||||||
|
#
|
||||||
# You can enable StatsD logging here:
|
# You can enable StatsD logging here:
|
||||||
# log_statsd_host = localhost
|
# log_statsd_host = localhost
|
||||||
# log_statsd_port = 8125
|
# log_statsd_port = 8125
|
||||||
# log_statsd_default_sample_rate = 1.0
|
# log_statsd_default_sample_rate = 1.0
|
||||||
# log_statsd_sample_rate_factor = 1.0
|
# log_statsd_sample_rate_factor = 1.0
|
||||||
# log_statsd_metric_prefix =
|
# log_statsd_metric_prefix =
|
||||||
|
#
|
||||||
# If you don't mind the extra disk space usage in overhead, you can turn this
|
# If you don't mind the extra disk space usage in overhead, you can turn this
|
||||||
# on to preallocate disk space with SQLite databases to decrease fragmentation.
|
# on to preallocate disk space with SQLite databases to decrease fragmentation.
|
||||||
# db_preallocation = off
|
# db_preallocation = off
|
||||||
|
#
|
||||||
# eventlet_debug = false
|
# eventlet_debug = false
|
||||||
|
#
|
||||||
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
||||||
# reserve, whether there is space for the given file size or not.
|
# reserve, whether there is space for the given file size or not.
|
||||||
# fallocate_reserve = 0
|
# fallocate_reserve = 0
|
||||||
@ -49,11 +57,13 @@ use = egg:swift#container
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_requests = True
|
# set log_requests = True
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# node_timeout = 3
|
# node_timeout = 3
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
# allow_versions = False
|
# allow_versions = False
|
||||||
# auto_create_account_prefix = .
|
# auto_create_account_prefix = .
|
||||||
# max_clients = 1024
|
# max_clients = 1024
|
||||||
|
#
|
||||||
# Configure parameter for creating specific server
|
# Configure parameter for creating specific server
|
||||||
# To handle all verbs, including replication verbs, do not specify
|
# To handle all verbs, including replication verbs, do not specify
|
||||||
# "replication_server" (this is the default). To only handle replication,
|
# "replication_server" (this is the default). To only handle replication,
|
||||||
@ -78,6 +88,7 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# vm_test_mode = no
|
# vm_test_mode = no
|
||||||
# per_diff = 1000
|
# per_diff = 1000
|
||||||
# max_diffs = 100
|
# max_diffs = 100
|
||||||
@ -85,10 +96,13 @@ use = egg:swift#recon
|
|||||||
# interval = 30
|
# interval = 30
|
||||||
# node_timeout = 10
|
# node_timeout = 10
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# The replicator also performs reclamation
|
# The replicator also performs reclamation
|
||||||
# reclaim_age = 604800
|
# reclaim_age = 604800
|
||||||
|
#
|
||||||
# Time in seconds to wait between replication passes
|
# Time in seconds to wait between replication passes
|
||||||
# run_pause = 30
|
# run_pause = 30
|
||||||
|
#
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
[container-updater]
|
[container-updater]
|
||||||
@ -97,14 +111,18 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# interval = 300
|
# interval = 300
|
||||||
# concurrency = 4
|
# concurrency = 4
|
||||||
# node_timeout = 3
|
# node_timeout = 3
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# slowdown will sleep that amount between containers
|
# slowdown will sleep that amount between containers
|
||||||
# slowdown = 0.01
|
# slowdown = 0.01
|
||||||
|
#
|
||||||
# Seconds to suppress updating an account that has generated an error
|
# Seconds to suppress updating an account that has generated an error
|
||||||
# account_suppression_time = 60
|
# account_suppression_time = 60
|
||||||
|
#
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
[container-auditor]
|
[container-auditor]
|
||||||
@ -113,8 +131,10 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# Will audit each container at most once per interval
|
# Will audit each container at most once per interval
|
||||||
# interval = 1800
|
# interval = 1800
|
||||||
|
#
|
||||||
# containers_per_second = 200
|
# containers_per_second = 200
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
@ -124,9 +144,12 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# If you need to use an HTTP Proxy, set it here; defaults to no proxy.
|
# If you need to use an HTTP Proxy, set it here; defaults to no proxy.
|
||||||
# sync_proxy = http://127.0.0.1:8888
|
# sync_proxy = http://127.0.0.1:8888
|
||||||
|
#
|
||||||
# Will sync each container at most once per interval
|
# Will sync each container at most once per interval
|
||||||
# interval = 300
|
# interval = 300
|
||||||
|
#
|
||||||
# Maximum amount of time to spend syncing each container per pass
|
# Maximum amount of time to spend syncing each container per pass
|
||||||
# container_time = 60
|
# container_time = 60
|
||||||
|
@ -6,13 +6,16 @@
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# comma separated list of functions to call to setup custom log handlers.
|
# comma separated list of functions to call to setup custom log handlers.
|
||||||
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
||||||
# adapted_logger
|
# adapted_logger
|
||||||
# log_custom_handlers =
|
# log_custom_handlers =
|
||||||
|
#
|
||||||
# If set, log_udp_host will override log_address
|
# If set, log_udp_host will override log_address
|
||||||
# log_udp_host =
|
# log_udp_host =
|
||||||
# log_udp_port = 514
|
# log_udp_port = 514
|
||||||
|
#
|
||||||
# You can enable StatsD logging here:
|
# You can enable StatsD logging here:
|
||||||
# log_statsd_host = localhost
|
# log_statsd_host = localhost
|
||||||
# log_statsd_port = 8125
|
# log_statsd_port = 8125
|
||||||
|
@ -10,25 +10,31 @@
|
|||||||
# mount_check = true
|
# mount_check = true
|
||||||
# disable_fallocate = false
|
# disable_fallocate = false
|
||||||
# expiring_objects_container_divisor = 86400
|
# expiring_objects_container_divisor = 86400
|
||||||
|
#
|
||||||
# You can specify default log routing here if you want:
|
# You can specify default log routing here if you want:
|
||||||
# log_name = swift
|
# log_name = swift
|
||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# comma separated list of functions to call to setup custom log handlers.
|
# comma separated list of functions to call to setup custom log handlers.
|
||||||
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
||||||
# adapted_logger
|
# adapted_logger
|
||||||
# log_custom_handlers =
|
# log_custom_handlers =
|
||||||
|
#
|
||||||
# If set, log_udp_host will override log_address
|
# If set, log_udp_host will override log_address
|
||||||
# log_udp_host =
|
# log_udp_host =
|
||||||
# log_udp_port = 514
|
# log_udp_port = 514
|
||||||
|
#
|
||||||
# You can enable StatsD logging here:
|
# You can enable StatsD logging here:
|
||||||
# log_statsd_host = localhost
|
# log_statsd_host = localhost
|
||||||
# log_statsd_port = 8125
|
# log_statsd_port = 8125
|
||||||
# log_statsd_default_sample_rate = 1.0
|
# log_statsd_default_sample_rate = 1.0
|
||||||
# log_statsd_sample_rate_factor = 1.0
|
# log_statsd_sample_rate_factor = 1.0
|
||||||
# log_statsd_metric_prefix =
|
# log_statsd_metric_prefix =
|
||||||
|
#
|
||||||
# eventlet_debug = false
|
# eventlet_debug = false
|
||||||
|
#
|
||||||
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
# You can set fallocate_reserve to the number of bytes you'd like fallocate to
|
||||||
# reserve, whether there is space for the given file size or not.
|
# reserve, whether there is space for the given file size or not.
|
||||||
# fallocate_reserve = 0
|
# fallocate_reserve = 0
|
||||||
@ -44,25 +50,32 @@ use = egg:swift#object
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_requests = True
|
# set log_requests = True
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# node_timeout = 3
|
# node_timeout = 3
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
# network_chunk_size = 65536
|
# network_chunk_size = 65536
|
||||||
# disk_chunk_size = 65536
|
# disk_chunk_size = 65536
|
||||||
# max_upload_time = 86400
|
# max_upload_time = 86400
|
||||||
# slow = 0
|
# slow = 0
|
||||||
|
#
|
||||||
# Objects smaller than this are not evicted from the buffercache once read
|
# Objects smaller than this are not evicted from the buffercache once read
|
||||||
# keep_cache_size = 5424880
|
# keep_cache_size = 5424880
|
||||||
|
#
|
||||||
# If true, objects for authenticated GET requests may be kept in buffer cache
|
# If true, objects for authenticated GET requests may be kept in buffer cache
|
||||||
# if small enough
|
# if small enough
|
||||||
# keep_cache_private = False
|
# keep_cache_private = False
|
||||||
|
#
|
||||||
# on PUTs, sync data every n MB
|
# on PUTs, sync data every n MB
|
||||||
# mb_per_sync = 512
|
# mb_per_sync = 512
|
||||||
|
#
|
||||||
# Comma separated list of headers that can be set in metadata on an object.
|
# Comma separated list of headers that can be set in metadata on an object.
|
||||||
# This list is in addition to X-Object-Meta-* headers and cannot include
|
# This list is in addition to X-Object-Meta-* headers and cannot include
|
||||||
# Content-Type, etag, Content-Length, or deleted
|
# Content-Type, etag, Content-Length, or deleted
|
||||||
# allowed_headers = Content-Disposition, Content-Encoding, X-Delete-At, X-Object-Manifest, X-Static-Large-Object
|
# allowed_headers = Content-Disposition, Content-Encoding, X-Delete-At, X-Object-Manifest, X-Static-Large-Object
|
||||||
|
#
|
||||||
# auto_create_account_prefix = .
|
# auto_create_account_prefix = .
|
||||||
# max_clients = 1024
|
# max_clients = 1024
|
||||||
|
#
|
||||||
# Configure parameter for creating specific server
|
# Configure parameter for creating specific server
|
||||||
# To handle all verbs, including replication verbs, do not specify
|
# To handle all verbs, including replication verbs, do not specify
|
||||||
# "replication_server" (this is the default). To only handle replication,
|
# "replication_server" (this is the default). To only handle replication,
|
||||||
@ -88,23 +101,31 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# vm_test_mode = no
|
# vm_test_mode = no
|
||||||
# daemonize = on
|
# daemonize = on
|
||||||
# run_pause = 30
|
# run_pause = 30
|
||||||
# concurrency = 1
|
# concurrency = 1
|
||||||
# stats_interval = 300
|
# stats_interval = 300
|
||||||
|
#
|
||||||
# max duration of a partition rsync
|
# max duration of a partition rsync
|
||||||
# rsync_timeout = 900
|
# rsync_timeout = 900
|
||||||
|
#
|
||||||
# bandwith limit for rsync in kB/s. 0 means unlimited
|
# bandwith limit for rsync in kB/s. 0 means unlimited
|
||||||
# rsync_bwlimit = 0
|
# rsync_bwlimit = 0
|
||||||
|
#
|
||||||
# passed to rsync for io op timeout
|
# passed to rsync for io op timeout
|
||||||
# rsync_io_timeout = 30
|
# rsync_io_timeout = 30
|
||||||
|
#
|
||||||
# max duration of an http request
|
# max duration of an http request
|
||||||
# http_timeout = 60
|
# http_timeout = 60
|
||||||
|
#
|
||||||
# attempts to kill all workers if nothing replicates for lockup_timeout seconds
|
# attempts to kill all workers if nothing replicates for lockup_timeout seconds
|
||||||
# lockup_timeout = 1800
|
# lockup_timeout = 1800
|
||||||
|
#
|
||||||
# The replicator also performs reclamation
|
# The replicator also performs reclamation
|
||||||
# reclaim_age = 604800
|
# reclaim_age = 604800
|
||||||
|
#
|
||||||
# ring_check_interval = 15
|
# ring_check_interval = 15
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
@ -114,12 +135,15 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# interval = 300
|
# interval = 300
|
||||||
# concurrency = 1
|
# concurrency = 1
|
||||||
# node_timeout = 10
|
# node_timeout = 10
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# slowdown will sleep that amount between objects
|
# slowdown will sleep that amount between objects
|
||||||
# slowdown = 0.01
|
# slowdown = 0.01
|
||||||
|
#
|
||||||
# recon_cache_path = /var/cache/swift
|
# recon_cache_path = /var/cache/swift
|
||||||
|
|
||||||
[object-auditor]
|
[object-auditor]
|
||||||
@ -128,6 +152,7 @@ use = egg:swift#recon
|
|||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# files_per_second = 20
|
# files_per_second = 20
|
||||||
# bytes_per_second = 10000000
|
# bytes_per_second = 10000000
|
||||||
# log_time = 3600
|
# log_time = 3600
|
||||||
|
@ -6,16 +6,20 @@
|
|||||||
# swift_dir = /etc/swift
|
# swift_dir = /etc/swift
|
||||||
# workers = 1
|
# workers = 1
|
||||||
# user = swift
|
# user = swift
|
||||||
|
#
|
||||||
# Set the following two lines to enable SSL. This is for testing only.
|
# Set the following two lines to enable SSL. This is for testing only.
|
||||||
# cert_file = /etc/swift/proxy.crt
|
# cert_file = /etc/swift/proxy.crt
|
||||||
# key_file = /etc/swift/proxy.key
|
# key_file = /etc/swift/proxy.key
|
||||||
|
#
|
||||||
# expiring_objects_container_divisor = 86400
|
# expiring_objects_container_divisor = 86400
|
||||||
|
#
|
||||||
# You can specify default log routing here if you want:
|
# You can specify default log routing here if you want:
|
||||||
# log_name = swift
|
# log_name = swift
|
||||||
# log_facility = LOG_LOCAL0
|
# log_facility = LOG_LOCAL0
|
||||||
# log_level = INFO
|
# log_level = INFO
|
||||||
# log_headers = False
|
# log_headers = False
|
||||||
# log_address = /dev/log
|
# log_address = /dev/log
|
||||||
|
#
|
||||||
# This optional suffix (default is empty) that would be appended to the swift transaction
|
# This optional suffix (default is empty) that would be appended to the swift transaction
|
||||||
# id allows one to easily figure out from which cluster that X-Trans-Id belongs to.
|
# id allows one to easily figure out from which cluster that X-Trans-Id belongs to.
|
||||||
# This is very useful when one is managing more than one swift cluster.
|
# This is very useful when one is managing more than one swift cluster.
|
||||||
@ -25,17 +29,21 @@
|
|||||||
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
# functions get passed: conf, name, log_to_console, log_route, fmt, logger,
|
||||||
# adapted_logger
|
# adapted_logger
|
||||||
# log_custom_handlers =
|
# log_custom_handlers =
|
||||||
|
#
|
||||||
# If set, log_udp_host will override log_address
|
# If set, log_udp_host will override log_address
|
||||||
# log_udp_host =
|
# log_udp_host =
|
||||||
# log_udp_port = 514
|
# log_udp_port = 514
|
||||||
|
#
|
||||||
# You can enable StatsD logging here:
|
# You can enable StatsD logging here:
|
||||||
# log_statsd_host = localhost
|
# log_statsd_host = localhost
|
||||||
# log_statsd_port = 8125
|
# log_statsd_port = 8125
|
||||||
# log_statsd_default_sample_rate = 1.0
|
# log_statsd_default_sample_rate = 1.0
|
||||||
# log_statsd_sample_rate_factor = 1.0
|
# log_statsd_sample_rate_factor = 1.0
|
||||||
# log_statsd_metric_prefix =
|
# log_statsd_metric_prefix =
|
||||||
|
#
|
||||||
# Use a comma separated list of full url (http://foo.bar:1234,https://foo.bar)
|
# Use a comma separated list of full url (http://foo.bar:1234,https://foo.bar)
|
||||||
# cors_allow_origin =
|
# cors_allow_origin =
|
||||||
|
#
|
||||||
# client_timeout = 60
|
# client_timeout = 60
|
||||||
# eventlet_debug = false
|
# eventlet_debug = false
|
||||||
# max_clients = 1024
|
# max_clients = 1024
|
||||||
@ -50,6 +58,7 @@ use = egg:swift#proxy
|
|||||||
# set log_facility = LOG_LOCAL0
|
# set log_facility = LOG_LOCAL0
|
||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# log_handoffs = True
|
# log_handoffs = True
|
||||||
# recheck_account_existence = 60
|
# recheck_account_existence = 60
|
||||||
# recheck_container_existence = 60
|
# recheck_container_existence = 60
|
||||||
@ -57,53 +66,69 @@ use = egg:swift#proxy
|
|||||||
# client_chunk_size = 8192
|
# client_chunk_size = 8192
|
||||||
# node_timeout = 10
|
# node_timeout = 10
|
||||||
# conn_timeout = 0.5
|
# conn_timeout = 0.5
|
||||||
|
#
|
||||||
# How long without an error before a node's error count is reset. This will
|
# How long without an error before a node's error count is reset. This will
|
||||||
# also be how long before a node is reenabled after suppression is triggered.
|
# also be how long before a node is reenabled after suppression is triggered.
|
||||||
# error_suppression_interval = 60
|
# error_suppression_interval = 60
|
||||||
|
#
|
||||||
# How many errors can accumulate before a node is temporarily ignored.
|
# How many errors can accumulate before a node is temporarily ignored.
|
||||||
# error_suppression_limit = 10
|
# error_suppression_limit = 10
|
||||||
|
#
|
||||||
# If set to 'true' any authorized user may create and delete accounts; if
|
# If set to 'true' any authorized user may create and delete accounts; if
|
||||||
# 'false' no one, even authorized, can.
|
# 'false' no one, even authorized, can.
|
||||||
# allow_account_management = false
|
# allow_account_management = false
|
||||||
|
#
|
||||||
# Set object_post_as_copy = false to turn on fast posts where only the metadata
|
# 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
|
# 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
|
# 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.
|
# this mode, features like container sync won't be able to sync posts.
|
||||||
# object_post_as_copy = true
|
# object_post_as_copy = true
|
||||||
|
#
|
||||||
# If set to 'true' authorized accounts that do not yet exist within the Swift
|
# If set to 'true' authorized accounts that do not yet exist within the Swift
|
||||||
# cluster will be automatically created.
|
# cluster will be automatically created.
|
||||||
# account_autocreate = false
|
# account_autocreate = false
|
||||||
|
#
|
||||||
# If set to a positive value, trying to create a container when the account
|
# 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.
|
# 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
|
# Note: This is a soft limit, meaning a user might exceed the cap for
|
||||||
# recheck_account_existence before the 403s kick in.
|
# recheck_account_existence before the 403s kick in.
|
||||||
# max_containers_per_account = 0
|
# max_containers_per_account = 0
|
||||||
|
#
|
||||||
# This is a comma separated list of account hashes that ignore the
|
# This is a comma separated list of account hashes that ignore the
|
||||||
# max_containers_per_account cap.
|
# max_containers_per_account cap.
|
||||||
# max_containers_whitelist =
|
# max_containers_whitelist =
|
||||||
|
#
|
||||||
# Comma separated list of Host headers to which the proxy will deny requests.
|
# Comma separated list of Host headers to which the proxy will deny requests.
|
||||||
# deny_host_headers =
|
# deny_host_headers =
|
||||||
|
#
|
||||||
# Prefix used when automatically creating accounts.
|
# Prefix used when automatically creating accounts.
|
||||||
# auto_create_account_prefix = .
|
# auto_create_account_prefix = .
|
||||||
|
#
|
||||||
# Depth of the proxy put queue.
|
# Depth of the proxy put queue.
|
||||||
# put_queue_depth = 10
|
# put_queue_depth = 10
|
||||||
|
#
|
||||||
# Start rate-limiting object segment serving after the Nth segment of a
|
# Start rate-limiting object segment serving after the Nth segment of a
|
||||||
# segmented object.
|
# segmented object.
|
||||||
# rate_limit_after_segment = 10
|
# rate_limit_after_segment = 10
|
||||||
|
#
|
||||||
# Once segment rate-limiting kicks in for an object, limit segments served
|
# Once segment rate-limiting kicks in for an object, limit segments served
|
||||||
# to N per second.
|
# to N per second.
|
||||||
# rate_limit_segments_per_sec = 1
|
# rate_limit_segments_per_sec = 1
|
||||||
|
#
|
||||||
# Storage nodes can be chosen at random (shuffle) or by using timing
|
# Storage nodes can be chosen at random (shuffle) or by using timing
|
||||||
# measurements. Using timing measurements may allow for lower overall latency.
|
# measurements. Using timing measurements may allow for lower overall latency.
|
||||||
# The valid values for sorting_method are "shuffle" and "timing"
|
# The valid values for sorting_method are "shuffle" and "timing"
|
||||||
# sorting_method = shuffle
|
# sorting_method = shuffle
|
||||||
|
#
|
||||||
# If the timing sorting_method is used, the timings will only be valid for
|
# If the timing sorting_method is used, the timings will only be valid for
|
||||||
# the number of seconds configured by timing_expiry.
|
# the number of seconds configured by timing_expiry.
|
||||||
# timing_expiry = 300
|
# timing_expiry = 300
|
||||||
|
#
|
||||||
# If set to false will treat objects with X-Static-Large-Object header set
|
# If set to false will treat objects with X-Static-Large-Object header set
|
||||||
# as a regular object on GETs, i.e. will return that object's contents. Should
|
# as a regular object on GETs, i.e. will return that object's contents. Should
|
||||||
# be set to false if slo is not used in pipeline.
|
# be set to false if slo is not used in pipeline.
|
||||||
# allow_static_large_object = true
|
# allow_static_large_object = true
|
||||||
|
#
|
||||||
# Set to the number of nodes to contact for a normal request. You can use
|
# 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' at the end to have it use the number given times the number of
|
||||||
# replicas for the ring being used for the request.
|
# replicas for the ring being used for the request.
|
||||||
@ -117,24 +142,29 @@ use = egg:swift#tempauth
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_headers = False
|
# set log_headers = False
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# The reseller prefix will verify a token begins with this prefix before even
|
# The reseller prefix will verify a token begins with this prefix before even
|
||||||
# attempting to validate it. Also, with authorization, only Swift storage
|
# attempting to validate it. Also, with authorization, only Swift storage
|
||||||
# accounts with this prefix will be authorized by this middleware. Useful if
|
# accounts with this prefix will be authorized by this middleware. Useful if
|
||||||
# multiple auth systems are in use for one Swift cluster.
|
# multiple auth systems are in use for one Swift cluster.
|
||||||
# reseller_prefix = AUTH
|
# reseller_prefix = AUTH
|
||||||
|
#
|
||||||
# The auth prefix will cause requests beginning with this prefix to be routed
|
# The auth prefix will cause requests beginning with this prefix to be routed
|
||||||
# to the auth subsystem, for granting tokens, etc.
|
# to the auth subsystem, for granting tokens, etc.
|
||||||
# auth_prefix = /auth/
|
# auth_prefix = /auth/
|
||||||
# token_life = 86400
|
# token_life = 86400
|
||||||
|
#
|
||||||
# This allows middleware higher in the WSGI pipeline to override auth
|
# This allows middleware higher in the WSGI pipeline to override auth
|
||||||
# processing, useful for middleware such as tempurl and formpost. If you know
|
# processing, useful for middleware such as tempurl and formpost. If you know
|
||||||
# you're not going to use such middleware and you want a bit of extra security,
|
# you're not going to use such middleware and you want a bit of extra security,
|
||||||
# you can set this to false.
|
# you can set this to false.
|
||||||
# allow_overrides = true
|
# allow_overrides = true
|
||||||
|
#
|
||||||
# This specifies what scheme to return with storage urls:
|
# This specifies what scheme to return with storage urls:
|
||||||
# http, https, or default (chooses based on what the server is running as)
|
# http, https, or default (chooses based on what the server is running as)
|
||||||
# This can be useful with an SSL load balancer in front of a non-SSL server.
|
# This can be useful with an SSL load balancer in front of a non-SSL server.
|
||||||
# storage_url_scheme = default
|
# storage_url_scheme = default
|
||||||
|
#
|
||||||
# Lastly, you need to list all the accounts/users you want here. The format is:
|
# Lastly, you need to list all the accounts/users you want here. The format is:
|
||||||
# user_<account>_<user> = <key> [group] [group] [...] [storage_url]
|
# user_<account>_<user> = <key> [group] [group] [...] [storage_url]
|
||||||
# or if you want underscores in <account> or <user>, you can base64 encode them
|
# or if you want underscores in <account> or <user>, you can base64 encode them
|
||||||
@ -199,6 +229,7 @@ use = egg:swift#memcache
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_headers = False
|
# set log_headers = False
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# If not set here, the value for memcache_servers will be read from
|
# If not set here, the value for memcache_servers will be read from
|
||||||
# memcache.conf (see memcache.conf-sample) or lacking that file, it will
|
# memcache.conf (see memcache.conf-sample) or lacking that file, it will
|
||||||
# default to the value below. You can specify multiple servers separated with
|
# default to the value below. You can specify multiple servers separated with
|
||||||
@ -225,16 +256,21 @@ use = egg:swift#ratelimit
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_headers = False
|
# set log_headers = False
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# clock_accuracy should represent how accurate the proxy servers' system clocks
|
# clock_accuracy should represent how accurate the proxy servers' system clocks
|
||||||
# are with each other. 1000 means that all the proxies' clock are accurate to
|
# are with each other. 1000 means that all the proxies' clock are accurate to
|
||||||
# each other within 1 millisecond. No ratelimit should be higher than the
|
# each other within 1 millisecond. No ratelimit should be higher than the
|
||||||
# clock accuracy.
|
# clock accuracy.
|
||||||
# clock_accuracy = 1000
|
# clock_accuracy = 1000
|
||||||
|
#
|
||||||
# max_sleep_time_seconds = 60
|
# max_sleep_time_seconds = 60
|
||||||
|
#
|
||||||
# log_sleep_time_seconds of 0 means disabled
|
# log_sleep_time_seconds of 0 means disabled
|
||||||
# log_sleep_time_seconds = 0
|
# log_sleep_time_seconds = 0
|
||||||
|
#
|
||||||
# allows for slow rates (e.g. running up to 5 sec's behind) to catch up.
|
# allows for slow rates (e.g. running up to 5 sec's behind) to catch up.
|
||||||
# rate_buffer_seconds = 5
|
# rate_buffer_seconds = 5
|
||||||
|
#
|
||||||
# account_ratelimit of 0 means disabled
|
# account_ratelimit of 0 means disabled
|
||||||
# account_ratelimit = 0
|
# account_ratelimit = 0
|
||||||
|
|
||||||
@ -258,6 +294,7 @@ use = egg:swift#domain_remap
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_headers = False
|
# set log_headers = False
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# storage_domain = example.com
|
# storage_domain = example.com
|
||||||
# path_root = v1
|
# path_root = v1
|
||||||
# reseller_prefixes = AUTH
|
# reseller_prefixes = AUTH
|
||||||
@ -280,6 +317,7 @@ use = egg:swift#cname_lookup
|
|||||||
# set log_level = INFO
|
# set log_level = INFO
|
||||||
# set log_headers = False
|
# set log_headers = False
|
||||||
# set log_address = /dev/log
|
# set log_address = /dev/log
|
||||||
|
#
|
||||||
# storage_domain = example.com
|
# storage_domain = example.com
|
||||||
# lookup_depth = 1
|
# lookup_depth = 1
|
||||||
|
|
||||||
@ -339,9 +377,11 @@ use = egg:swift#proxy_logging
|
|||||||
# access_log_facility = LOG_LOCAL0
|
# access_log_facility = LOG_LOCAL0
|
||||||
# access_log_level = INFO
|
# access_log_level = INFO
|
||||||
# access_log_address = /dev/log
|
# access_log_address = /dev/log
|
||||||
|
#
|
||||||
# If set, access_log_udp_host will override access_log_address
|
# If set, access_log_udp_host will override access_log_address
|
||||||
# access_log_udp_host =
|
# access_log_udp_host =
|
||||||
# access_log_udp_port = 514
|
# access_log_udp_port = 514
|
||||||
|
#
|
||||||
# You can use log_statsd_* from [DEFAULT] or override them here:
|
# You can use log_statsd_* from [DEFAULT] or override them here:
|
||||||
# access_log_statsd_host = localhost
|
# access_log_statsd_host = localhost
|
||||||
# access_log_statsd_port = 8125
|
# access_log_statsd_port = 8125
|
||||||
@ -349,6 +389,7 @@ use = egg:swift#proxy_logging
|
|||||||
# access_log_statsd_sample_rate_factor = 1.0
|
# access_log_statsd_sample_rate_factor = 1.0
|
||||||
# access_log_statsd_metric_prefix =
|
# access_log_statsd_metric_prefix =
|
||||||
# access_log_headers = False
|
# access_log_headers = False
|
||||||
|
#
|
||||||
# What HTTP methods are allowed for StatsD logging (comma-sep); request methods
|
# What HTTP methods are allowed for StatsD logging (comma-sep); request methods
|
||||||
# not in this list will have "BAD_METHOD" for the <verb> portion of the metric.
|
# not in this list will have "BAD_METHOD" for the <verb> portion of the metric.
|
||||||
# log_statsd_valid_http_methods = GET,HEAD,POST,PUT,DELETE,COPY,OPTIONS
|
# log_statsd_valid_http_methods = GET,HEAD,POST,PUT,DELETE,COPY,OPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user