diff options
author | Vu Tran <vu.tran@windriver.com> | 2014-02-28 09:11:11 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-03-17 14:23:47 -0400 |
commit | b7527a3c0b5ab0849a0c669cb345c6494628da8f (patch) | |
tree | 23fcc12de79885d56acfa3a159127b0cafa2522b /meta-openstack/README.setup | |
parent | 386984449b5ba4ce3899950e7a3b1bded9b891d0 (diff) | |
download | meta-cloud-services-b7527a3c0b5ab0849a0c669cb345c6494628da8f.tar.gz |
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')
-rw-r--r-- | meta-openstack/README.setup | 18 |
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: | |||
152 | % neutron net-create mynetwork | 152 | % neutron net-create mynetwork |
153 | % nova boot --image myFirstImage --flavor 1 myinstance | 153 | % nova boot --image myFirstImage --flavor 1 myinstance |
154 | 154 | ||
155 | * Cinder Multi-backend * | ||
156 | |||
157 | Cinder currently is configured to support multi-backend: lvm-iscsi and nfs backends. | ||
158 | When a Cinder volume is created, it's needed to be specified which backend its belong | ||
159 | to through "--volume_type" option passed in "cinder create" command. | ||
160 | |||
161 | The Cinder volume types for lvm-iscsi and nfs can be created as following steps: | ||
162 | |||
163 | % . /etc/nova/openrc | ||
164 | % cinder type-create lvm_iscsi | ||
165 | % cinder type-key lvm_iscsi set volume_backend_name=LVM_iSCSI | ||
166 | % cinder type-create nfs | ||
167 | % cinder type-key nfs set volume_backend_name=Generic_NFS | ||
168 | |||
169 | For example, to create 1G Cinder volume in lvm-iscsi backend: | ||
170 | |||
171 | % cinder create --volume_type lvm_iscsi --display_name=lvm_vol 1 | ||
172 | |||
155 | !! Hint !! | 173 | !! Hint !! |
156 | 174 | ||
157 | When using a multi-node setup it is recommended that each host have a different | 175 | When using a multi-node setup it is recommended that each host have a different |