File: storage-include2.txt

package info (click to toggle)
swift 2.35.1-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 22,760 kB
  • sloc: python: 281,901; javascript: 1,059; sh: 619; pascal: 295; makefile: 81; xml: 32
file content (41 lines) | stat: -rw-r--r-- 1,116 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Edit the ``/etc/swift/container-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
     bind_port = 6201
     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 container-server

  .. note::

     For more information on other modules that enable additional features,
     see the `Deployment Guide <https://docs.openstack.org/swift/latest/deployment_guide.html>`__.

* In the ``[filter:recon]`` section, configure the recon (meters) cache
  directory:

  .. code-block:: none

     [filter:recon]
     use = egg:swift#recon
     ...
     recon_cache_path = /var/cache/swift