summaryrefslogtreecommitdiff
path: root/doc/source/configuration/block-storage/drivers/linstor-driver.rst
blob: 84453d80123fe92acd7d1febbe1f5ec8bf970771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
==============
LINSTOR driver
==============

The LINSTOR driver allows Cinder to use DRBD/LINSTOR instances.

External package installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The driver requires the ``python-linstor`` package for communication with the
LINSTOR Controller. Install the package from PYPI using the following command:

.. code-block:: console

   $ python -m pip install python-linstor

Configuration
~~~~~~~~~~~~~

Set the following option in the ``cinder.conf`` file for the DRBD transport:

.. code-block:: ini

   volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver

Or use the following for iSCSI transport:

.. code-block:: ini

   volume_driver = cinder.volume.drivers.linstordrv.LinstorIscsiDriver


The following table contains the configuration options supported by the
LINSTOR driver:

.. config-table::
   :config-target: LINSTOR

   cinder.volume.drivers.linstordrv