how to install and configure cinder-volume in a different computer system

Asked by Kenneth Zhang on 2013-04-09

I have a openstack Folsom with a controller node and several compute nodes. Currently all cinder services and iscsi target are on the controller node. The question is how I can move the cinder-volume and iscsi target to a different system for easier storage expansion.

Question information

Language:
English Edit question
Status:
Solved
For:
Cinder Edit question
Assignee:
No assignee Edit question
Solved by:
Khanh Nguyen
Solved:
2013-04-12
Last query:
2013-04-12
Last reply:
2013-04-10
Best Khanh Nguyen (ndquockhanh) said : #1

just install cinder-services on another node

Kenneth Zhang (kenneth-zhang) said : #2

In addition to installing cinder services, a number of configurations should be done:
- delete keystone endpoint for old cinder node from database
- create keystone endpoint for the new cinder node, with its own IP address, in database
- edit /etc/cinder/api-pase.ini: use cinder node IP address for 'service_host'
- edit /etc/cinder/cinder.conf: use cinder node iscsi target IP address for 'iscsi_ip_address'; use controller node IP address for 'rabbit_host'

Kenneth Zhang (kenneth-zhang) said : #3

Thanks Khanh Nguyen, that solved my question.

Shanthakumar K (shantha-kumar) said : #4

I have multi node O~S with ubuntu12.04 64b

Kindly clarify me, If I move out cinder component alone to another node. what are the things needs to be taken care ?

I have working setup of single node cinder and configured second node with "cinder-volume" alone and trying to use the cinder service, when I am running out of volumes in one node or want to use some other volume types.

Node 1: All the O~S componets
Node 2 : Cinder volume alone

I could list the cinder hosts by "cinder-manager host list command" but i when i fire the command to create the volume its unable to find the host

 ERROR [cinder.scheduler.manager] Failed to schedule_create_volume: No valid host was found.

Kindly help me on this.

Do I need to add any configuration in the cinder node and do I need all the cinder services like api , scheduler also in second also though I serving the req from only controller node?

Shanthakumar K (shantha-kumar) said : #5

For your information : I want to have cinder services running on both the nodes and serve the request for both the nodes.

Cristian Tomoiaga (ctomoiaga) said : #6

If you want to be able to server one nova-compute node (one server hosting VMs) with multiple storage systems (servers holding VM data, exposed through iSCSI to the compute node) then you may be interested in:
https://wiki.openstack.org/wiki/Cinder-multi-backend

You need cinder-volume on the second node (where I understand you want to create VM virtual disks) that should be able to connect to the cinder endpoint (the cinder endpoint is on your first node as far as I understand).

Do you actually need local storage, a mix between local and iscsi or only iscsi ?

Shanthakumar K (shantha-kumar) said : #7

Thanks for your resposne.

We have configured the cinder multi backend and its working fine.

As part of new requirement, we need have 2 cinder node, where we can expand the storage.

I'm looking for mix of local & iscsi.