https://github.com/rubiojr/swift-solo
Chef Cookbooks to install an OpenStack Swift cluster using knife-solo
https://github.com/rubiojr/swift-solo
Last synced: 3 months ago
JSON representation
Chef Cookbooks to install an OpenStack Swift cluster using knife-solo
- Host: GitHub
- URL: https://github.com/rubiojr/swift-solo
- Owner: rubiojr
- Created: 2012-03-04T12:44:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-03-04T13:12:10.000Z (over 13 years ago)
- Last Synced: 2025-01-26T11:09:11.538Z (4 months ago)
- Language: Ruby
- Homepage:
- Size: 261 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DESCRIPTION
OpenStack Swift Chef Cookbooks for knife-solo - Ubuntu LTS 12.04
The swift cookbook is based on the work from Voxel (https://github.com/voxeldotnet/openstack-swift-chef) and Dell, Inc. OpenStack Swift cookbooks.
It can be used to create three different Swift installations:
* Test node install: 1 proxy+storage node with no replicas
* n-storage nodes + 1 proxy node
* n-storage nodes + n proxy nodesThe cookbook is not intented to be used to create production Swift cluster right now. It's been coded to easily setup test clusters with knife-esx/kvm and knife-solo.
If you wan't to setup Swift production clusters, have a look at https://github.com/dellcloudedge/crowbar
*This documentation is a work in progress.*
## How to use
The swift cookbook has been designed to setup the nodes in a specific order:
1. Setup the proxy+ring-builder node.
2. Setup the storage nodes and additional proxy nodes if requried.Proxy (not the ring-builder proxy node) and storge servers require the ring files to start, so we need to fetch them from the proxy+ring-builder. The fetch files files using rsync so setting up this node (the proxy+ring-builder node) first is important.
## Proxy nodes
We can setup two different kinds of proxy nodes:
* A proxy+ring-builder node
This proxy node is responsible for computing the rings (running swift-ring-bulder create/add/rebalance). This cookbook has been designed to have one ring-builder node only
* A standard proxy node
Standard proxy nodes will copy the rings from the ring-builder node.
## Storage nodes
Storage nodes will copy required ring files from the ring-builder node too.