5eb78aad48
Update swift configuration for Liberty. Includes moving basic host configuration of object storage nodes to environment section. Also addresses some consistency issues, mostly from the RST conversion. Changes and testing specific to distribution packages primarily involve Ubuntu. Other distributions may require additional patches. Change-Id: I00c9f9fbc3700ebf0423a4c1ac92ff6863852df6 Implements: blueprint installguide-liberty
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
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:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
bind_ip = MANAGEMENT_INTERFACE_IP_ADDRESS
|
|
bind_port = 6000
|
|
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:: ini
|
|
|
|
[pipeline:main]
|
|
pipeline = healthcheck recon object-server
|
|
|
|
.. note::
|
|
|
|
For more information on other modules that enable additional features,
|
|
see the `Deployment Guide <http://docs.openstack.org/developer/swift/deployment_guide.html>`__.
|
|
|
|
* In the ``[filter:recon]`` section, configure the recon (meters) cache
|
|
and lock directories:
|
|
|
|
.. code-block:: ini
|
|
|
|
[filter:recon]
|
|
...
|
|
recon_cache_path = /var/cache/swift
|
|
recon_lock_path = /var/lock
|