How to configure openstack (nova and cinder) to use LUNs from SAN ?

asked 2017-08-06 17:04:04 -0500

Malek gravatar image

Hi all !

So as described in the title, i have a problem with the configuration of cinder and nova-compute with the san storage in order to do live migrations between compute nodes. I want to create LUNs in the Array Bay with multiple paths, zone them in the FC switch with the physical servers (nova-compute nodes), configure cinder with these LUNs, and then create the instances in these LUNs. I don't want to use any of the Fibre Channel Zone Manager or any driver. Just like the old method in vmware (ESXi attached directely to LUNs and vmdks are in these LUNs). So i don't have any idea where to start and which config file to use :/

I've done some search and i dont know how to apply that in my case :

For example, after creating nova availability zones - which i have't understand - i founded that i can specify multiple disks in the /etc/cinder/cinder.conf configuration file, like :


but i don't know where to install cinder-volume, on the controller or on the nova-compute node, and if it is applicable in the case of LUNs from SAN :/

Also, in NFS, we can mount the /var/lib/nova/instances as a NFS share, so we can use an external storage. I guessed that i can do the same thing with LUNs in FC but i will do it only for one LUN (mounting the LUN on the mount point of /var/lib/nova/instances), and my goal is to mount multiple LUNs in nova-compute nodes.

As you can see, i'm very confused and lost. Please help me !

Thanks in advance.

edit retag flag offensive close merge delete


cinder-volume is either installed on a control node or separately on a dedicated storage node, the latter seems to be your setup. Search this for your volume_driver, it contains the required config options.

eblock gravatar imageeblock ( 2017-08-07 02:39:44 -0500 )edit

Thanks for your response. But i want to manage storage directly from the SAN, not from cinder (i can't add driver to cinder to manage the Array Bay). And if cinder is used, i think the storage will be provided using scsi not from FC :/ And my goal is to give instances access to storage directly(fc)

Malek gravatar imageMalek ( 2017-08-08 04:03:45 -0500 )edit

This is not really my field of expertise, I hope someone else can help you out.

eblock gravatar imageeblock ( 2017-08-09 03:10:43 -0500 )edit

Thanks a lot eblock for your response.

Malek gravatar imageMalek ( 2017-08-09 05:11:21 -0500 )edit

Hello all ! Please Help me :(

Malek gravatar imageMalek ( 2017-08-12 06:39:36 -0500 )edit