path: root/meta-openstack/README.setup
diff options
authorVu Tran <vu.tran@windriver.com>2014-02-28 09:11:11 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-03-17 14:23:47 -0400
commitb7527a3c0b5ab0849a0c669cb345c6494628da8f (patch)
tree23fcc12de79885d56acfa3a159127b0cafa2522b /meta-openstack/README.setup
parent386984449b5ba4ce3899950e7a3b1bded9b891d0 (diff)
cinder: enable nfs backend
This patch enables multi-backend support (lvm-iscsi and nfs) on cinder-volume. This including changing cinder.conf, creating missing nfs_shares config file, and adding mount.nfs into compute node image. Signed-off-by: Vu Tran <vu.tran@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/README.setup')
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-openstack/README.setup b/meta-openstack/README.setup
index ab0c261..8ad892e 100644
--- a/meta-openstack/README.setup
+++ b/meta-openstack/README.setup
@@ -152,6 +152,24 @@ following steps will validate a simple compute node guest launch:
% neutron net-create mynetwork
% nova boot --image myFirstImage --flavor 1 myinstance
+* Cinder Multi-backend *
+Cinder currently is configured to support multi-backend: lvm-iscsi and nfs backends.
+When a Cinder volume is created, it's needed to be specified which backend its belong
+to through "--volume_type" option passed in "cinder create" command.
+The Cinder volume types for lvm-iscsi and nfs can be created as following steps:
+ % . /etc/nova/openrc
+ % cinder type-create lvm_iscsi
+ % cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI
+ % cinder type-create nfs
+ % cinder type-key nfs set volume_backend_name=Generic_NFS
+For example, to create 1G Cinder volume in lvm-iscsi backend:
+ % cinder create --volume_type lvm_iscsi --display_name=lvm_vol 1
!! Hint !!
When using a multi-node setup it is recommended that each host have a different