1c8f49bfe9
This is take #2 for managing replicaiton in Cinder. This patch provides the foundation in Cinder to make volume replication available to the cloud admin. It makes Cinder aware of volume replicas, and allows the cloud admin to define storage policies (volume types) that will enable replication. In this version Cinder delegates most the work on replication to the driver itself. This includes: 1. Driver exposes replication capabilities via volume type convention. 2. Extend volume table to include columns to support replicaion. 3. Create replicas in the driver, making it transparant to Cinder. 4. Volume manager code to handle API, updates to create_volume to support creating test replicas. 5. Driver methods to expose per replication functions Cinder-specs available at https://review.openstack.org/#/c/98308/ Volume replication use-case: Simplified disaster recovery The OpenStack cloud is deployed across two metro distance data centers. Storage backends are available in both data ceneters. The backends are managed by either a single Cinder host or two, depending on the storage backend requirements. Storage admin configures the Cinder volume driver to support replication. Cloud admin creates a volume type "replicated" with extra-specs: capabilities:replication="<is> True" Every volume created in type "replicated" has a copy on both backends. In case of data center failure in first data center, the cloud admin promotes the replica, and redeploy the VMs - they will now run on a host in the secondary data center using the storage on the secondary data center. Implements: blueprint volume-replication DocImpact Change-Id: I964852f08b500400a27bff99e5200386e00643c9 |
||
---|---|---|
bin | ||
cinder | ||
doc | ||
etc/cinder | ||
rally-scenarios | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.md | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
pylintrc | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
The Choose Your Own Adventure README for Cinder
You have come across a storage service for an open cloud computing service. It has identified itself as "Cinder." It was abstracted from the Nova project.
To monitor it from a distance: follow @openstack on twitter.
To tame it for use in your own cloud: read http://docs.openstack.org
To study its anatomy: read http://cinder.openstack.org
To dissect it in detail: visit http://github.com/openstack/cinder
To taunt it with its weaknesses: use http://bugs.launchpad.net/cinder
To watch it: http://jenkins.openstack.org
To hack at it: read HACKING.rst