Difference between revisions of "ConfigureSwift"
(Added more details about the .conf files) |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
= Configuring [[OpenStack]] Object Store (Swift) = | = Configuring [[OpenStack]] Object Store (Swift) = | ||
+ | |||
+ | <!-- ## Swift Config snippet --> | ||
Swift uses [http://pythonpaste.org/deploy/ paste.deploy] to manage server configurations, which is a Python-based system for finding and configuring WSGI applications and servers. | Swift uses [http://pythonpaste.org/deploy/ paste.deploy] to manage server configurations, which is a Python-based system for finding and configuring WSGI applications and servers. | ||
Line 13: | Line 15: | ||
* etc/proxy-server.conf-sample | * etc/proxy-server.conf-sample | ||
− | Configuration options are documented in the [http://swift.openstack.org/deployment_guide.html#general-server-configuration Swift developer documentation]. | + | Here are the basic steps. Configuration options are documented in the [http://swift.openstack.org/deployment_guide.html#general-server-configuration Swift developer documentation]. |
+ | # Create /etc/swift/auth-server.conf. | ||
+ | # Create /etc/swift/proxy-server.conf. | ||
+ | # Create /etc/swift/account-server/1.conf, 2.conf, 3.conf, 4.conf, and so on until each account server has a conf file. | ||
+ | # Create /etc/swift/container-server/1.conf, 2.conf, 3.conf, 4.conf, and so on for each container server. | ||
+ | |||
---- | ---- | ||
[[Category:HowTo]] [[Category:Swift]] | [[Category:HowTo]] [[Category:Swift]] |
Revision as of 20:03, 1 October 2010
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.
- Create /etc/swift/auth-server.conf.
- Create /etc/swift/proxy-server.conf.
- Create /etc/swift/account-server/1.conf, 2.conf, 3.conf, 4.conf, and so on until each account server has a conf file.
- Create /etc/swift/container-server/1.conf, 2.conf, 3.conf, 4.conf, and so on for each container server.