DevStack plugin to configure the DRBD backend.
Go to file
Sam Leonard 9ec8735cc8 Allow server to start before drbdmanage commands run
DRBDmanage needs to wait until server is fully booted, before
running other commands.

Change-Id: I91a32b65aaf8c05d13058adcd862e662f1d32b47
Signed-off-by: Sam Leonard <sam@linbit.com>
2016-11-21 09:09:15 -08:00
devstack Allow server to start before drbdmanage commands run 2016-11-21 09:09:15 -08:00
.gitignore drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
.gitreview Update .gitreview for new namespace 2015-10-17 22:08:13 +00:00
CONTRIBUTING.rst drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
LICENSE drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
README.rst Enable drbd automatically 2016-09-07 21:31:36 +02:00
drbd-devstack.json drbd-devstack: Initial implementation. 2015-05-22 22:05:35 +02:00
tox.ini Fix tox file for bashate 2016-02-05 09:21:32 +01:00

README.rst

drbd-devstack

DRBD installation helper for DevStack.

  • Free software: Apache license

This plugin helps to install the DRBD backend for Cinder (and, later on, Nova) in a devstack install.

Usage

Put some lines similar to these in your `local.conf`:

enable_plugin drbd-devstack git://git.openstack.org/openstack/drbd-devstack CINDER_ENABLED_BACKENDS=drbd:drbdmanage

A few environment variables can be set to modify the behaviour:

  • CINDER_DRBD_NO_STORAGE means --no-storage
  • CINDER_DRBD_NO_CV gets translated to --no-control-volume. This is allowed only for additional nodes, and not the initial drbdmanage node that has to create a control volume.
  • CINDER_DRBD_USE_DRBD_PROTOCOL makes the driver use the DRBD protocol to provide storage to the Nova nodes.

Secondary nodes are detected by having $SERVICE_HOST unequal to $HOST_IP, and therefore register themselves as additional nodes in drbdmanage.