From b7527a3c0b5ab0849a0c669cb345c6494628da8f Mon Sep 17 00:00:00 2001 From: Vu Tran Date: Fri, 28 Feb 2014 09:11:11 -0500 Subject: 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 Signed-off-by: Bruce Ashfield --- meta-openstack/README.setup | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'meta-openstack/README.setup') 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 -- cgit v1.2.3-54-g00ecf