OpenStack Block Storage (Cinder)
eb3fcbb9bc
This patch implements the v2.1 replication in the HuaweiDriver. All function in replication v2 are removed. A new function, failover_host, is added to support failover between backends. When error occurred on primary backend, you can failover to the secondary backend. But it's strongly recommended to recover the primary backend. After failover backend, the operations on the secondary backend are limited. A simple example, if you create a new volume on secondary, after failback, it can't be used. So, You should not do that, such as create, delete, extend volumes, etc. But you can detach volume if it's in in-use status, then do attach to vm to make replication volumes R&W. The configuration for v2.1 is almost the same as v2. Except that, only one backend configuration is needed. A simple example as follows: [replica] volume_driver = cinder.volume.drivers.huawei.huawei_driver.HuaweiISCSIDriver cinder_huawei_conf_file = /etc/cinder/cinder_huawei_conf.xml replication_device = backend_id:huawei-replica-1, storage_pool:pool_1, san_address:san_url_1;san_url_2, iscsi_default_target_ip:192.168.1.100, san_user:admin,san_password:passwd Change-Id: Ib555707e9751f78ce00c9dcdbbe370a18ed0ae6c Closes-Bug: #1556450 |
||
---|---|---|
cinder | ||
doc | ||
etc/cinder | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here http://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient