<div>Hi,</div>We were researching Openstack for our private cloud, and want to share experience and get tips from community as we go on. <div><br></div><div>We have settled on DRBD as shared storage platform for our installation. LVM is used over the drbd device to mange logical volumes. OCFS2 file system is created on one of volumes, mounted and set up as <b>image_path</b> and <b>instance_path</b> in the <i>nova.conf</i>, other space is reserved for storage volumes (managed by nova-volume). <div>
<div><br></div><div>As a result, we have shared storage suitable for features such as live migration and snapshots. We also have some level of fault-tolerance, with DRBD I/O error handling, which automatically redirects I/O requests to peer node over network in case of primary node failure. We created <a href="https://github.com/Mirantis/openstack-utils/blob/master/recovery_instance_by_id.py">script</a> for bootstrapping lost VMs in two crash scenarios:</div>
<div>* dom0 host restart/domU failure: restore VMs on the same host</div><div>* dom0 host failure: restore VMs on peer node<br><div>We are considering such pair of servers with shared storage as a basic block for the cloud structure.</div>
<div><br></div><div>For whom it may interest, the details of DRBD installation are <a href="http://mirantis.blogspot.com/2011/05/shared-storage-for-openstack-based-on.html" target="_blank">here</a>. I'll be glad to answer any questions and highly appreciate feedback on this.</div>
<div><br></div><div>Oleg S. Gelbukh,</div><div>Mirantis Inc.</div><div><a href="http://www.mirantis.com">www.mirantis.com</a></div>
</div></div></div>