Jump to: navigation, search

Difference between revisions of "SwiftInstall"

(add devstack)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
 
= Installing Object Storage (Swift) =
 
You can provide cloud-based object storage for archival backups, content delivery networks (CDN), and more scalable, high-availability, high-performing storage use cases. Here's how to install it.
 
 
== Pre-requisites for Swift ==
 
Object Storage (Swift) is intended to run on commodity hardware, meaning any computers that run Linux or Windows typically will do. Generally we do not recommend RAID due to performance degradation since it doesn't match Swift's design well.
 
 
You can install Swift as a standalone single system, slice, or VM. This method is typically reserved for development. You can install it in a lab environment or in a staging area. At Rackspace we have 36 storage nodes in staging. In addition, you can install Swift in your production environment.
 
 
The objects you intend to store need to be broken into chunks smaller than 5 GB.  Support for larger files is in the works:
 
https://code.launchpad.net/~gholt/swift/largefiles
 
  
 
== Installing Swift (virtual machine) ==
 
== Installing Swift (virtual machine) ==
Line 15: Line 4:
 
You can install Swift with an all-in-one virtual machine by following instructions here: http://swift.openstack.org/development_saio.html.
 
You can install Swift with an all-in-one virtual machine by following instructions here: http://swift.openstack.org/development_saio.html.
  
 +
You can installl Swift+Keystone with devstack by following instructions here: https://github.com/openstack-dev/devstack/#swift
 +
 
== Installing Swift (hardware) ==
 
== Installing Swift (hardware) ==
  
Please improve these instructions as you see fit.
+
You can install Swift with detailed instructions here:  
 
+
* http://docs.openstack.org/trunk/openstack-object-storage/admin/content/
'''Step 1: Set up the source code '''
+
* http://swift.openstack.org/howto_installmultinode.html.  
 
 
Follow the [[LifeWithBzrAndLaunchpad|source download instructions]].
 
 
 
''' Step 2: Generate the ring files, add devices to the ring, and rebalance '''
 
 
 
You use the swift-ring-builder command line tool to build the ring. You can follow the all-in-one instructions to generate the data.
 
 
 
''' Step 3: Create configuration files for each server '''
 
 
 
{{:[[ConfigureSwift]], , from="## Swift Config snippet"}}
 
 
 
''' Step 4: Start Swift '''
 
# Create a startup script, such as:
 
 
 
<pre><nowiki>
 
#!/bin/bash
 
swift-init auth-server start
 
swift-init proxy-server start
 
swift-init account-server start
 
swift-init container-server start
 
swift-init object-server start
 
</nowiki></pre>
 
 
 
# Give execute permissions for the files in /bin.  
 
  
 
----
 
----
 
[[Category:HowTo]]
 
[[Category:HowTo]]
 
[[Category:Swift]] [[Category:Swift]]
 
[[Category:Swift]] [[Category:Swift]]

Latest revision as of 08:59, 24 December 2013

Installing Swift (virtual machine)

You can install Swift with an all-in-one virtual machine by following instructions here: http://swift.openstack.org/development_saio.html.

You can installl Swift+Keystone with devstack by following instructions here: https://github.com/openstack-dev/devstack/#swift

Installing Swift (hardware)

You can install Swift with detailed instructions here: