<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Hi Diego,</p>
<p>Thanks for your ideas about vm storage.<br />In my proposal/question, I got in mind (for now) volume more than vm storage (with the zfs property allowing nfs sharing, I believe that vm storage can already be done with zfs backend).</p>
<p>--- Nicolas</p>
<p>On 2012-06-10 17:58, Diego Parrilla Santamaría wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<p>Nicolas,</p>
<div>it makes a lot of sense what you want to do. ZFS+iSCSI is a perfect fit for vm storage, some other IaaS solutions already use this combination (and I have developed some). Keep in mind that Nexenta is only a distro based upon OpenSolaris: OpenIndiana, FreeBSD... there are a lot of options with ZFS.</div>
<div>There are several things you should consider to implement this feature:</div>
<div>1) The code that matters is mostly in nova/virt/libvirt/connection.py for libvirt</div>
<div>2) You need to implement a new storage type: iscsi (<a href="http://libvirt.org/storage.html#StorageBackendISCSI">http://libvirt.org/storage.html#StorageBackendISCSI</a>)</div>
<div>3) You need to implement a feature to block-copy the source image to the backend iscsi storage</div>
<div>4) _cache_image method and most of _create_image should be developed thinking in 3)</div>
<div>I think the only reason to implement this feature is to develop a highly scalable storage system for instances, so a single storage system does not make sense. It should be able to manage a list storage systems as a pool and load balance them.</div>
<div>Some quick thoughts, good luck!</div>
<div>Diego</div>
<div><br clear="all" /> -- <br />
<div style="font-size: 13px;" align="left">
<div><span><span style="font-family: Arial;">Diego Parrilla<br /></span></span><span style="font-family: Arial; font-size: x-small;"><strong>CEO</strong><span style="font-size: xx-small;"><br /></span></span><span style="border-collapse: separate; font-family: Times; font-size: medium;"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"></span></span><strong><span style="font-family: Arial; font-size: x-small;"><a href="http://www.stackops.com/"><strong>www.stackops.com</strong></a> | </span></strong><span style="font-family: Arial; font-size: x-small;"><span style="font-size: xx-small;"> <a href="mailto:diego.parrilla@stackops.com">diego.parrilla@stackops.com</a></span></span><span style="border-collapse: separate; font-family: Times; font-size: medium;"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><span style="color: #004438; font-family: Arial;"><strong><strong><span style="font-size: 10pt;"></span></strong></strong></span></span></span><span style="font-family: Arial; font-size: x-small;"><span style="font-size: xx-small;"> | </span></span><span style="border-collapse: separate; font-family: Times; font-size: medium;"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><span style="font-family: Arial; font-size: x-small;"><span style="font-size: xx-small;">+34 649 94 43 29 | <a>skype:diegoparrilla</a></span></span></span></span><span style="font-family: Arial; font-size: x-small;"><a href="http://www.stackops.com/"><strong><br /></strong></a></span></div>
</div>
<div style="font-size: 13px;">
<p><span style="border-collapse: separate; color: #000000; font-family: Times; font-size: medium;"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><span style="border-collapse: separate; font-family: Times; font-size: medium;"><span style="border-collapse: collapse; font-family: arial,sans-serif; font-size: 13px;"><span style="color: #004438; font-family: Arial;"><strong><strong><span style="font-size: 10pt;"><img src="cid:abe2af1d71a7a20a51b53140bb2ad171@nicolas2bonfils.com" &_id=17608551704fd4e03663438" alt="" /></span></strong></strong></span></span></span></span></span></p>
</div>
</div>
</blockquote>
<p> </p>
<div> </div>
</body></html>