Ask Your Question
0

rdo aio, choose in which node and block storage to lunch the instance and

asked 2017-07-04 00:06:17 -0500

Mimi gravatar image

Hi there,

I have two servers (each with a single NIC). I configure the rdo one the first server as AIO (all-in-ine) and added the second compute node too. I have partitioned the servers like vg0 and cinder-volumes. Everything is find with the aio node since its create the instances in the cinder-volumes vg (this is by default configuration for rdo).

Here is my question:

I want to create the instances in one of the compute node let say node02 and this I can do it with CLI openstack server create ----availability-zone nova:node02.

How I need to configure the cinder in case when I lunch the instances in the node02 to use node02 vg->cinder-volumes and when I lunch an instance on node01 to use the node01 vg->cinder-volumes.

The cinder.conf has a LVM definition for my all-in-one node (which is okay) and I have no idea how to configure the second LVM and tell it is for a second node02.

p.s. I'm very surprised for what is capable openstack :) Regards, shkumbini

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2017-07-04 02:13:47 -0500

Bernd Bausch gravatar image

updated 2017-07-04 02:15:00 -0500

You can configure different backends for each compute node's volume group, and expose them to users via volume types. The admin guide tells you how, but it seems it's currently broken after a reorganisation of the documentation web site. Try Redhat documentation.

Alternatively, Cinder also has the notion of availability zones. The AZ of a Cinder node is set via the storage_availability_zone config variable; when creating a volume, use the --availability-zone option.

Perhaps you can also configure these things using the answer file, but I have no experience with this particular topic.

edit flag offensive delete link more

Comments

Hi Bernd,

I'll write you again on this... your advice was useful to me. I found very interesting article https://www.mirantis.com/blog/the-first-and-final-word-on-openstack-availability-zones/ (link).

I'll be back here...

Mimi gravatar imageMimi ( 2017-07-05 14:44:47 -0500 )edit

You might also be interested in this option: https://ask.openstack.org/en/question...

Bernd Bausch gravatar imageBernd Bausch ( 2017-07-06 23:09:25 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-07-04 00:06:17 -0500

Seen: 13 times

Last updated: Jul 04