[Openstack] [Nova]How to setup shared storage for live migration based on IPSAN device?

Speichert,Daniel djs428 at drexel.edu
Mon Oct 28 12:46:47 UTC 2013


Ray,
It seems that OpenStack purposefully omits the method of provisioning shared storage.
It's totally up to you - all you need to do is to mount /var/lib/nova/instances/ on each compute node on the system level.

Make sure your user IDs inside /var/lib/nova/instances/ are correct: nova, libvirt-em and kvm need to have matching IDs across all machines if you use e.g. NFSv3.

Regards,
Daniel

From: Ray Sun [mailto:xiaoquqi at gmail.com]
Sent: Monday, October 28, 2013 4:27 AM
To: OpenStack Maillist
Subject: [Openstack] [Nova]How to setup shared storage for live migration based on IPSAN device?

Hi Stackers,
I found there is a document to describe how to setup live migration using NFS by Mirantis.
http://www.mirantis.com/blog/tutorial-openstack-live-migration-with-kvm-hypervisor-and-nfs-shared-storage
In this articles, there is a paragraph here:
In a typical Openstack deployment, every compute node manages its instances locally in a dedicated directory (for example, /var/lib/nova/instances/) but for live migration, this folder has to be in a centralized location and shared across all the compute nodes. Hence, a shared file system or block storage is an important requirement for enabling live migration. For shared storage, a distributed file system such as GlusterFS, NFS needs to be properly configured and running before live migration can be performed. SAN storage protocols such as Fibre Channel (FC) and iSCSI can also be used for shared storage.

Please pay attention the sentence in blue, currently, I have a IPSAN device, and I want use it as the shared storage for all my compute nodes. My questions is how to setup it in nova, I didn't find any document to introduce this, please help. Thanks a lot.

Best Regards
-- Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20131028/fbd98bfd/attachment.html>


More information about the Openstack mailing list