[DRBD-user] DRBD9 configuration with openstack-cinder-volume on multiple nodes

Marco Marino marino.mrc at gmail.com
Tue Nov 28 11:00:36 CET 2017

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Hi Igor,
because installing openstack-cinder-volume on the storage node doesn't
solve the failover problem in an efficient way. More precisely,
openstack-cinder-volume uses LVM with the default (and more cheaper)
configuration. But LVM has a lot of problems when used in clusters. HA-LVM
has problems with lvmetad service (used by openstack-cinder-volume) and
CLVMd doesn't manage snapshots, a feature really useful in openstack-cinder.
Drbdmanage is a good idea beacuse it manages automatically resources in
drbd as logical volumes and in conjunction with the cinder-volume plugin
handles also the "transport" part to the compute nodes (without pass over
the cinder-volume node). The problem is that there is no documentation and
more important, there are no use case guides. In a datacenter environment
is important to split storage network and replication network and services
on various nodes.
Thank you for your support.
Marco

2017-11-26 23:05 GMT+01:00 Igor Cicimov <igorc at encompasscorporation.com>:

> Hi Marco,
>
> On 23 Nov 2017 7:05 am, "Marco Marino" <marino.mrc at gmail.com> wrote:
>
> Hi, I'm trying to configure drbd9 with openstack-cinder.
> Actually my (simplified) infrastructure is composed by:
> - 2 drbd9 nodes with 2 NICs on each node, one for the "replication"
> network (without using a switch) and one for the "storage" network.
> - 1 compute node with a dedicated NIC connected to the storage network
> - 1 controller with openstack-cinder-volume installed on it.
>
> Please, review the configuration at https://www.draw.io/#G1P2uJ9Lo
> Xc0bJdNRS9m2fN5cuik73t7_T
>
> My questions are:
> 1) Using the DRBD Transport, can I connect directly compute nodes to the
> drbd storage without passing through the cinder-volume node?
> 2) if yes, what I have to install on each node? I suppose:
> drbd9 kernel module + utils + drbdmanage on DRBD1 and DRBD2
> drbd9 kernel module + utils on COMPUTE nodes
> drbdmanage on openstack-cinder-volume (???)
>
> 3) How should I configure openstack-cinder-volume in drbdmanage???
> (External node or whatelse?) Please note that replication network and
> storage network are 2 different subnets! IPs I've used in drbdmanage when I
> created the drbd cluster belongs to the replication network. Is this
> correct?
>
> 192.168.10.0/24 = replication network
> 192.168.20.0/24 = storage network
>
> I'm sorry, but I'm a bit confused about this configuration
>
>
> Wouldn't you just install Cinder together with drbd on the drbd nodes?
> Then you just give cinder the drbd device for its lvm to serve block
> devices from via iSCSI as per usual.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20171128/a60b58ae/attachment.htm>


More information about the drbd-user mailing list