2016-06-15 18:35:05 +02:00
|
|
|
Edit the ``/etc/swift/object-server.conf`` file and complete the
|
|
|
|
following actions:
|
|
|
|
|
|
|
|
* In the ``[DEFAULT]`` section, configure the bind IP address, bind port,
|
|
|
|
user, configuration directory, and mount point directory:
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
[DEFAULT]
|
|
|
|
...
|
|
|
|
bind_ip = MANAGEMENT_INTERFACE_IP_ADDRESS
|
2017-03-02 16:56:13 +00:00
|
|
|
bind_port = 6200
|
2016-06-15 18:35:05 +02:00
|
|
|
user = swift
|
|
|
|
swift_dir = /etc/swift
|
|
|
|
devices = /srv/node
|
|
|
|
mount_check = True
|
|
|
|
|
|
|
|
Replace ``MANAGEMENT_INTERFACE_IP_ADDRESS`` with the IP address of the
|
|
|
|
management network on the storage node.
|
|
|
|
|
|
|
|
* In the ``[pipeline:main]`` section, enable the appropriate modules:
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
[pipeline:main]
|
|
|
|
pipeline = healthcheck recon object-server
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
For more information on other modules that enable additional features,
|
2017-09-05 19:16:30 +08:00
|
|
|
see the `Deployment Guide <https://docs.openstack.org/swift/latest/deployment_guide.html>`__.
|
2016-06-15 18:35:05 +02:00
|
|
|
|
|
|
|
* In the ``[filter:recon]`` section, configure the recon (meters) cache
|
|
|
|
and lock directories:
|
|
|
|
|
|
|
|
.. code-block:: none
|
|
|
|
|
|
|
|
[filter:recon]
|
|
|
|
use = egg:swift#recon
|
|
|
|
...
|
|
|
|
recon_cache_path = /var/cache/swift
|
|
|
|
recon_lock_path = /var/lock
|