<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:2.0cm 42.5pt 2.0cm 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="RU" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D">So, do I understand it right – I can’t get rid of additional layer for cinder volumes, if I want to use local storage?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">Regards,
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">IT engineer<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">Farheap, Russia<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D;mso-fareast-language:RU">Ivan Derbenev<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US" style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:RU">From:</span></b><span lang="EN-US" style="mso-fareast-language:RU"> Bob Ball [mailto:bob.ball@citrix.com]
<br>
<b>Sent:</b> Tuesday, July 14, 2015 12:34 PM<br>
<b>To:</b> Ivan Derbenev; openstack@lists.openstack.org<br>
<b>Subject:</b> RE: xenserver and cinder<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Hi Ivan,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">XenAPINFSDriver was primarily useful for pooled scenarios (which in turn relied on Nova aggregates) – however it’s not the easiest way to consume Cinder volumes.  The XenServer Nova integration supports
 BFV and volume attach for Cinder volumes presented over iSCSI, so however those are managed by Cinder is independent of how XenServer can consume them.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Even when using the deprecated XenAPINFSDriver, the storage had to be remote storage (i.e. provided to the host through an NFS server) so that does not let you use the hypervisor-local storage as
 block storage provisionable by Cinder and you would have needed a separate VM if you actually need your Cinder volumes to be provisioned from local storage.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D">Bob<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma",sans-serif;mso-fareast-language:EN-GB"> Ivan Derbenev
 [<a href="mailto:ivan.derbenev@tech-corps.com">mailto:ivan.derbenev@tech-corps.com</a>]
<br>
<b>Sent:</b> 13 July 2015 18:53<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] xenserver and cinder<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:10.5pt;margin-left:0cm;background:white">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">Hello, guys!<span class="apple-converted-space"> </span><br>
We are currently making an installation of XS6.5+OS Juno (maybe we'll switch to kilo)<span class="apple-converted-space"> </span><br>
We have 2 servers, controller has<span class="apple-converted-space"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;background:#F7F7F9">glance, nova and keystone</span></code><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">,
 and compute vms have only<span class="apple-converted-space"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;background:#F7F7F9">nova-compute</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B"> </span></span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">installed.<span class="apple-converted-space"> </span><br>
We use local storage on each server, not shared one (this is important)<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:10.5pt;margin-left:0cm;background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">We want to implement<span class="apple-converted-space"> </span></span><code><span lang="EN-US" style="font-size:9.0pt;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;background:#F7F7F9">cinder</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B"> </span></span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">service
 to manage volumes easily, but i can't understand how can we do it.</span><code><span lang="EN-US" style="font-size:9.0pt;color:#DD1144;border:solid #E1E1E8 1.0pt;padding:2.0pt;background:#F7F7F9">XenAPINFSDriver</span></code><span class="apple-converted-space"><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B"> </span></span><span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">is
 deprecated and isn't supported any more.<span class="apple-converted-space"> </span><br>
The only solution i found so far is to create storage VM, give it some space and use this space for cinder volumes, and then mount it in VMs as ISCSI targets.<span class="apple-converted-space"> </span><br>
And in the same time nova uses xenAPI to create and manage volumes when it creates instances.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:10.5pt;margin-left:0cm;background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">And what i want to make is to make cinder use Xenserver volumes both when nova creates VM and when i create volume with cinder.<span class="apple-converted-space"> </span><br>
Without second level of abstraction.<o:p></o:p></span></p>
<p style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:10.5pt;margin-left:0cm;background:white;orphans: auto;text-align:start;widows: 1;-webkit-text-stroke-width: 0px;word-spacing:0px">
<span lang="EN-US" style="font-size:10.5pt;font-family:"Arial",sans-serif;color:#4B4B4B">Can you tell me what are the best practices to use cinder for Xenservers with local storage?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:RU">Regards, <o:p>
</o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:RU">Ivan Derbenev<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>