Jump to: navigation, search

ConfigureSwift

Revision as of 20:05, 1 October 2010 by AnneGentle (talk) (Removed cateogry links as they don't work well with snippets)

Configuring OpenStack Object Store (Swift)

Swift uses paste.deploy to manage server configurations, which is a Python-based system for finding and configuring WSGI applications and servers.

Default configuration options are set in the [DEFAULT] section, and any options specified there can be overridden in any of the other sections.

These are the four files that are included in the source code repository.

  • etc/object-server.conf-sample
  • etc/container-server.conf-sample
  • etc/account-server.conf-sample
  • etc/proxy-server.conf-sample

Here are the basic steps. Configuration options are documented in the Swift developer documentation.

  1. Create /etc/swift/auth-server.conf.
  2. Create /etc/swift/proxy-server.conf.
  3. Create /etc/swift/account-server/1.conf, 2.conf, 3.conf, 4.conf, and so on until each account server has a conf file.
  4. Create /etc/swift/container-server/1.conf, 2.conf, 3.conf, 4.conf, and so on for each container server.