Jump to: navigation, search

Difference between revisions of "SwiftInstall"

Line 17: Line 17:
 
== Installing Swift (hardware) ==
 
== Installing Swift (hardware) ==
  
Please improve these instructions as you see fit, we are revising detailed instructions on Etherpad at http://etherpad.openstack.org/MultiServerSwift. We are still working through the details of network setup and exact packages, plus it is Ubuntu-centric.
+
You can install Swift with detailed instructions here: http://swift.openstack.org/howto_installmultinode.html.  
 
 
Here are the overall steps.
 
 
 
'''Step 1: Get the code '''
 
 
 
Download a release package from http://launchpad.net/swift or 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]]

Revision as of 15:38, 12 November 2010

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 on Ubuntu/Debian, and there are additional notes on Fedora/RHEL as well.

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)

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

Installing Swift (hardware)

You can install Swift with detailed instructions here: http://swift.openstack.org/howto_installmultinode.html.